ਫਰਮਾ:wikipedia
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type..
- The following documentation is located at ਫਰਮਾ:wikipedia/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions
Lua error in ਮੌਡਿਊਲ:languages/data/3/u at line 864: attempt to call field '?' (a nil value).
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.
|lang=(optional)- 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
hrfor Croatian. It defaults toenfor English. |1=(optional)- Specifies the Wikipedia page to link to. By default, this is the same as the name of the current Wiktionary page.
|2=(optional)- Overrides the displayed form of the link.
|section=(optional)- Specifies a section to link on Wikipedia.
|cat=or|category=(optional)- Specifies a category page to link to instead.
|portal=(optional)- Specifies a portal page to link to instead.
|mul=(optional)- Provides a second article to link to.
|mullabel=(optional)- Overrides the displayed form of the second link.
|mulcat=(optional)- Provides a second category to link to.
|mulcatlabel=(optional)- 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}} |
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type.. |
{{wikipedia|Trunk (botany)|trunk}} |
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type.. |
{{wikipedia|Roma|lang=it}} |
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type.. |
{{wikipedia|wrong (disambiguation)|wrong}} |
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type.. |
{{wikipedia|monarchy|mul=kingdom (biology)}} |
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type.. |
{{wikipedia|monarchy|tyranny|mul=kingdom (biology)|mullabel=lionny}} |
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type.. |
{{wikipedia|category=colors}} |
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type.. |
{{wikipedia|category=colors|mulcat=national colours}} |
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type.. |
{{wikipedia|lang=es|category=colores|colors|mulcat=pintura|mulcatlabel=painting}} |
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type.. |
{{wikipedia|portal=energy}} |
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type.. |
{{wikipedia|Trial|section=Mistrials}} |
Lua error in ਮੌਡਿਊਲ:parameters at line 1022: Internal error: "wikimedia language" is not a recognized parameter type.. |
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}}.