ទំព័រគំរូ:Wikisource
វិគីបណ្ណាល័យមានអត្ថបទដើមទាក់ទងនឹងអត្ថបទនេះ: |
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
វិគីបណ្ណាល័យមានអត្ថបទដើមទាក់ទងនឹងអត្ថបទនេះ: |
Limitation [] - square brackets
កែប្រែ- You can not 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
វិគីបណ្ណាល័យមានអត្ថបទដើមទាក់ទងនឹងអត្ថបទនេះ:
[[wikisource:Leaves_of_Grass/Book_XVII#Year of Meteors [1859-60]|name for Leaves of Grass Year of Meteors [1859-60]]] |
To resolve this use [ and ] :
{{Wikisource|1=Leaves_of_Grass/Book_XVII#Year of Meteors [1859-60]|2=name for Leaves of Grass Year of Meteors [1859-60]}}
produces
វិគីបណ្ណាល័យមានអត្ថបទដើមទាក់ទងនឹងអត្ថបទនេះ: |
Template data
កែប្រែCreates a small box with a links to a document at Wikisource.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | The document name on commons. The article's page name is used as a default. Square brackets [, ] needed to be coded as [ and ] | String | optional |
Displayed name | 2 | Optional displayed link text. | String | optional |
See also
កែប្រែ- Wikipedia:Sister projects for full usage information
- Wikipedia:Template messages/Sister projects#Wikisource for full usage information
- Wikipedia:Sister projects for background
- {{Wikisourcelang}} for linking to a foreign language wikisource page
- {{Wikisourcehas}} for allowing the including editor to choose the wording
- {{Wikisource author}} for linking to an author's pages in wikisource
- {{Copy to Wikisource}}