Template:Cat-nav: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="boilerplate metadata" id="update" style="text-align: center; background: #EFEFFF; margin: .5em 10%; padding: 0 1em; border: #A3A3CC 1px solid;"> | <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 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}}}]]|}} | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude> | <noinclude> | ||
Line 8: | Line 8: | ||
NEW blue colours: #EFEFFF #A3A3CC | NEW blue colours: #EFEFFF #A3A3CC | ||
--> | --> | ||
==Examples== | |||
<tt><nowiki>{{cat-nav|Elements}}</nowiki></tt> | |||
{{cat-nav|Elements}} | |||
<tt><nowiki>{{cat-nav|Elements|Fantasy}}</nowiki></tt> | <tt><nowiki>{{cat-nav|Elements|Fantasy}}</nowiki></tt> | ||
{{cat-nav|Elements|Fantasy}} | |||
{{cat-nav| | {{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:Template]] | [[Category:Navigation Template]] | ||
</noinclude> | </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}}