Jump to content

Template:Wikisource: Difference between revisions

From The Austrian Economics Wiki, the global repository of classical-liberal thought
fix template
updated
 
Line 1: Line 1:
<div class="noprint sidebox" style="width: 250px;">
{{sister
<div style="margin-left: 40px;">[[wikisource:en:Main_Page|Wikisource]] has works related to:
| position = {{{position|}}}
<span style="margin-left: 10px;">'''''[[wikisource:en:{{ucfirst:{{{1|{{PAGENAMEE}}}}}}}|{{ucfirst:{{{2|{{{1|{{PAGENAME}}}}}}}}}}]]'''''.</span>
| project  = wikisource
</div>
| text    =  
</div><noinclude>
[[Wikisource]] has original text related to this article:
[[Category:Link templates|{{PAGENAME}}]]
<div style="margin-left: 10px;">'''''{{sec link auto|wikisource|{{{1|Special:Search/{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}}}'''''</div>
}}<noinclude>
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 05:12, 28 June 2011

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

The default behaviour of this template is to present a string "Wikisource has original text related to this article:" with a link to a page on Wikisource with the same name as the Wikipedia page.

This template takes up to two optional parameters which will alter the page name used to link to Wikisouce.

  • {{Wikisource|alternative page link|different name, if desired}}

Examples

{{Wikisource|1=Leaves_of_Grass/Book_XVII|2=name for Leaves_of_Grass}}

produces


{{Wikisource|1=Leaves_of_Grass/Book_XVII#To You|2=name for Leaves of Grass To You}}

produces



Limitation [] - square brackets

  • You can not use square brackets ("[" and "]") in the first parameter

{{Wikisource|1=Leaves_of_Grass/Book_XVII#Year of Meteors [1859-60]|2=name for Leaves of Grass Year of Meteors [1859-60]}}

produces


To resolve this use &#91; and &#93; : {{Wikisource|1=Leaves_of_Grass/Book_XVII#Year of Meteors &#91;1859-60&#93;|2=name for Leaves of Grass Year of Meteors [1859-60]}}

produces



See also