Difference between revisions of "Template:CompLink"

From ChoralWiki
Jump to navigation Jump to search
m
m (Always display PAGENAME)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{NAMESPACE}}
+
<includeonly><p>{{#switch:{{NAMESPACE}}
|User = '''See also:''' {{PAGENAME}}'s [[{{PAGENAME}}|'''composer page''']].
+
|User = '''See also:''' {{PAGENAME}}'s [[{{{1|{{PAGENAME}}}}}|'''composer page''']].
|    = '''See also:''' {{PAGENAME}}'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.