• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Wikisource

  • Language
  • Watch
  • View source
(Redirected from Template:Wikisource full (name))
Wikisource has original text related to this article:
Wikisource
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 12,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

Contents

  • 1 Usage
  • 2 Examples
    • 2.1 English only
  • 3 TemplateData
  • 4 See also

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=The Velveteen Rabbit|2=Name for The Velveteen Rabbit}}

produces

Wikisource has original text related to this article:
Name for The Velveteen Rabbit

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

produces

Wikisource has original text related to this article:
Name for The Velveteen Rabbit


English only

For foreign language Wikisources use:

{{Wikisourcelang|fr|Du contrat social}}

gives

French Wikisource has original text related to this article:
Du contrat social

TemplateData

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

  • {{Wikisource-inline}} inline version
  • {{Wikisourcehas}} for allowing the including editor to choose the wording
  • {{Wikisource-multi}} for linking to multiple pages on Wikisource
  • {{Wikisource author}} for linking to an author's pages in Wikisource
  • {{Cite wikisource}} used to cite sources in Wikipedia
  • {{Ws}} for a less complicated interface than {{Cite wikisource}}
  • {{Wikisource redirect}} a specialized template for redirecting to Wikisource

  • Wikipedia:Sister projects for background and full usage information
  • Wikipedia:Template messages/Sister projects#Wikisource for full usage information

  • {{Copy to Wikisource}}
The above documentation is transcluded from Template:Wikisource/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Wikisource&oldid=1406660"
Last edited on 16 September 2024, at 02:42

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 16 September 2024, at 02:42.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop