Template:Navbox/doc
From WikiTemp, the GBAtemp wiki
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 doesn't show as there is no group for it. |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 doesn't show as there is no group for it. | |
bottom text |