Template:CatLink: Difference between revisions
From A KoL Wiki
imported>Fig bucket m Template:Cl moved to Template:CatLink: free up for more consistent naming of ceil and floor templates |
imported>Fig bucket m change Cl to CatLink |
||
Line 2: | Line 2: | ||
{{Code2}} | {{Code2}} | ||
== Usage == | == Usage == | ||
The '''Category link ( | The '''Category link (CatLink)''' template is used to display a category name as a link to the category, without including that page into the category. | ||
'''Example:''' | '''Example:''' | ||
:'''<nowiki>{{ | :'''<nowiki>{{CatLink|Administration}}</nowiki>''' | ||
displays as | displays as | ||
:{{ | :{{CatLink|Administration}} | ||
[[Category:Templates|Cl]]</noinclude> | [[Category:Templates|Cl]]</noinclude> |
Revision as of 23:01, 16 August 2010
[edit]
{{CatLink}}
<nowiki>[[</nowiki>{{#ifexist:Category:{{{1}}}|[[:Category:{{{1}}}|Category:{{{1}}}]]|'''{{{1}}}'''}}<nowiki>]]</nowiki>
Usage
The Category link (CatLink) template is used to display a category name as a link to the category, without including that page into the category.
Example:
- {{CatLink|Administration}}
displays as