แม่แบบ:วิกิพีเดีย

จาก วิกิพจนานุกรม พจนานุกรมเสรี
ไปยังการนำทาง ไปยังการค้นหา
วิกิพีเดียมีบทความเกี่ยวกับ:
Wikipedia

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.

Consider using the inline version of this template instead, {{projectlink|pedia}} (shortcut: {{pedia}}).

Parameters[แก้ไข]

All parameters are optional.

lang=
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 support language codes that are not allowed on Wiktionary itself, such as hr for Croatian. It defaults to en for English.
1=
Specifies the Wikipedia page to link to. By default, this is the same as the name of the current Wiktionary page.
2=
Overrides the displayed form of the link.
dab= or disambiguation=
Specifies a disambiguation page to link to instead.
cat= or category=
Specifies a category page to link to instead.
portal=
Specifies a portal page to link to instead.
mul=
Provides a second article to link to.
mullabel=
Overrides the displayed form of the second link.
mulcat=
Provides a second category to link to.
mulcatlabel=
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|article|lang=language code}}
  6. {{wikipedia|article|link title|lang=language code}}
  7. {{wikipedia|dab=disambiguation page}}
  8. {{wikipedia|dab=disambiguation page|link title}}
  9. {{wikipedia|article|link title|mul=second article}}
  10. {{wikipedia|article|link title|mul=second article|mullabel=second link title}}
  11. {{wikipedia|cat=category}}
  12. {{wikipedia|cat=category|link title}}
  13. {{wikipedia|cat=category|link title|mulcat=second category}}
  14. {{wikipedia|cat=category|link title|mulcat=second category|mulcatlabel=second link title}}
  15. {{wikipedia|portal=energy}}
{{wikipedia|afterlife}}
วิกิพีเดียมีบทความเกี่ยวกับ:
Wikipedia
{{wikipedia|Trunk (botany)|trunk}}
วิกิพีเดียมีบทความเกี่ยวกับ:
Wikipedia
{{wikipedia|Roma|lang=it}}
วิกิพีเดียภาษาอิตาลีมีบทความเกี่ยวกับ:
Wikipedia it
{{wikipedia|dab=authoring}} ข้อผิดพลาด Lua ใน มอดูล:interproject บรรทัดที่ 61: The parameter "dab" is not used by this template.
{{wikipedia|dab=wrong (disambiguation)|wrong}} ข้อผิดพลาด Lua ใน มอดูล:interproject บรรทัดที่ 61: The parameter "dab" is not used by this template.
{{wikipedia|monarchy|mul=kingdom (biology)}}
วิกิพีเดียมีบทความเกี่ยวกับ:
Wikipedia Wikipedia
{{wikipedia|monarchy|tyranny |mul=kingdom (biology)|mullabel=lionny}}
วิกิพีเดียมีบทความเกี่ยวกับ:
Wikipedia Wikipedia
{{wikipedia|category=colors}}
วิกิพีเดียมีหมวดหมู่เกี่ยวกับ:
Wikipedia
{{wikipedia|category=colors|mulcat=national colours}}
วิกิพีเดียมีหมวดหมู่เกี่ยวกับ:
Wikipedia Wikipedia
{{wikipedia|lang=es|category=colores |colors|mulcat=pintura|mulcatlabel=painting}}
วิกิพีเดียภาษาสเปนมีหมวดหมู่เกี่ยวกับ:
Wikipedia esWikipedia es
{{wikipedia|portal=energy}}
วิกิพีเดียมีสถานีย่อยเกี่ยวกับ:
Wikipedia

Related templates[แก้ไข]

th:แม่แบบ:วิกิพีเดีย

TemplateData[แก้ไข]

แม่แบบ:TemplateDataHeader

Links Wikipedia in a box that floats to the right

พารามิเตอร์แม่แบบ[จัดการข้อมูลแม่แบบ]

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
บรรทัดเลือกได้
Disambiguation page to linkdab disambiguation

Disambiguation page to link on Wikipedia, instead of linking to an article

ตัวอย่าง
wrong (disambiguation)
บรรทัดเลือกได้
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
บรรทัดเลือกได้
Language codelang

Wikipedia language code for the Wikipedia language to link

ค่าปริยาย
en
ตัวอย่าง
es
บรรทัดเลือกได้
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

บรรทัดเลือกได้