Template:Dev/uiaddon: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:


-->{{#vardefine:NAMESPACE|{{#var:NAMESPACE|{{NAMESPACE}}}}}}<!--
-->{{#vardefine:NAMESPACE|{{#var:NAMESPACE|{{NAMESPACE}}}}}}<!--
-->{{#vardefine:rootpage|{{#ifeq:{{#var:NAMESPACE}}|WildStar|UI AddOn|AddOn}}<!--


--><div style="float: right; margin-left: 2em; margin-bottom: 1em;">{{ {{#var:NAMESPACE}}/devnav}}
--><div style="float: right; margin-left: 2em; margin-bottom: 1em;">{{ {{#var:NAMESPACE}}/devnav}}
<div style="margin-left: 1em; margin-right: 1em<!--.5em-->;"><small>&rarr; [[:Category:{{#var:NAMESPACE}} UI AddOn|UI AddOn]]</small></div></div>{{#ifeq:{{{tocright|1}}}|0||<!--<div class="ws-compact" style="font-size:.93em; float:right;">{{tocright}}</div>-->{{tocright}}}}<!--
<div style="margin-left: 1em; margin-right: 1em<!--.5em-->;"><small>&rarr; [[:Category:{{#var:NAMESPACE}} UI AddOn|UI AddOn]]</small></div></div>{{#ifeq:{{{tocright|1}}}|0||<!--<div class="ws-compact" style="font-size:.93em; float:right;">{{tocright}}</div>-->{{tocright}}}}<!--


-->{{crumb|{{#var:NAMESPACE}}:{{#ifeq:{{#var:NAMESPACE}}|WildStar|UI AddOn|AddOn}}||{{{1|}}}}}<!--
-->{{crumb|{{#var:NAMESPACE}}:{{#var:rootpage}}||{{{1|}}}}}<!--


-->{{#ifeq:{{NAMESPACE}}|Template||[[Category:{{#var:NAMESPACE}} UI AddOn]]}}<!--
-->{{#ifeq:{{NAMESPACE}}|Template||[[Category:{{#var:NAMESPACE}} UI AddOn]]}}<!--


--></includeonly></onlyinclude>
--></includeonly></onlyinclude>

Revision as of 01:31, 13 August 2023

{{#vardefine:rootpage|AddOn

← [[WoW:]]

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'.
Template