Template:C/doc
Template page
More actions
- usage
- Template will display
{{{2}}}, or just the category name given as{{{1}}}. - If the category {{{1}}} does not exist no link will be generated;
- {{{1}}} or {{{2}}} will get background color when {{{3}}} = X
- else [[Category:{{{1}}}]] or [[Category:{{{2}}}]] is displayed.
code implemented as:
[[:Category:{{{1}}}|{{{2|{{{1}}}}}}]]
- example
- {{C|not-existing-cat}} produces not-existing-cat
- {{C|not-existing-cat|}} produces not-existing-cat
- {{C|not-existing-cat|display}} produces display
- {{C|not-existing-cat|3=X}} produces not-existing-cat
- {{C|not-existing-cat|display|X}} produces display