Difference between revisions of "Template:CompLink"

From ChoralWiki
Jump to navigation Jump to search
m (removed newline)
(restrictions)
Line 1: Line 1:
<p>{{#switch:{{NAMESPACE}}
+
<includeonly><p>{{#switch:{{NAMESPACE}}
 
|User = '''See also:''' {{{1|{{PAGENAME}}}}}'s [[{{{1|{{PAGENAME}}}}}|'''composer page''']].
 
|User = '''See also:''' {{{1|{{PAGENAME}}}}}'s [[{{{1|{{PAGENAME}}}}}|'''composer page''']].
 
|    = '''See also:''' {{{1|{{PAGENAME}}}}}'s [[User:{{{1|{{PAGENAME}}}}}|'''user page''']].
 
|    = '''See also:''' {{{1|{{PAGENAME}}}}}'s [[User:{{{1|{{PAGENAME}}}}}|'''user 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><noinclude>
+
}}</p></includeonly><noinclude>
 
;Usage
 
;Usage
  
Line 10: Line 10:
 
*{{tl|CompLink|<composer name>}}
 
*{{tl|CompLink|<composer name>}}
 
*{{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:
 +
{{CompLink}}
  
 
[[Category:Internal link templates]]
 
[[Category:Internal link templates]]
 
</noinclude>
 
</noinclude>

Revision as of 12:21, 18 February 2013

Usage

or with an optional parameter

Intended for use in Main and User namespaces. If used in any other namespace, it displays the message:

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