Template:Dev/uiccmd: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 15: Line 15:
-->{{#vardefine:PAGETYPE|{{#sub:{{PAGENAME}}|0|4}}}}<!-- CCMD
-->{{#vardefine:PAGETYPE|{{#sub:{{PAGENAME}}|0|4}}}}<!-- CCMD
-->{{#vardefine:CATEGORY|{{#ifeq:{{#var:PAGETYPE}}|CCMD|UI CCmd|development}}}}<!--
-->{{#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>&rarr; [[: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>&rarr; [[: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 20: 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>

Latest revision as of 16:00, 15 October 2023

Engine:Console commands

Use this at the top of all development pages. Any pages with this template will be added to 'Category:{NAMESPACE} UI CCmd'

Usage
  • 1 - page name of the associated child page
  • tocright [1,0] - disables or enables toc going right side. Default is '1'.
Template