ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:wikipedia/documentation

ਵਿਕਸ਼ਨਰੀ, ਇਕ ਅਜ਼ਾਦ ਸ਼ਬਦਕੋਸ਼ ਤੋਂ
Documentation for ਫਰਮਾ:wikipedia. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

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 hr for Croatian. It defaults to en for 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:

  1. {{wikipedia}}
  2. {{wikipedia|article}}
  3. {{wikipedia|article|link title}}
  4. {{wikipedia|lang=language code}}
  5. {{wikipedia|wikipedia|article|lang=language code}}
  6. {{wikipedia|wikipedia|article|link title|lang=language code}}
  7. {{wikipedia|wikipedia|article|link title|mul=second article}}
  8. {{wikipedia|wikipedia|article|link title|mul=second article|mullabel=second link title}}
  9. {{wikipedia|wikipedia|cat=category}}
  10. {{wikipedia|wikipedia|link title|cat=category}}
  11. {{wikipedia|wikipedia|link title|cat=category|mulcat=second category}}
  12. {{wikipedia|wikipedia|link title|cat=category|mulcat=second category|mulcatlabel=second link title}}
  13. {{wikipedia|wikipedia|portal=energy}}
  14. {{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..
[ਸੋਧੋ]

TemplateData

[ਸੋਧੋ]

ਫਰਮਾ:TemplateDataHeader

Links Wikipedia in a box that floats to the right

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ[Edit template data]

This template has custom formatting.

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
Article to link1

Article to link to on the Wikipedia

ਮੂਲ ਰੂਪ
{{subst:BASEPAGENAME}}
ਮਿਸਾਲ
color
ਲਕੀਰਸੁਝਾਏ ਗਏ
Link label2

If provided, overrides the displayed form of the link

ਮਿਸਾਲ
colors
ਲਕੀਰਚੋਣਵਾਂ
Language codelang

Wikipedia language code for the Wikipedia language to link

ਮੂਲ ਰੂਪ
en
ਮਿਸਾਲ
es
ਲਕੀਰਚੋਣਵਾਂ
Sectionsection

Section to link on Wikipedia

ਸਤਰਚੋਣਵਾਂ
Category to linkcat category

Category to link on Wikipedia, instead of an article

ਮਿਸਾਲ
colors
ਲਕੀਰਚੋਣਵਾਂ
Portal to linkportal

Portal to link on Wikipedia, instead of an article

ਮਿਸਾਲ
energy
ਲਕੀਰਚੋਣਵਾਂ
2nd article to linkmul

Provides a second article to link to

ਮਿਸਾਲ
painting
ਲਕੀਰਚੋਣਵਾਂ
2nd article labelmullabel

Overrides the displayed form of the second link.

ਮਿਸਾਲ
paintings
ਲਕੀਰਚੋਣਵਾਂ
2nd category to linkmulcat

Second category to link on Wikipedia, replacing the second article link

ਲਕੀਰਚੋਣਵਾਂ
2nd category labelmulcatlabel

If provided, overrides the displayed form of the second category

ਲਕੀਰਚੋਣਵਾਂ

Footnotes

[ਸੋਧੋ]
  1. 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}}.