ढाँचा:Wikisource/doc
This is a documentation subpage for ढाँचा:Wikisource. It contains usage information, categories and other content that is not part of the original ढाँचा 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 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
विकिस्रोत मी लेख सम्बन्धित असली सामग्रीअन रह्या: छ । |
Limitations
सम्पादन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
विकिस्रोत मी लेख सम्बन्धित असली सामग्रीअन रह्या: छ । |
English only
सम्पादनFor foreign language Wikisources use: {{Wikisourcelang}}
example: {{Wikisourcelang|fr|Du contrat social}} gives
French Wikisource has original text related to this article: |
TemplateData
सम्पादनTemplateData for Wikisource
Creates a small box with a links to a document at Wikisource.
मापदण्ड | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
Page name | 1 | The document name on Wikisource. The article's page name is used as a default. Square brackets <tt>[</tt> and <tt>]</tt> need to be coded as <tt>&#91;</tt> and <tt>&#93;</tt> instead. | String | वैकल्पिक |
Displayed name | 2 | Optional displayed link text. | String | वैकल्पिक |
See also
सम्पादन- {{Wikisource-inline}} inline version
- {{Wikisourcehas}} for allowing the including editor to choose the wording
- {{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}}
- {{Wikilivres}}