Template:Dev: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary Tag: Manual revert |
||
(25 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
[[Category: | [[Category:Development templates|{{PAGENAME}}]] | ||
---- | ---- | ||
;Template | ;Template | ||
Line 15: | Line 15: | ||
-->{{#vardefine:NAMESPACE|{{#var:NAMESPACE|{{NAMESPACE}}}}}}<!-- | -->{{#vardefine:NAMESPACE|{{#var:NAMESPACE|{{NAMESPACE}}}}}}<!-- | ||
-->{{# | -->{{#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}}/ | -->{{ {{#var:NAMESPACE}}/devnav}}<div style="margin-left:1em; margin-right:.5em;"><small>→ [[:Category:{{#var:NAMESPACE}} development|{{#var:NAMESPACE}} dev]]</small></div></div><!-- | ||
-->}}<!-- | -->}}}}<!-- | ||
-->{{#if:{{{1|}}}|{{ {{#var:NAMESPACE}}/{{{1}}}}}}}<!-- | -->{{#if:{{{1|}}}|{{ {{#var:NAMESPACE}}/{{{1}}}}}}}<!-- | ||
Line 24: | Line 24: | ||
-->{{#ifeq:{{{3|}}}|toc|{{tocright}}|__NOTOC__}}<!-- | -->{{#ifeq:{{{3|}}}|toc|{{tocright}}|__NOTOC__}}<!-- | ||
-->{{crumb|{{#var:NAMESPACE}}: | -->{{#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
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