Template:Catlink: Difference between revisions
Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(New page: <includeonly>{{#ifexist:Category:{{{1}}} {{{2}}}|[[:Category:{{{1}}} {{{2}}}|{{{1}}}]]|[[{{{1}}}]]}}</includeonly><noinclude> {{documentation}} </noinclude>) |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#ifexist:Category:{{{1}}} {{{2}}}|[[:Category:{{{1}}} {{{2}}}|{{{1}}}]]|[[{{{1}}}]]}}</includeonly><noinclude> | <includeonly>{{#ifexist:Category:{{{1}}} {{{2|models}}}|[[:Category:{{{1}}} {{{2|models}}}|{{{1}}}]]|[[{{{1}}}]]}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:40, 17 June 2008
[edit]
Template documentation
- This documentation is transcluded from Template:Catlink/doc. (edit | history)
Usage
This metatemplate is used in photographer templates and can also be used for other non-performers (like directors) who have own categories with a suffix (mostly "models" or "actresses").
If there is a category for the photographer, a link to the category is displayed, otherwise a simple link to the article is displayed.
- Examples
{{catlink|Suze Randall|models}}and{{catlink|Suze Randall}}both give "Suze Randall"
(linking to Category:Suze Randall models, because the category exists).
The second parameter is set to "models" by default and can be omitted.{{catlink|Russ Meyer|actresses}}gives "Russ Meyer"
(linking to Category:Russ Meyer actresses, because the category exists).{{catlink|Arkadia}}gives "Arkadia"
(linking simply to the page "Arkadia", because Category:Arkadia models does not exist).