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
 
(One intermediate revision by the same user not shown)
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) too.
This metatemplate is used in [[:Category:Photographer templates|photographer templates]] and can also be used for other non-performers (like directors) who have own categories with a suffix (mostly "models" or "actresses").


; Syntax
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>

Latest revision as of 23:00, 6 July 2008

This is a documentation subpage for Template:Catlink (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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