ਫਰਮਾ:wikipedia/documentation
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]
Parameters
ਸੋਧੋAll parameters are optional.
- ਫਰਮਾ:para
- Specifies the Wikimedia language code (see Wiktionary:Wikimedia language codes) of the Wikipedia version to link to. This is not the same as the Wiktionary-internal language code, as it supports language codes that are not allowed on Wiktionary itself, such as
hr
for Croatian. It defaults toen
for English. - ਫਰਮਾ:para
- Specifies the Wikipedia page to link to. By default, this is the same as the name of the current Wiktionary page.
- ਫਰਮਾ:para
- Overrides the displayed form of the link.
- ਫਰਮਾ:para
- Specifies a section to link on Wikipedia.
- ਫਰਮਾ:para or ਫਰਮਾ:para
- Specifies a category page to link to instead.
- ਫਰਮਾ:para
- Specifies a portal page to link to instead.
- ਫਰਮਾ:para
- Provides a second article to link to.
- ਫਰਮਾ:para
- Overrides the displayed form of the second link.
- ਫਰਮਾ:para
- Provides a second category to link to.
- ਫਰਮਾ:para
- Overrides the displayed form of the second category.
Examples
ਸੋਧੋBasic formats:
{{wikipedia}}
{{wikipedia|article}}
{{wikipedia|article|link title}}
{{wikipedia|lang=language code}}
{{wikipedia|wikipedia|article|lang=language code}}
{{wikipedia|wikipedia|article|link title|lang=language code}}
{{wikipedia|wikipedia|article|link title|mul=second article}}
{{wikipedia|wikipedia|article|link title|mul=second article|mullabel=second link title}}
{{wikipedia|wikipedia|cat=category}}
{{wikipedia|wikipedia|link title|cat=category}}
{{wikipedia|wikipedia|link title|cat=category|mulcat=second category}}
{{wikipedia|wikipedia|link title|cat=category|mulcat=second category|mulcatlabel=second link title}}
{{wikipedia|wikipedia|portal=energy}}
{{wikipedia|Trial|section=Mistrials}}
{{wikipedia|afterlife}}
|
|
{{wikipedia|Trunk (botany)|trunk}}
|
|
{{wikipedia|Roma|lang=it}}
|
|
{{wikipedia|wrong (disambiguation)|wrong}}
|
|
{{wikipedia|monarchy|mul=kingdom (biology)}}
|
|
{{wikipedia|monarchy|tyranny|mul=kingdom (biology)|mullabel=lionny}}
|
|
{{wikipedia|category=colors}}
|
|
{{wikipedia|category=colors|mulcat=national colours}}
|
|
{{wikipedia|lang=es|category=colores|colors|mulcat=pintura|mulcatlabel=painting}}
|
|
{{wikipedia|portal=energy}}
|
|
{{wikipedia|Trial|section=Mistrials}}
|
Related templates
ਸੋਧੋ{{slim-wikipedia}}
— slimmer version of this template{{w}}
— plain inline text link to Wikipedia{{pedia}}
,{{R:wp}}
— for References and Further reading sections{{quote-wikipedia}}
— for Citations pages{{warn notwikipedia}}
TemplateData
ਸੋਧੋLinks Wikipedia in a box that floats to the right
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
Article to link | 1 | Article to link to on the Wikipedia
| Line | suggested |
Link label | 2 | If provided, overrides the displayed form of the link
| Line | optional |
Language code | lang | Wikipedia language code for the Wikipedia language to link
| Line | optional |
Section | section | Section to link on Wikipedia | String | optional |
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 |
2nd article to link | mul | Provides a second article to link to
| Line | optional |
2nd article label | mullabel | Overrides the displayed form of the second link.
| Line | optional |
2nd category to link | mulcat | Second category to link on Wikipedia, replacing the second article link | Line | optional |
2nd category label | mulcatlabel | If provided, overrides the displayed form of the second category | Line | optional |
Footnotes
ਸੋਧੋ- ↑ 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}}
.