Difference between revisions of "Template:NoCo"
Jump to navigation
Jump to search
Usage
(streamlined version of NoComp (much better, probably)) |
(as discussed) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[{{{1}}} ({{{comp| | + | <includeonly>{{#if: {{#pos: {{BASEPAGENAME}}| ( }} |
+ | |[[{{{1}}} ({{{comp|{{CompFromWorkTitle|{{BASEPAGENAME}}}}}}})|{{{title|{{{2|{{{1}}}}}}}}}]] | ||
+ | |[[{{{1}}} ({{{comp|{{BASEPAGENAME}}}}})|''{{{title|{{{2|{{{1}}}}}}}}}'']]}}</includeonly><noinclude> | ||
+ | |||
+ | {{DisplayBox|title=Usage|text= | ||
− | |||
− | |||
− | |||
On a page whose title is '''ComposerName''' use: | On a page whose title is '''ComposerName''' use: | ||
<pre>{{NoCo|WorkPageTitle}}</pre> | <pre>{{NoCo|WorkPageTitle}}</pre> | ||
to produce a link to [[WorkPageTitle (ComposerName)]] that displays simply as | to produce a link to [[WorkPageTitle (ComposerName)]] that displays simply as | ||
− | : ''WorkPageTitle'' | + | : ''[[WorkPageTitle]]'' |
To provide an alternate display of the title, use: | To provide an alternate display of the title, use: | ||
<pre>{{NoCo|WorkPageTitle|AlternateTitle}}</pre> | <pre>{{NoCo|WorkPageTitle|AlternateTitle}}</pre> | ||
to produce the same link as above but with the displayed the link as | to produce the same link as above but with the displayed the link as | ||
− | : ''AlternateTitle'' | + | : ''[[AlternateTitle]]'' |
To specify the '''ComposerName''' (for instance on a different page), use: | To specify the '''ComposerName''' (for instance on a different page), use: | ||
<pre>{{NoCo|WorkPageTitle|comp=ComposerName}}</pre> | <pre>{{NoCo|WorkPageTitle|comp=ComposerName}}</pre> | ||
or | or | ||
− | <pre>{{NoCo|WorkPageTitle|AlternateTitle| | + | <pre>{{NoCo|WorkPageTitle|AlternateTitle|comp=ComposerName}}</pre> |
+ | }} | ||
+ | |||
+ | [[Category:Internal link templates]] | ||
</noinclude> | </noinclude> | ||
− |
Latest revision as of 00:46, 31 October 2016
On a page whose title is ComposerName use:
{{NoCo|WorkPageTitle}}
to produce a link to WorkPageTitle (ComposerName) that displays simply as
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
To specify the ComposerName (for instance on a different page), use:
{{NoCo|WorkPageTitle|comp=ComposerName}}
or
{{NoCo|WorkPageTitle|AlternateTitle|comp=ComposerName}}