Template:Cat-nav: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="boilerplate metadata" id="update" style="text-align: center; background: # | <includeonly><div class="boilerplate metadata" id="update" style="text-align: center; background: #EFEFFF; margin: .5em 10%; padding: 0 1em; border: #A3A3CC 1px solid;"> | ||
'''Categories Navigation''': ''[[Categories]]:[[Categories:{{{1}}}|{{{1}}}]]{{#if: {{{2|}}}|:[[Categories:{{{1}}}:{{{2}}}|{{{2}}}]]|}}{{#if: {{{3|}}}|:[[Categories:{{{1}}}:{{{2}}}:{{{3}}}|{{{3}}}]]|}}{{#if: {{{4|}}}|:[[Categories:{{{1}}}:{{{2}}}:{{{3}}}:{{{4}}}|{{{4}}}]]|}} | |||
'''Categories | |||
{{if: {{{2|}}}| | |||
{{if: {{{3|}}}|:[[Categories:{{{1}}}:{{{2}}}:{{{3}}}|{{{ | |||
</div></includeonly> | </div></includeonly> | ||
<noinclude>[[Category:Template]]</noinclude> | <noinclude> | ||
<!-- background frame | |||
OLD green colorus: #EFFFEF #9FFF9F (IMO too "flashy", a more neutral colour would be better) | |||
NEW grey colours: #F9F9F9 #AAAAAA (like TOC, looks quite elegant) | |||
NEW blue colours: #EFEFFF #A3A3CC | |||
--> | |||
==Examples== | |||
<tt><nowiki>{{cat-nav|Elements}}</nowiki></tt> | |||
{{cat-nav|Elements}} | |||
<tt><nowiki>{{cat-nav|Elements|Fantasy}}</nowiki></tt> | |||
{{cat-nav|Elements|Fantasy}} | |||
{{eyecatch|Note|Up to 4 category levels can be set via <tt>cat-nav</tt>, but only the first two levels are actually used in the wiki.}} | |||
<tt><nowiki>{{cat-nav|Setting|Place|Europe}}</nowiki></tt> | |||
{{cat-nav|Setting|Place|Europe}} | |||
<tt><nowiki>{{cat-nav|Setting|Place|Europe|United Kingdom}}</nowiki></tt> | |||
{{cat-nav|Setting|Place|Europe|United Kingdom}} | |||
[[Category:Navigation Template]] | |||
</noinclude> |
Latest revision as of 18:26, 6 May 2009
Examples
{{cat-nav|Elements}}
{{cat-nav|Elements|Fantasy}}
Note | Up to 4 category levels can be set via cat-nav, but only the first two levels are actually used in the wiki. |
{{cat-nav|Setting|Place|Europe}}
{{cat-nav|Setting|Place|Europe|United Kingdom}}