Template:CompLink: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
m (Always display PAGENAME)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{NAMESPACE}}
<includeonly><p>{{#switch:{{NAMESPACE}}
|User = This is {{PAGENAME}}'s user page. Also check out this person's [[{{PAGENAME}}|'''composer page''']].
|User = '''See also:''' {{PAGENAME}}'s [[{{{1|{{PAGENAME}}}}}|'''composer page''']].
| = This is {{PAGENAME}}'s composer page. Also check out this person's [[User:{{PAGENAME}}|'''user page''']].
|     = '''See also:''' {{PAGENAME}}'s [[User:{{{1|{{PAGENAME}}}}}|'''editor page''']].
|#default=<font color=red>This template is intended for use inside a composer or editor page only.</font>
|#default=<font color=red>This template is intended for use inside a composer or editor page only.</font>
}}<noinclude>
}}</p></includeonly><noinclude>
This template links from a composer page to his/her own user page and vice-versa.


[[Category:Templates]]
;Usage
 
*{{tl|CompLink}}
or with an optional parameter
*{{tl|CompLink|<composer name>}}
*{{tl|CompLink|<editor name>}}
 
Intended for use in Main and User namespaces only; if used in any other namespace, it displays the message:
{{CompLink}}
 
[[Category:Internal link templates]]
</noinclude>
</noinclude>

Latest revision as of 00:08, 3 September 2016

This template links from a composer page to his/her own user page and vice-versa.

Usage

or with an optional parameter

Intended for use in Main and User namespaces only; if used in any other namespace, it displays the message:

This template is intended for use inside a composer or editor page only.