ConfigPage – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Preparing for using it's own CSS class + adding another section.)
m (Re-including editsections with caveats covered by CSS class)
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1}}}}}
<includeonly>{{#switch:{{lc:{{{1}}}}}
|start=<div style{{=}}"float:right;margin-left:1em;" class{{=}}"nonumtoc"> __TOC__ </div><div class{{=}}"cfg_reference"> __NOEDITSECTION__
|start=<div style{{=}}"float:right;margin-left:1em;" class{{=}}"nonumtoc"> __TOC__ </div><div class{{=}}"cfg_reference">
{{Hatnote|{{#switch:{{PAGENAME}}
{{Hatnote|{{#switch:{{PAGENAME}}
     |CfgMagazines Config Reference='''See also''': [[CfgMoves Config Reference]], [[CfgWeapons Config Reference]], [[CfgAmmo Config Reference]] and [[CfgVehicles Config Reference]]
     |CfgMagazines Config Reference='''See also''': [[CfgMoves Config Reference]], [[CfgWeapons Config Reference]], [[CfgAmmo Config Reference]] and [[CfgVehicles Config Reference]]

Revision as of 23:47, 6 May 2014

Usage

Place {{Cfg ref|start}} at the very top of a Cfg* Config Reference page,

{{Cfg ref|abc}} above the first alphabetical entry (====A====),

and {{Cfg ref|end}} at the bottom, just above the Categories section.

This acts to dump all the required parts to form the page in a continuous fashion.