Template:Macro: Difference between revisions

665 bytes added ,  3 November 2013
m
no edit summary
(Created page with "<noinclude> ''Use this at the top of all macro information pages'' {{PAGENAME}} ---- </noinclude><div style="float: right; margin-left: 2em; margin-bottom: ...")
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>
Use this at the top of all macro information pages. See also {{t|Macronav}} for the actual navbox, to use on non-documentation pages.
''Use this at the top of all macro information pages''
 
[[Category:Macros|{{PAGENAME}}]]
'''Macro pages are considered to be primariliy non-developer pages for regular wow users, verbiage on those pages should refect this.'''
 
<!-- [ [Category:Navigation templates|{{PAGENAME}}] ] -->
----
----
;Template
<onlyinclude><!--
-->{{#vardefine:tTYPE|{{#sub:{{PAGENAME}}|0|5}}}}<!--  try to get the type, subtype and real name
-->{{#vardefine:tSTYPE|{{#sub:{{PAGENAME}}|6|4}}}}<!--
-->{{#vardefine:tNAME|{{#ifeq:{{#var:tTYPE}}|MACRO|{{#sub:{{PAGENAME}}|{{#switch:{{#var:tSTYPE}}|SOUN=11|#default=6}}|0}}|{{PAGENAME}}}}}}<!--


</noinclude><div style="float: right; margin-left: 2em; margin-bottom: 1em;">{{Macronav}}
--><div style="float:right; margin-left:2em; margin-bottom:1em;">{{Macronav|doc=1}}
<div style="margin-left: 1em; margin-right: 1em;"><small>&rarr; [[:Category:Macros|Macros]]</small></div>
<div style="margin-left:1em; margin-right:1em;"><small>&rarr; [[:Category:Macros|Macros]]</small></div>
<includeonly>[[Category:Macros]]</includeonly>
<includeonly>{{#if:{{{nosort|}}}||{{DEFAULTSORT:{{#var:tNAME}}}}}}[[Category:Macros]]</includeonly>
</div>
</div>{{tocright}}{{#ifeq:{{PAGENAME}}|Macro commands||&rarr; [[Macro commands]]}}</onlyinclude>
&rarr; [[Macro Reference]]