Difference between revisions of "Template:Navbox/doc"
From WikiTemp, the GBAtemp wiki
m |
|||
Line 30: | Line 30: | ||
|list3 = List can go before the group | |list3 = List can go before the group | ||
|group3 = Third? | |group3 = Third? | ||
− | |list5 = This | + | |list5 = This list has no group. |
− | |below = | + | |below = Bottom text}}</nowiki></pre> |
The text above produces: | The text above produces: | ||
Line 44: | Line 44: | ||
|list3 = List can go before the group | |list3 = List can go before the group | ||
|group3 = Third? | |group3 = Third? | ||
− | |list5 = This | + | |list5 = This list has no group. |
− | |below = | + | |below = Bottom text}} |
Revision as of 09:05, 6 December 2010
This is the documentation page of Template:Navbox. Please add the documentation for this Template below. |
This template is mainly to be used in Navigation templates. It is also possible to use it directly on a page though.
Parameters
- Title = Title of the box, the only part that will not be hidden.
- Collapse = Should the box collapse by default?
- Yes = Collapsed by default (default setting)
- No = Open by default
- Auto = Collapse if there are other NavBoxes on the page.
- Above = Text to appear on the top
- Group1 = Title of Group 1
- List1 = List of Group 1
- Group2 = Title of Group 2
- List2 = List of Group 2
- ...
- Group5 = Title of Group 5
- List5 = List of Group 5
- Below = Text to appear on the bottom
Example
{{NavBox |title = Click show on the right |collapse = auto |above = Top text |group1 = First |list1 = Test |group4 = Second? |list4 = No text here |list3 = List can go before the group |group3 = Third? |list5 = This list has no group. |below = Bottom text}}
The text above produces:
Click show on the right | |
---|---|
Top text | |
First | Test |
Third? | List can go before the group |
Second? | No text here |
This list has no group. | |
Bottom text |