Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Navbox/doc: Difference between revisions

Template page
Arin Mara (talk | contribs)
Wrote docs except for examples
Arin Mara (talk | contribs)
Created an example of a navbox
Line 1: Line 1:
{{Update|Ancient documentation. Poke Wiki Manager [[User:Arin Mara|Arin Mara]] ([[User talk:Arin Mara|talk]]) 19:44, 11 April 2022 (UTC).}}
;Description
;Description
:This template allows a [[:Category:Navigational templates|navigational template]] to be set up relatively quickly by supplying it one or more [[:Template:Flatlist|lists of links]].
:This template allows a [[:Category:Navigational templates|navigational template]] to be set up relatively quickly by supplying it one or more [[:Template:Flatlist|lists of links]].
Line 63: Line 62:
:: Optional text to appear below the group/list section.
:: Optional text to appear below the group/list section.
;Sample output
;Sample output
:<code><nowiki>{{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}</nowiki></code>
<pre>
{{Navbox
|name = {{subst:PAGENAME}}
|title = Navigational box title
|above = Text written below the title and above the link lists.
 
|group1 = Group One
|list1 = {{flatlist|
* [[EVE University]]
* [[EVE University Management]]
* [[EVE University Rules]]
}}
 
|group2 = Group Two
|list2 = {{flatlist|
# [[EVE University]]
# [[EVE University Management]]
# [[EVE University Rules]]
}}
 
|group20 = Group Twenty Test Test
|list20 = {{flatlist|
* [[EVE University]]
** [[EVE University Management]]
** [[EVE University Rules]]
}}
 
|below = Text written below the link lists.
}}
</pre>
::gives...
::gives...
{{templatename|foo1<!-- delete if N/A -->|foo2=<!-- delete if N/A -->}}
{{Navbox
|name = Navbox/doc
|title = Navigational box title
|above = Text written below the title and above the link lists.
 
|group1 = Group One
|list1 = {{flatlist|
* [[EVE University]]
* [[EVE University Management]]
* [[EVE University Rules]]
}}
 
|group2 = Group Two
|list2 = {{flatlist|
# [[EVE University]]
# [[EVE University Management]]
# [[EVE University Rules]]
}}
 
|group20 = Group Twenty
|list20 = {{flatlist|
* [[EVE University]]
** [[EVE University Management]]
** [[EVE University Rules]]
}}
 
|below = Text written below the link lists.
}}
;See also:
;See also:
:* [[Template:Flatlist]]
:* [[Template:Flatlist]]