Difference between revisions of "Template:Catnav/doc"
(Added category, ZhMGP link and JaMGP link) |
|||
Line 1: | Line 1: | ||
+ | <includeonly>[[Category:Navigational templates]][[zh:Template:Catnav]][[ja:Template:Catnav]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||
== Instructions == | == Instructions == | ||
It is placed at the top of the category page to facilitate the creation of navigation links. | It is placed at the top of the category page to facilitate the creation of navigation links. | ||
Line 17: | Line 18: | ||
<div id="topicpath" title="catnav" style="border:1px outset #eef;padding:0.3em 0.6em;margin:0 0 0 0;background:#eef;clear:both;font-size:smaller;">[[:Category:Works|Works]] > … > [[:Category:Works from Japan|Works from Japan]] > School-Live!</div> | <div id="topicpath" title="catnav" style="border:1px outset #eef;padding:0.3em 0.6em;margin:0 0 0 0;background:#eef;clear:both;font-size:smaller;">[[:Category:Works|Works]] > … > [[:Category:Works from Japan|Works from Japan]] > School-Live!</div> | ||
A way to skip intermediate classifications. Not limited to "...", as long as it is not the correct category name, it will not be linked and the normal text will be displayed. | A way to skip intermediate classifications. Not limited to "...", as long as it is not the correct category name, it will not be linked and the normal text will be displayed. | ||
− | |||
− |
Revision as of 13:47, 3 March 2022
Instructions
It is placed at the top of the category page to facilitate the creation of navigation links.
For example, after entering the following way in Category:School-Live!:
{{catnav|Categories|Works|Works by country|Works from Japan}}
The above result will be displayed.
A maximum of 9 parameters can be added.
It can also be displayed this way:
{{catnav|Works|…|Works from Japan}}
Works > … > Works from Japan > School-Live!
A way to skip intermediate classifications. Not limited to "...", as long as it is not the correct category name, it will not be linked and the normal text will be displayed.