Template:Catlink/doc: Difference between revisions
Boobpedia - Encyclopedia of big boobs
Jump to navigationJump to search
(New page: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This metatemplate is used in [[:Category:Photographer templates|photograph...) |
No edit summary |
||
| Line 3: | Line 3: | ||
=== Usage === | === Usage === | ||
This metatemplate is used in [[:Category:Photographer templates|photographer templates]] and can be used for other non-performers (like directors) | This metatemplate is used in [[:Category:Photographer templates|photographer templates]] and can also be used for other non-performers (like directors). | ||
; | 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: | |||
* <code><nowiki>{{catlink|Suze Randall|models}}</nowiki></code> and <code><nowiki>{{catlink|Suze Randall}}</nowiki></code> both give "{{catlink|Suze Randall}}"<br/>(linking to {{cl|Suze Randall models}}, because the category exists).<br/>The second parameter is set to "models" by default and can be omitted. | |||
* <code><nowiki>{{catlink|Russ Meyer|actresses}}</nowiki></code> gives "{{catlink|Russ Meyer|actresses}}"<br/>(linking to {{cl|Russ Meyer actresses}}, because the category exists). | |||
* <code><nowiki>{{catlink|Arkadia}}</nowiki></code> gives "{{catlink|Arkadia}}"<br/>(linking simply to the page "Arkadia", because {{cl|Arkadia models}} does not exist). | |||
<includeonly> | <includeonly> | ||
Revision as of 16:50, 17 June 2008
Usage
This metatemplate is used in photographer templates and can also be used for other non-performers (like directors).
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).