साँचा:विकिस्रोत

मुक्त ज्ञानकोश विकिपीडिया से
Jump to navigation Jump to search
परिचय का प्रतीक साँचा परिचय[देखें] [संपादन] [इतिहास] [पर्ज]

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}}

उदाहरण[संपादित करें]

{{Wikisource|1=वैशाली की नगरवधू|2=वैशाली की नगरवधू (उपन्यास)}}

produces



सीमाएँ[संपादित करें]

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


केवल हिंदी हेतु[संपादित करें]

For foreign language Wikisources use: {{Wikisourcelang}}

example: {{Wikisourcelang|fr|Du contrat social}} gives

TemplateData[संपादित करें]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for विकिस्रोत

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

साँचा प्राचल

प्राचलवर्णनप्रकारस्थिति
Page name1

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

स्ट्रिंगवैकल्पिक
Displayed name2

Optional displayed link text.

स्ट्रिंगवैकल्पिक

See also[संपादित करें]