Vorlage:C: Unterschied zwischen den Versionen

This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
 
K (Schützte „Vorlage:C“ ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt)))
(kein Unterschied)

Version vom 9. August 2015, 09:53 Uhr

[[:Category:{{{1}}}|{{{1}}}]]

Documentation icon Template documentation[view] [edit] [history] [purge]
{{|category name}}
{{|category name |link text}}
{{c|icon |category name}}
{{c|icon |category name |link text}}

Usage

Use {{c}} to create a namespace-free link to a category, i.e. Content rather than Category:Content:

{{c|Content}} produces: Content

To specify the text used for the link (e.g. "Content category" in place of "Content") add it as the next parameter:

{{c|Content|Content category}} produces: Content category

To prefix the link with the category icon (e.g. as seen in templates), set the first parameter as |icon:

{{c|icon|Content}} produces: Folder Hexagonal Icon.png Content
{{c|icon|Content|Content category}} produces: Folder Hexagonal Icon.png Content category

See also

  • {{cl}}, which produces the second type of link shown in the Usage section (Category:Content, i.e. including the namespace prefix).