Template:WikipediaLink2: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(new template for putting after excerpts from Wikipedia)
 
(italics, to better isolate from the text that comes before it.)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<small>[[wikipedia:{{PAGENAME}}|Click here for the rest of the Wikipedia article on {{PAGENAME}}]].</small><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
: ''The above is an excerpt from Wikipedia. For the full article,'' [[wikipedia:{{{1|{{PAGENAME}}}}}|click here]].<noinclude>
{{DisplayBox|title=Documentation|text=
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:'''
 
{{tl|WikipediaLink2}}
:which produces
{{WikipediaLink2}}
 
'''or:'''
 
{{tl|WikipediaLink2|William Smith (composer)}}
:which produces
{{WikipediaLink2|William Smith (composer)}}
}}
 
[[Category:External link templates]]</noinclude>

Latest revision as of 03:01, 4 August 2016

The above is an excerpt from Wikipedia. For the full article, click here.
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}}

which produces
The above is an excerpt from Wikipedia. For the full article, click here.

or:

{{WikipediaLink2|William Smith (composer)}}

which produces
The above is an excerpt from Wikipedia. For the full article, click here.