Template:Dev/uicvar: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#vardefine:NAMESPACE|Engine}}{{ {{PAGENAME}}}} Use this at the top of all development pages. Any pages with this template will be added to 'Category:{NAMESPACE} UI CVar' ;Usage * 1 - page name of the associated child page * tocright [1,0] - disables or enables toc going right side. Default is '1'. {{PAGENAME}} {{PAGENAME}} ;Template <onlyinclude><includeonly><!-- -->{{#vardefine:NAMESPACE|{{#var:NA...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
-->{{#vardefine:NAMESPACE|{{#var:NAMESPACE|{{NAMESPACE}}}}}}<!-- | -->{{#vardefine:NAMESPACE|{{#var:NAMESPACE|{{NAMESPACE}}}}}}<!-- | ||
-->{{#vardefine:ROOTPAGE|Console commands}}<!-- | -->{{#vardefine:ROOTPAGE|{{#ifeq:{{#var:NAMESPACE}}|Engine|Console commands|Console variables}}}}<!-- | ||
-->{{#vardefine:CATEGORY|UI CVar}}<!-- | -->{{#vardefine:PAGETYPE|{{#sub:{{PAGENAME}}|0|4}}}}<!-- CCMD | ||
-->{{#vardefine:CATEGORY|{{#ifeq:{{#var:PAGETYPE}}|CVAR|UI CVar|development}}}}<!-- | |||
-->{{#vardefine:CATPAGE|{{#ifeq:{{#var:PAGETYPE}}|CVAR|{{#sub:{{PAGENAME}}|5}}|}}}}<!-- | |||
--><div style="float:right; margin-left:1em; margin-bottom:1em;">{{ {{#var:NAMESPACE}}/devnav}}<div style="margin-left:1em; margin-right:.5em"><small>→ [[:Category:{{#var:NAMESPACE}} {{#var:CATEGORY}}|{{#var:CATEGORY}}]]</small></div></div>{{#ifeq:{{{tocright|}}}|0||<div class="ws-compact" style="font-size:.93em; float:right;">{{tocright}}</div>}}<!-- | --><div style="float:right; margin-left:1em; margin-bottom:1em;">{{ {{#var:NAMESPACE}}/devnav}}<div style="margin-left:1em; margin-right:.5em"><small>→ [[:Category:{{#var:NAMESPACE}} {{#var:CATEGORY}}|{{#var:CATEGORY}}]]</small></div></div>{{#ifeq:{{{tocright|}}}|0||<div class="ws-compact" style="font-size:.93em; float:right;">{{tocright}}</div>}}<!-- | ||
Line 19: | Line 21: | ||
-->{{crumb|{{#var:NAMESPACE}}:{{#var:ROOTPAGE}}||{{{1|}}}}}<!-- | -->{{crumb|{{#var:NAMESPACE}}:{{#var:ROOTPAGE}}||{{{1|}}}}}<!-- | ||
-->{{#ifeq:{{NAMESPACE}}|Template||[[Category:{{#var:NAMESPACE}} {{#var:CATEGORY}}]]}}<!-- | -->{{#ifeq:{{NAMESPACE}}|Template||[[Category:{{#var:NAMESPACE}} {{#var:CATEGORY}}|{{#var:CATPAGE}}]]}}<!-- | ||
--></includeonly></onlyinclude> | --></includeonly></onlyinclude> |