Permanently protected template

Template:Wikisource

From Wikipedia, the free encyclopedia
Jump to: navigation, search
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 Wikisource.

  • {{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 cannot 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 "]" instead:
{{Wikisource|1=Leaves of Grass/Book XVII#Year of Meteors [1859-60]|2=name for Leaves of Grass Year of Meteors [1859-60]}}

produces


Template data

Creates a small box with a links to a document at Wikisource.

Template parameters
Parameter Description Type Status
Page name 1

The document name on commons. The article's page name is used as a default. Square brackets [ and ] need to be coded as [ and ].

Default
empty
Example
empty
Auto value
empty
string optional
Displayed name 2

Optional displayed link text.

Default
empty
Example
empty
Auto value
empty
string optional

See also