Template:Dev/uiccmd: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
 
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}}|{{PAGENAME}}}}}}<!--
-->{{#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>}}<!--

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