Template:WikipediaLink2: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(add optional parameter which defaults to PAGENAME)
(added documentation)
Line 1: Line 1:
<small>[[wikipedia:{{{1|{{PAGENAME}}}}}|Click here for the rest of the Wikipedia article on {{{1|{{PAGENAME}}}}}]].</small><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
<small>[[wikipedia:{{{1|{{PAGENAME}}}}}|Click here for the rest of the Wikipedia article on {{{1|{{PAGENAME}}}}}]].</small><noinclude>
<div style="margin: 0; margin-right: 30px; margin-left: 30px; border: 1px solid #3399ff; padding: 1em 1em 1em 1em; background-color:#ddffdd">
<center><big>'''Documentation'''</big></center>
 
This template is used on composer and lyricist pages to output a link to the Wikipedia article for that individual after a short passage of the Wikipedia article has been copied verbatim into the CPDL page. It may simply be used without any variables or, if the spelling of the page title of the Wikipedia article differs from the CPDL page, a single variable should be used to specify the Wikipedia article title.
 
'''For example:''' <tt><nowiki>{{WikipediaLink2}}</nowiki></tt>
 
'''or:''' <tt><nowiki>{{WikipediaLink2|William Smith (composer)}}</nowiki></tt>
</div>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 12:19, 13 September 2008

Click here for the rest of the Wikipedia article on WikipediaLink2.

Documentation

This template is used on composer and lyricist pages to output a link to the Wikipedia article for that individual after a short passage of the Wikipedia article has been copied verbatim into the CPDL page. It may simply be used without any variables or, if the spelling of the page title of the Wikipedia article differs from the CPDL page, a single variable should be used to specify the Wikipedia article title.

For example: {{WikipediaLink2}}

or: {{WikipediaLink2|William Smith (composer)}}