Template:CompLink: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(oops, not necessary)
m (Always display PAGENAME)
 
Line 1: Line 1:
<includeonly><p>{{#switch:{{NAMESPACE}}
<includeonly><p>{{#switch:{{NAMESPACE}}
|User = '''See also:''' {{{1|{{PAGENAME}}}}}'s [[{{{1|{{PAGENAME}}}}}|'''composer page''']].
|User = '''See also:''' {{PAGENAME}}'s [[{{{1|{{PAGENAME}}}}}|'''composer page''']].
|    = '''See also:''' {{{1|{{PAGENAME}}}}}'s [[User:{{{1|{{PAGENAME}}}}}|'''editor 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>
}}</p></includeonly><noinclude>
}}</p></includeonly><noinclude>
This template links from a composer page to his/her own user page and vice-versa.
;Usage
;Usage


Line 11: Line 13:
*{{tl|CompLink|<editor name>}}
*{{tl|CompLink|<editor name>}}


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


[[Category:Internal link templates]]
[[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.