Template:Dev/uiccmd: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#vardefine:NAMESPACE|WoW}}{{ {{PAGENAME}}}} Use this at the top of all UI Customization AddOn information pages. Any pages with this template will be added to 'Category:{NAMESPACE} UI AddOn ;Usage * 1 - page name of the associated child page * tocright [1,0] - disables or enables toc going right side. Default is '1'. {{PAGENAME}} {{PAGENAME}} Category:Development templates|{{PAGENAME}}...") |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:NAMESPACE| | {{#vardefine:NAMESPACE|Engine}}{{ {{PAGENAME}}}} | ||
Use this at the top of all | Use this at the top of all development pages. Any pages with this template will be added to 'Category:{NAMESPACE} UI CCmd' | ||
;Usage | ;Usage | ||
Line 6: | Line 6: | ||
* tocright [1,0] - disables or enables toc going right side. Default is '1'. | * tocright [1,0] - disables or enables toc going right side. Default is '1'. | ||
[[Category:Navigation templates|{{PAGENAME}}]] | [[Category:Navigation templates|{{PAGENAME}}]] | ||
[[Category:Development templates|{{PAGENAME}}]] | [[Category:Development templates|{{PAGENAME}}]] | ||
Line 13: | Line 12: | ||
-->{{#vardefine:NAMESPACE|{{#var:NAMESPACE|{{NAMESPACE}}}}}}<!-- | -->{{#vardefine:NAMESPACE|{{#var:NAMESPACE|{{NAMESPACE}}}}}}<!-- | ||
-->{{#vardefine:ROOTPAGE|{{#ifeq:{{#var: | -->{{#vardefine:ROOTPAGE|Console commands}}<!-- | ||
-->{{#vardefine:PAGETYPE|{{#sub:{{PAGENAME}}|0|4}}}}<!-- CCMD | |||
-->{{#vardefine:CATEGORY|{{#ifeq:{{#var:PAGETYPE}}|CCMD|UI CCmd|development}}}}<!-- | |||
-->{{#vardefine:CATPAGE|{{#ifeq:{{#var:PAGETYPE}}|CCMD|{{#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}} | --><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>}}<!-- | ||
-->{{crumb|{{#var:NAMESPACE}}:{{#var:ROOTPAGE}}||{{{1|}}}}}<!-- | -->{{crumb|{{#var:NAMESPACE}}:{{#var:ROOTPAGE}}||{{{1|}}}}}<!-- | ||
-->{{#ifeq:{{NAMESPACE}}|Template||[[Category:{{#var:NAMESPACE}} | -->{{#ifeq:{{NAMESPACE}}|Template||[[Category:{{#var:NAMESPACE}} {{#var:CATEGORY}}|{{#var:CATPAGE}}]]}}<!-- | ||
--></includeonly></onlyinclude> | --></includeonly></onlyinclude> |