Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Wikisource/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
Move
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> {{High-use}} ==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. <code><nowiki>{{Wikisource|alternative page link|different name, if desired}}</nowiki></code> ==Examples== <code><nowiki>{{Wikisource|1=The Velveteen Rabbit|2=Name for The Velveteen Rabbit}}</nowiki></code> produces {{Wikisource|1=The Velveteen Rabbit|2=Name for The Velveteen Rabbit}} {{-}} <code><nowiki>{{Wikisource|1=The Velveteen Rabbit#9|2=Name for The Velveteen Rabbit}}</nowiki></code> produces {{Wikisource|1=The Velveteen Rabbit#9|2=Name for The Velveteen Rabbit}} {{-}} <!--==Limitations== ===Square brackets β [ ]=== You cannot use square brackets ("[" and "]") in the first parameter. <code><nowiki>{{Wikisource|1=Leaves of Grass/Book XVII#Year of Meteors [1859-60]|2=name for Leaves of Grass Year of Meteors [1859-60]}}</nowiki></code> produces {{Wikisource|Leaves of Grass/Book XVII#Year of Meteors [1859-60]|2=name for Leaves of Grass Year of Meteors [1859-60]}} {{-}} To resolve this, use <code><nowiki>&#91;</nowiki></code> and <code><nowiki>&#93;</nowiki></code> instead: <code><nowiki>{{Wikisource|1=Leaves of Grass/Book XVII#Year of Meteors &#91;1859-60&#93;|2=name for Leaves of Grass Year of Meteors [1859-60]}}</nowiki></code> produces {{Wikisource|Leaves of Grass/Book XVII#Year of Meteors [1859-60]|2=name for Leaves of Grass Year of Meteors [1859-60]}} {{-}}--> ===English only=== For foreign language Wikisources use: {{tlx|Wikisourcelang|fr|Du contrat social}} gives {{Wikisourcelang|fr|Du contrat social}} {{clear}} ==TemplateData== {{TemplateData header}} <templatedata>{ "description": "Creates a small box with a link to a document at Wikisource.", "params": { "1": { "label": "Page name", "description": "The document name on Wikisource. The article's page name is used as a default. Square brackets <code>[</code> and <code>]</code> need to be coded as <code>&#91;</code> and <code>&#93;</code> instead.", "type": "string", "required": false }, "2": { "label": "Displayed name", "description": "Optional displayed link text.", "type": "string", "required": false } }}</templatedata> ==See also== * {{tl|Wikisource-inline}} inline version * {{tl|Wikisourcehas}} for allowing the including editor to choose the wording * {{tl|Wikisource-multi}} for linking to multiple pages on Wikisource * {{tl|Wikisource author}} for linking to an author's pages in Wikisource * {{tl|Cite wikisource}} used to cite sources in Wikipedia * {{tl|Ws}} for a less complicated interface than {{tl|Cite wikisource}} * {{tl|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 ---- * {{tl|Copy to Wikisource}} <includeonly>{{Sandbox other|| <!-- CATEGORIES HERE, THANKS --> [[Category:Wikisource link templates|Wikisource]] }}</includeonly>
Summary:
Please note that all contributions to Ikwipedia are considered to be released under the Creative Commons Attribution-ShareAlike (see
Ikwipedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:-
(
edit
)
Template:Clear
(
edit
)
Template:Documentation subpage
(
edit
)
Template:High-use
(
edit
)
Template:ISO 639 name
(
edit
)
Template:Mbox
(
edit
)
Template:Plainlist/styles.css
(
edit
)
Template:Sandbox other
(
edit
)
Template:Side box
(
edit
)
Template:Sister project
(
edit
)
Template:Sister project/styles.css
(
edit
)
Template:Strong
(
edit
)
Template:TemplateData header
(
edit
)
Template:Template link
(
edit
)
Template:Template link expanded
(
edit
)
Template:Template other
(
edit
)
Template:Template parameter usage
(
edit
)
Template:Terminate sentence
(
edit
)
Template:Tl
(
edit
)
Template:Tlx
(
edit
)
Template:Wikisource
(
edit
)
Template:Wikisourcelang
(
edit
)
Template:Yesno
(
edit
)
Template:Yesno-no
(
edit
)
Module:Arguments
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:High-use
(
edit
)
Module:ISO 639 name
(
edit
)
Module:ISO 639 name/ISO 639-1
(
edit
)
Module:ISO 639 name/ISO 639-3 (dep)
(
edit
)
Module:ISO 639 name/ISO 639 deprecated
(
edit
)
Module:ISO 639 name/ISO 639 override
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Side box
(
edit
)
Module:Side box/styles.css
(
edit
)
Module:String
(
edit
)
Module:Template link general
(
edit
)
Module:Text
(
edit
)
Module:Text/data
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/W
(
edit
)
Module:Yesno
(
edit
)
Toggle limited content width