Jump to content

Template:Wikisource/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

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

[edit]

{{Wikisource|1=The Velveteen Rabbit|2=Name for The Velveteen Rabbit}}

produces

{{Wikisource|1=The Velveteen Rabbit#9|2=Name for The Velveteen Rabbit}}

produces


English only

[edit]

For foreign language Wikisources use:

{{Wikisourcelang|fr|Du contrat social}}

gives

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Wikisource in articles based on its TemplateData.

TemplateData for Wikisource

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

Template parameters

ParameterDescriptionTypeStatus
Page name1

The document name on Wikisource. The article's page name is used as a default. Square brackets <code>&#91;</code> and <code>&#93;</code> need to be coded as <code>&amp;#91;</code> and <code>&amp;#93;</code> instead.

Stringoptional
Displayed name2

Optional displayed link text.

Stringoptional

See also

[edit]