ထႅမ်းပလဵတ်ႉ:wikipedia
- The following documentation is located at ထႅမ်းပလဵတ်ႉ:wikipedia/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions
This template shows a right-floating sister-project box with a link to a Wikipedia page.
The template should be placed inside the section it refers to, immediately after the header. In the default case (a reference to the English Wikipedia) that is immediately following the ==English== header. If there are also images, box templates such as this should appear first. Alternatively, consider linking to Wikipedia in the "Further reading" section using the inline template {{pedia}}.[1]
ပရႃႇမီႇတႃႇ
[မႄးထတ်း]All parameters are optional.
|1=- Specifies the Wikipedia page(s) to link to, comma-separated (with no space following the comma). By default, this is the same as the name of the current Wiktionary page. More specifically:
- If the language is other than English, prefix the page with the Wikimedia language code (see Wiktionary:Wikimedia language codes) of the Wikipedia version to link to. This is not necessarily the same as the Wiktionary-internal language code; it supports language codes that are not allowed on Wiktionary itself, such as
hrfor Croatian, and occasionally different codes are used for the same language. - Separate multiple pages with a comma (with no space following). If a language code is specified for a given page, it becomes the default for the next page, so e.g.
{{wp|de:Laubach,Landkreis Gießen}}(or just{{wp|de:,Landkreis Gießen}}, if used on the Wiktionary page Laubach) will link to two articles Laubach and Landkreis Gießen on the German Wikipedia. The default for the first specified page is English (en:). If the Wikipedia page contains a literal comma not followed by a space, put brackets around the link. For example, to link to an article 1,2-dicloroetano on the Italian Wikipedia, use{{wp|it:[[1,2-dicloroetano]]}}. - Use the syntax
[[page|display-form]]to link to a page namedpagebut display it asdisplay-form. Language codes go outside the brackets; thus, use{{yo:[[Bùrúndì|Bùrúńdì]]}}to link to the Yoruba Wikipedia article Bùrúndì while displaying it asBùrúńdì(note the difference between the article and the display form: the display form has an acute accent over the n). - To link to a specific section of a given article, place the section name after a
#, e.g.{{wp|Edward#People surnamed Edward}}to link to the section titledPeople surnamed Edwardon the page Edward. - A
+anywhere in a given Wikipedia link is replaced with the name of the current Wiktionary page. Thus,{{wp|+#People surnamed +}}is equivalent to{{wp|Edward#People surnamed Edward}}if used on the Wiktionary page Edward, and{{wp|[[+#Places in the United States|+ (places)]]}}is equivalent to{{wp|[[English#Places in the United States|English (places)]]}}if used on the Wiktionary page English. The+does not have to be a word by itself; e.g. on the page October,{{wp|+ing}}links to Octobering. To include a literal+sign in a link, prefix it with a backslash, i.e.\+. - The inline modifier
<dab>placed after an article name links to a disambiguation page. The inline modifier<dab!>is similar but includes the text(disambiguation)in the display form, while<dab>does not. Thus, on the page GDP,{{wp|<dab>}}or{{wp|+<dab>}}is equivalent to writing{{wp|[[GDP (disambiguation)|GDP]]}}, and on the page pie,{{wp|<dab!>}}or{{wp|+<dab!>}}is equivalent to writing{{wp|[[pie (disambiguation)]]}}. The text will be localized for the target language with Module:interproject/data/disambiguation; missing languages default to English.
- If the language is other than English, prefix the page with the Wikimedia language code (see Wiktionary:Wikimedia language codes) of the Wikipedia version to link to. This is not necessarily the same as the Wiktionary-internal language code; it supports language codes that are not allowed on Wiktionary itself, such as
|cat=or|category=- Specifies the Wikipedia category or categories to link to. The syntax is identical to that used in
|1=. |portal=- Specifies the Wikipedia portal page(s) to link to. The syntax is identical to that used in
|1=.
Currently, you cannot mix article links with category and/or portal links; to do this, use separate invocations of {{wp}}.
တူဝ်ယၢင်ႇ
[မႄးထတ်း]| Wikicode | Output |
|---|---|
{{wp|afterlife}}
| |
{{wp|[[Trunk (botany)|trunk]]}}
| |
{{wp|it:Roma}}
| |
{{wp|wrong<dab>}}
| |
{{wp|monarchy,kingdom (biology)}}
| |
{{wp|[[monarchy|tyranny]],[[kingdom (biology)|lionny]]}}
| |
{{wp|cat=colors}}
| |
{{wp|cat=colors,national colours}}
| |
{{wp|cat=es:[[colores|colors]],[[pintura|painting]]}}
| |
{{wp|portal=energy}}
| |
{{wp|Trial#Mistrials}}
| |
{{wp|zh:,yue:,lzh:,gan:,hak:súi,cdo:cūi,nan:chúi,wuu:|pagename=水}}
|
See also
[မႄးထတ်း]{{slim-wikipedia}}— visually slimmer version of this template{{w}}— plain inline link{{pedia}}— for citing pages{{quote-wikipedia}}— for quoting pages{{uw-notwikipedia}}
Notes
[မႄးထတ်း]TemplateData
[မႄးထတ်း]TemplateData for wikipedia
Links Wikipedia in a box that floats to the right
| Parameter | ၶေႃႈသပ်းလႅင်း | Type | Status | |
|---|---|---|---|---|
| Article to link | 1 | Article to link to on the Wikipedia
| Line | suggested |
| Category to link | cat category | Category to link on Wikipedia, instead of an article
| Line | optional |
| Portal to link | portal | Portal to link on Wikipedia, instead of an article
| Line | optional |
| Link label | 2 | If provided, overrides the displayed form of the link
| Line | deprecated |
| Language code | lang | Wikipedia language code for the Wikipedia language to link
| Line | deprecated |
| Section | section | Section to link on Wikipedia | String | deprecated |
| Second article to link | mul | Provides a second article to link to
| Line | deprecated |
| Second article label | mullabel | Overrides the displayed form of the second link.
| Line | deprecated |
| Second category to link | mulcat | Second category to link on Wikipedia, replacing the second article link | Line | deprecated |
| Second category label | mulcatlabel | If provided, overrides the displayed form of the second category | Line | deprecated |
- ↑ Some editors prefer inline linking in all cases, but there is currently no consensus for one approach over the other. See, for example, this 2017 Beer Parlour discussion. As of Feb 2021,
{{wikipedia}}had about 225,000 mainspace transclusions compared to about 28,000 for inline{{pedia}}.
