සැකිල්ල:විකිමූලාශ්‍ර

විකිපීඩියා, නිදහස් විශ්වකෝෂය වෙතින්
(සැකිල්ල:Wikisource වෙතින් යළි-යොමු කරන ලදි)
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}}

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

සැකිල්ල:Wikisourcelang

TemplateData[සංස්කරණය]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for විකිමූලාශ්‍ර

Creates a small box with a links 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 <tt>&#91;</tt> and <tt>&#93;</tt> need to be coded as <tt>&amp;#91;</tt> and <tt>&amp;#93;</tt> instead.

Stringoptional
Displayed name2

Optional displayed link text.

Stringoptional

See also[සංස්කරණය]



"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:විකිමූලාශ්‍ර&oldid=436094" වෙතින් සම්ප්‍රවේශනය කෙරිණි