Template:Wikisource/doc
This is a documentation subpage for Template:Wikisource. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
editThe 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 Wikisource.
- {{Wikisource|alternative page link|different name, if desired}}
Examples
edit{{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
edit- 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 [ and ] : {{Wikisource|1=Leaves_of_Grass/Book_XVII#Year of Meteors [1859-60]|2=name for Leaves of Grass Year of Meteors [1859-60]}}
produces
See also
edit- Wikipedia:Sister projects for full usage information
- Wikipedia:Template messages/Sister projects#Wikisource for full usage information
- Wikipedia:Sister projects for background
- {{Wikisourcelang}} for linking to a foreign language wikisource page
- {{Wikisourcehas}} for allowing the including editor to choose the wording
- {{Wikisource author}} for linking to an author's pages in wikisource