Template:Wikisource/doc
This is a documentation subpage for Template:Wikisource. It contains usage information, categories and other content that is not part of the original template page. |
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 has original text related to this article: |
{{Wikisource|1=Leaves_of_Grass/Book_XVII#To You|2=name for Leaves of Grass To You}}
produces
Wikisource has original text related to this article: |
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
Wikisource has original text related to this article:
[[:wikisource:Leaves_of_Grass/Book_XVII#Year of Meteors [1859-60]|name for Leaves of Grass Year of Meteors [1859-60]]] |
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
Wikisource has original text related to this article: |
See also
- 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