Difference between revisions of "Template:Navbox"
Jump to navigation
Jump to search
m (Test) |
m (Added Documentation) |
||
Line 2: | Line 2: | ||
<table cellspacing="0" class="nowraplinks ;;"> | <table cellspacing="0" class="nowraplinks ;;"> | ||
<tr><th style="text-align:center; padding-left:1em; padding-right:1em; background:#ccccff; background:#ddddff;;{{{titlestyle|}}}" colspan=3> | <tr><th style="text-align:center; padding-left:1em; padding-right:1em; background:#ccccff; background:#ddddff;;{{{titlestyle|}}}" colspan=3> | ||
− | <div style="float:left; width:6em;text-align:left;">{{if|test={{{nav|}}}|then={{ | + | <div style="float:left; width:6em;text-align:left;">{{if|test={{{nav|}}}|then={{tnavbar}}|else= }}</div> |
<span style="font-size:110%;">{{{title|}}}</span> | <span style="font-size:110%;">{{{title|}}}</span> | ||
</th></tr> | </th></tr> | ||
Line 13: | Line 13: | ||
<div style="padding:0em 0.25em">{{{list1|}}}</div> | <div style="padding:0em 0.25em">{{{list1|}}}</div> | ||
</td> | </td> | ||
− | <td style="width:0%;padding:0px 0px 0px 2px;" rowspan= | + | <td style="width:0%;padding:0px 0px 0px 2px;" rowspan=21>{{{image|}}}</td> |
</tr> | </tr> | ||
<!-----Remaining groups/lists-----> | <!-----Remaining groups/lists-----> | ||
Line 79: | Line 79: | ||
This template has been edited to use pure-wiki code, and not requiring any specific extension found on Wikipedia. | This template has been edited to use pure-wiki code, and not requiring any specific extension found on Wikipedia. | ||
− | It has also been heavily simplified. Expand with more parameters if you (really) want to. | + | It has also been heavily simplified. Expand with more parameters if you (really) want to. |
{{Navbox | {{Navbox | ||
− | |||
|title=[[Movement]] | |title=[[Movement]] | ||
|group1=[[Movement]] | |group1=[[Movement]] | ||
Line 88: | Line 87: | ||
}} | }} | ||
− | </noinclude> | + | <pre> |
+ | {{Navbox | ||
+ | |title=[[Movement]] | ||
+ | |group1=[[Movement]] | ||
+ | |list1=[[WaveSurfing]]{{dot}}[[PatternMovement]]{{dot}}[[CornerMovement]] | ||
+ | }}</pre> | ||
+ | |||
+ | Other parameters are: | ||
+ | * <tt>|nav=1</tt> (Set if you want to include {{tl|tnavbar}} to the left of the title) | ||
+ | * <tt>|abovetext=</tt> (Additional text below title but above groups) | ||
+ | * <tt>|belowtext=</tt> (Additional text below groups) | ||
+ | * <tt>|image=</tt> (Image to the right of the groups) | ||
+ | * <tt>|groupstyle=</tt> (Customizable the style of the groupboxen) | ||
+ | * <tt>|titlestyle=</tt> (Customizable the style of the titlebox) | ||
+ | |||
+ | See [[wikipedia:Template:Navbox]] for examples. | ||
+ | |||
+ | [[Category:Wikipedia Templates]]</noinclude> |
Revision as of 05:07, 21 September 2008
|
This template is not the same as wikipedia:Template:Navbox, even though the use is similar.
This template has been edited to use pure-wiki code, and not requiring any specific extension found on Wikipedia.
It has also been heavily simplified. Expand with more parameters if you (really) want to.
|
{{Navbox |title=[[Movement]] |group1=[[Movement]] |list1=[[WaveSurfing]]{{dot}}[[PatternMovement]]{{dot}}[[CornerMovement]] }}
Other parameters are:
- |nav=1 (Set if you want to include {{tnavbar}} to the left of the title)
- |abovetext= (Additional text below title but above groups)
- |belowtext= (Additional text below groups)
- |image= (Image to the right of the groups)
- |groupstyle= (Customizable the style of the groupboxen)
- |titlestyle= (Customizable the style of the titlebox)
See wikipedia:Template:Navbox for examples.