Template:Dev: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Created page with "{{#vardefine:NAMESPACE|WoW}}{{ {{PAGENAME}}}} For use at the top of all runtime specific development or reference pages. Any pages with this template will be added to 'Category:{NAMESPACE} development'. Usage: * 1 [othernav|] - where 'othernav' is the name of a secondary nav bar, like 'macronav' * 2 [nonav|] - disable primary nav bar * 3 [toc|] - enable toc {{PAGENAME}} ---- ;Template <onlyinclude><includeonly><!-- -->{{#...")
 
No edit summary
Tag: Manual revert
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#vardefine:NAMESPACE|WoW}}{{ {{PAGENAME}}}}
{{#vardefine:NAMESPACE|WoW}}{{ {{PAGENAME}}|||toc}}
For use at the top of all runtime specific development or reference pages. Any pages with this template will be added to 'Category:{NAMESPACE} development'.
For use at the top of all runtime specific development or reference pages. Any pages with this template will be added to 'Category:{NAMESPACE} development'.


Line 8: Line 8:




[[Category:WildStar development templates|{{PAGENAME}}]]
[[Category:Development templates|{{PAGENAME}}]]
----
----
;Template
;Template
Line 15: Line 15:
-->{{#vardefine:NAMESPACE|{{#var:NAMESPACE|{{NAMESPACE}}}}}}<!--
-->{{#vardefine:NAMESPACE|{{#var:NAMESPACE|{{NAMESPACE}}}}}}<!--


-->{{#if:{{{2|}}}|<!--
-->{{#ifeq:{{{2|}}}|nonav||{{#if:{{#var:NAMESPACE}}|<!--
--><div style="float:right; margin-left:1em; margin-bottom:1em;"><!--
--><div style="float:right; margin-left:1em; margin-bottom:1em;"><!--
-->{{ {{#var:NAMESPACE}}/uinav}}<div style="margin-left:1em; margin-right:.5em;"><small>&rarr; [[:Category:WildStar development|WildStar dev]]</small></div></div><!--
-->{{ {{#var:NAMESPACE}}/devnav}}<div style="margin-left:1em; margin-right:.5em;"><small>&rarr; [[:Category:{{#var:NAMESPACE}} development|{{#var:NAMESPACE}} dev]]</small></div></div><!--
-->}}<!--
-->}}}}<!--


-->{{#if:{{{1|}}}|{{ {{#var:NAMESPACE}}/{{{1}}}}}}}<!--
-->{{#if:{{{1|}}}|{{ {{#var:NAMESPACE}}/{{{1}}}}}}}<!--


-->{{#ifeq:{{{3|}}}|notoc|__NOTOC__|{{tocright}}}}<!--
-->{{#ifeq:{{{3|}}}|toc|{{tocright}}|__NOTOC__}}<!--


-->{{crumb|{{#var:NAMESPACE}}:development|{{#var:NAMESPACE}} development}}<!--
-->{{#if:{{#var:NAMESPACE}}|<!--
-->{{crumb|{{#var:NAMESPACE}}:Development|{{#var:NAMESPACE}} development}}<!--
-->}}<!--


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


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

Latest revision as of 01:51, 13 August 2023

WoW development

For use at the top of all runtime specific development or reference pages. Any pages with this template will be added to 'Category:{NAMESPACE} development'.

Usage:

  • 1 [othernav|] - where 'othernav' is the name of a secondary nav bar, like 'macronav'
  • 2 [nonav|] - disable primary nav bar
  • 3 [toc|] - enable toc

Template