ထႅမ်းပလဵတ်ႉ:projectlink
{{Template:PL:{{{1}}}|||lang=en|sc=|dab=}}
- The following documentation is located at ထႅမ်းပလဵတ်ႉ:projectlink/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
This template creates a link to a page on an affiliated project. It is intended for the "Further reading" sections of Wiktionary entries.
လွင်ႈၸႂ်ႉတိုဝ်း
[မႄးထတ်း]This template requires only one parameter, an abbreviation of the name of the project (see below). By default, it links to the identically-titled article (except with an initial capital letter) on the English language project, with a message like this one:
cloud တီႈ ဢိင်းၵလဵတ်ႈ ဝီႇၶီႇၽီးတီးယႃး.ဝီႇၶီႇၽီးတီးယႃး en
In addition, it puts a link to that article in the sidebar at left, assuming the reader is using the Monobook skin.
However, a few optional parameters are accepted:
- The
lang
parameter is used to link to an article in a non-English project; if provided, it should be set to the language code used in interwiki links, which is usually (or always?) the first part of the article's domain name. For example, a link to an article on the French Wikipedia (fr.wikipedia.org) would setlang=fr
. - An optional first parameter is used to link to page whose name isn't identical to that of the Wiktionary entry. This can be left empty to use the pagename. Alternatively, the
dab
parameter can be used to indicate that the target is a disambiguation page. - An optional second parameter is used to have different link text from the name of the linked article.
So, for example, {{projectlink|pedia|lang=fr|pétanque|la pétanque}}
would produce the message:
la pétanque တီႈ ၾရၢင်ႇသဵတ်ႈ ဝီႇၶီႇၽီးတီးယႃး.ဝီႇၶီႇၽီးတီးယႃး fr
(though that's not necessarily a good idea; {{projectlink|pedia|lang=fr}}
should quite suffice in this case).
As before, the link will appear in the sidebar as well when using the Monobook skin.
Projects with abbreviations
[မႄးထတ်း]The template can currently be used for linking to the following projects by using the corresponding abbreviations:
Project | Abbreviation |
---|---|
Wikibooks | books |
Wikimedia Commons | commons |
Wikimedia Meta-wiki | meta |
Wikinews | news |
Wikiquote | quote |
Wikisource | source |
Wikispecies | species |
Wikiversity | versity |
Several external projects are also accessible. For a full list, see here.
Subtemplates
[မႄးထတ်း]Similar templates
[မႄးထတ်း]Templates producing similar appearance include the following:
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). AKA Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).; used to be Template:PL:pedia
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). AKA Template:PL:species
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). AKA Template:PL:commons
- Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
- Template:PL:versity
- Template:PL:source