Difference between revisions of "Template:Navbox"
Jump to navigation
Jump to search
(Adding missing colspan) |
m |
||
Line 1: | Line 1: | ||
{| class="mw-collapsible {{#if:{{{collapsed|}}} | mw-collapsed |}} navbox" | {| class="mw-collapsible {{#if:{{{collapsed|}}} | mw-collapsed |}} navbox" | ||
|- | |- | ||
− | ! colspan=2 {{#if:{{{templatename|}}}|<span class="controls">[[Template:{{{templatename}}}|v]] · [[Template talk:{{{templatename}}}|d]] · <span class="plainlinks">[{{fullurl:Template:{{{templatename}}}|action=edit}} e]</span></span>|}}{{{title}}} | + | ! colspan=2 | {{#if:{{{templatename|}}}|<span class="controls">[[Template:{{{templatename}}}|v]] · [[Template talk:{{{templatename}}}|d]] · <span class="plainlinks">[{{fullurl:Template:{{{templatename}}}|action=edit}} e]</span></span>|}}{{{title}}} |
|- | |- | ||
{{#if:{{{group1|}}} | | {{#if:{{{group1|}}} | |
Revision as of 09:24, 31 July 2013
{{{title}}} |
---|
Usage
This template creates a navigation box, same as the ones on other wikis. This template should not be used directly on pages, but it should be used to create other templates. These are linked on pages to prevent redundancy.
Syntax:
{{Navbox | templatename = Maps navbox //This is the name of the sub-template page you'll be creating, without the Template: prefix. | collapsed = true //Omitting this parameter completely will leave the navbox uncollapsed. | title = [[Maplist|<span style="color: #fff">List of maps played in competitive TF2</span>]] | group1 = [[5CP]] | list1 = [[cp_badlands|Badlands]] · [[cp_granary|Granary]] ... }}
will yield
v · d · eList of maps played in competitive TF2 | |
---|---|
5CP | Badlands · Granary |