Template:WoW/usermacro: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
''Use this at the top of all [[User defined macros]] information pages (not WoW API or Widget pages!).'' Any pages with this template will be added to [[:Category:User defined macros]] and [[:Category:Snippets]]. | |||
[[Category:Interface customization templates|{{PAGENAME}}]] | [[Category:Interface customization templates|{{PAGENAME}}]] | ||
---- | ---- | ||
;Template | |||
<onlyinclude><div style="float:right; margin-left:2em; margin-bottom:1em;">{{macronav|doc=1}}</div><!-- | |||
</ | --><div style="float:right; clear:right; margin-left:2em; margin-bottom:1em;">{{apinav}} | ||
}} | {{#vardefine:tTYPE|{{#sub:{{PAGENAME}}|0|9}}}}{{#vardefine:tNAME|{{#ifeq:{{#var:tTYPE|}}|USERMACRO|{{#sub:{{PAGENAME}}|10|0}}|{{PAGENAME}}}}}} | ||
<div style="margin-left: 1em; margin-right: 1em;"><small>→ [[:Category:User defined macros|User Macro]]</small></div></div><includeonly>{{#ifeq:{{PAGENAME}}|User defined macros|[[Category:UI Snippets]]|}}[[Category:User defined macros]][[Category:Snippets]]{{#if:{{{nosort|}}}||{{#ifeq:{{#var:tTYPE}}|USERMACRO|{{DEFAULTSORT:{{#var:tNAME}}}}|}}}}</includeonly>{{#ifeq:{{#var:tTYPE}}|USERMACRO|__NOTOC__|{{tocright}}}}← {{#ifeq:{{PAGENAME}}|User defined macros|[[User defined functions|Snippets]]|[[User defined macros]]{{#ifeq:{{#var:tTYPE}}|USERMACRO| < [[User defined macros#{{#var:tNAME}}|{{#var:tNAME}}]]}}}}</onlyinclude> |
Latest revision as of 19:06, 3 November 2013
Use this at the top of all User defined macros information pages (not WoW API or Widget pages!). Any pages with this template will be added to Category:User defined macros and Category:Snippets.
- Template