ConfigPage – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix Hatnote usage) |
Lou Montana (talk | contribs) m (Add Template:Doc/Template usage) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{1}}}}} | <includeonly>{{#switch:{{lc:{{{1}}}}} | ||
|start= | |start= {{TOC|side|1||nonum}}<div class{{=}}"cfg_reference"> | ||
{{#switch:{{PAGENAME}} | {{#switch:{{PAGENAME}} | ||
|CfgMagazines Config Reference={{Hatnote|'''See also''': [[CfgMoves Config Reference]], [[CfgWeapons Config Reference]], [[CfgAmmo Config Reference]] and [[CfgVehicles Config Reference]]}} | |CfgMagazines Config Reference={{Hatnote|'''See also''': [[CfgMoves Config Reference]], [[CfgWeapons Config Reference]], [[CfgAmmo Config Reference]] and [[CfgVehicles Config Reference]]}} | ||
Line 9: | Line 9: | ||
|CfgVehicles Config Reference={{Hatnote|'''See also''': [[CfgMagazines Config Reference]], [[CfgMoves Config Reference]], [[CfgWeapons Config Reference]] and [[CfgAmmo Config Reference]]}} | |CfgVehicles Config Reference={{Hatnote|'''See also''': [[CfgMagazines Config Reference]], [[CfgMoves Config Reference]], [[CfgWeapons Config Reference]] and [[CfgAmmo Config Reference]]}} | ||
}} | }} | ||
|abc=<div class{{=}}"abc"> | |abc= <div class{{=}}"abc"> | ||
|end=</div></div>}}</includeonly><noinclude> | |end= </div></div>}}</includeonly><noinclude>{{Doc/Template | ||
=== | |descr= This template in (all) three (mandatory) parts creates and styles a config page. | ||
|param1= type | |||
|descr1= (case-insensitive) can be one of: | |||
** start - to be placed at the very top of a Cfg page | |||
** abc - to be placed '''above''' the first alphabetical entry (<tt>==== A ====</tt>) | |||
** end - to be placed at the bottom of the page, just above categories | |||
}} | |||
</noinclude> | |||
Revision as of 23:21, 7 February 2021
This template in (all) three (mandatory) parts creates and styles a config page.
This template is used on these pages.
Usage
{{ConfigPage|type}}
- type: (case-insensitive) can be one of:
- start - to be placed at the very top of a Cfg page
- abc - to be placed above the first alphabetical entry (==== A ====)
- end - to be placed at the bottom of the page, just above categories