Difference between revisions of "Template:Cat"
Jump to navigation
Jump to search
(Created page.) |
|||
Line 1: | Line 1: | ||
<includeonly>[[:Category:{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]</includeonly><noinclude>{{documentation}}</noinclude> | <includeonly>[[:Category:{{#ifeq:{{{s|}}}|no|{{{1}}}|{{{1}}}s}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 22:08, 6 September 2013
Documentation for {{cat}}
Use
For linking to categories.
Usage
- Example 1
Input:
{{cat|animal}}
Output:
[[:Category:Animals|animal]]
- Example 2
Input:
{{cat|animal|living thing}}
Output:
[[:Category:Animals|living thing]]
- Example 3
Input:
{{cat|religion|faith|s=no}}
Output:
[[:Category:Religion|faith]]
- Example 4
Input:
{{cat|cit||y}}
Output:
[[:Category:Cities|city]]
- Example 5
Input:
{{cat|societ||ies}}
Output:
[[:Category:Society|societies]]