Template:NoCo: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
m (typo in documentation)
Line 1: Line 1:
[[{{{1}}} ({{{comp|<includeonly>{{PAGENAME}}</includeonly>}}})|''{{{title|{{{2|{{{1}}}}}}}}}'']]<noinclude>
[[{{{1}}} ({{{comp|<includeonly>{{PAGENAME}}</includeonly>}}})|''{{{title|{{{2|{{{1}}}}}}}}}'']]<noinclude>


[[Category:Templates|{{PAGENAME}}]]
{{DisplayBox|title=Usage|text=
{{DisplayBox|text=
 
<h3>Usage:</h3>
On a page whose title is '''ComposerName''' use:
On a page whose title is '''ComposerName''' use:
<pre>{{NoCo|WorkPageTitle}}</pre>
<pre>{{NoCo|WorkPageTitle}}</pre>
Line 17: Line 16:
<pre>{{NoCo|WorkPageTitle|AlternateTitle|comp=ComposerName}}</pre>
<pre>{{NoCo|WorkPageTitle|AlternateTitle|comp=ComposerName}}</pre>
}}
}}
[[Category:Internal link templates]]
</noinclude>
</noinclude>

Revision as of 00:34, 25 May 2014

[[{{{1}}} ()|{{{1}}}]]


Usage

On a page whose title is ComposerName use:

{{NoCo|WorkPageTitle}}

to produce a link to WorkPageTitle (ComposerName) that displays simply as

WorkPageTitle

To provide an alternate display of the title, use:

{{NoCo|WorkPageTitle|AlternateTitle}}

to produce the same link as above but with the displayed the link as

AlternateTitle

To specify the ComposerName (for instance on a different page), use:

{{NoCo|WorkPageTitle|comp=ComposerName}}

or

{{NoCo|WorkPageTitle|AlternateTitle|comp=ComposerName}}