ข้ามไปเนื้อหา

แม่แบบ:Interlanguage link/doc

จากวิกิพีเดีย สารานุกรมเสรี

ลิงก์ไปยังภาษาต่างประเทศหนึ่งภาษา

[แก้]

หากต้องการลิงก์ไปยังบทความภาษาต่างประเทศที่มีชื่อบทความแตกต่างกัน

{{ill|ชื่อบทความในวิกิพีเดียภาษาไทย|รหัสภาษา|ชื่อบทความในวิกิพีเดียภาษาต่างประเทศ}}

  • {{ill|Hooglede town hall|nl|Gemeentehuis van Hooglede}} ผลลัพธ์: Hooglede town hall [nl]

หากต้องการลิงก์ไปยังบทความภาษาต่างประเทศที่มีชื่อบทความเหมือนกัน

{{ill|ชื่อบทความ|รหัสภาษา}}

ลิงก์ไปยังภาษาต่างประเทศหลายภาษา

[แก้]

หากต้องการลิงก์ไปยังบทความหลายภาษา

{{ill|ชื่อบทความในวิกิพีเดียภาษาไทย|รหัสภาษา 1|ชื่อบทความในวิกิพีเดียภาษา 1|รหัสภาษา 2|ชื่อบทความในวิกิพีเดียภาษา 2|...}}

  • ตัวอย่าง {{ill|Olena Chaplynska|uk|Олена Чаплинська|ru|Чаплинская, Гелена|ja|モトローナ・チャプリーンシカ}} ผลลัพธ์: Olena Chaplynska [uk; ru; ja]

หากต้องการลิงก์ไปยังหลายภาษาที่มีชื่อบทความเหมือนกับหน้าภาษาไทย ก็ไม่จำเป็นต้องใส่ชื่อหน้า

{{ill|ชื่อบทความในวิกิพีเดียภาษาไทย|รหัสภาษา 1||รหัสภาษา 2||...}}

  • ตัวอย่าง {{ill|casa|es||it||ro||de|haus}} ผลลัพธ์: casa [es; it; ro; de]

ตัวอย่าง

[แก้]
  • {{ill|TC Matic|af|TC Matic|nl|TC Matic|fr|TC Matic|es|TC Matic}} ผลลัพธ์: TC Matic [af; nl; fr; es]
  • {{ill|TC Matic (band)|af|TC Matic|nl|TC Matic|fr|TC Matic|es|TC Matic}} ผลลัพธ์: TC Matic (band) [af; nl; fr; es]
  • {{ill|TC Matic (band)|af||nl||fr||es|}} ผลลัพธ์: TC Matic (band) [af; nl; fr; es]
  • {{ill|TC Matic (band)|lt=TC Matic|af|TC Matic|nl|TC Matic|fr|TC Matic|es|TC Matic}} ผลลัพธ์: TC Matic [af; nl; fr; es]
  • {{ill|TC Matic|lt=TC Matic (band)|af|TC Matic|nl|TC Matic|fr|TC Matic|es|TC Matic}} ผลลัพธ์: TC Matic (band) [af; nl; fr; es]

ข้อมูลแม่แบบ

[แก้]
ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งใช้งานโดยตัวช่วยสร้างแม่แบบ เครื่องมือแก้ไขแบบเห็นภาพ และเครื่องมืออื่น ดูรายงานการใช้พารามิเตอร์ประจำเดือนสำหรับแม่แบบ:Interlanguage link

ข้อมูลแม่แบบสำหรับ Interlanguage link

Link to other Wikipedias or Wikidata if an article in the English Wikipedia doesn't exist.

พารามิเตอร์แม่แบบ

พารามิเตอร์คำอธิบายชนิดสถานะ
ชื่อบทความ1

ชื่อหน้าในวิกิพีเดียภาษาไทยหรือชื่อหน้าที่ต้องการใช้ในกรณีที่หน้านั้นไม่มีในภาษาไทย

ชื่อหน้าจำเป็น
ข้อความแสดงในลิงก์lt

ข้อความที่จะแสดงในส่วนลิงก์ไปยังหน้าในภาษาไทย ในกรณีที่เขียนไม่เหมือนกับชื่อหน้าที่โยงไปหา

บรรทัดแนะนำ
รหัสภาษาที่หนึ่ง2

รหัสภาษาสำหรับหน้าที่จะลิงก์ไปหาในภาษาอื่น

บรรทัดแนะนำ
หน้าที่หนึ่ง3

ชื่อหน้าในวิกิพีเดียภาษาอื่นในกรณีที่ชื่อหน้าสะกดไม่เหมือนในวิกิพีเดียภาษาไทย

บรรทัดแนะนำ
รหัสภาษาที่สอง4

รหัสภาษาสำหรับหน้าที่จะลิงก์ไปหาในภาษาอื่น

บรรทัดไม่บังคับ
หน้าที่สอง5

ชื่อหน้าในวิกิพีเดียภาษาอื่นในกรณีที่ชื่อหน้าสะกดไม่เหมือนในวิกิพีเดียภาษาไทย

บรรทัดไม่บังคับ
รหัสภาษาที่สาม6

รหัสภาษาสำหรับหน้าที่จะลิงก์ไปหาในภาษาอื่น

บรรทัดไม่บังคับ
หน้าที่สาม7

ชื่อหน้าในวิกิพีเดียภาษาอื่นในกรณีที่ชื่อหน้าสะกดไม่เหมือนในวิกิพีเดียภาษาไทย

บรรทัดไม่บังคับ
4th language code8

Language code for the 4th page in another language

บรรทัดไม่บังคับ
4th page9

Title of the page in the 4th other language, if not the same as the English Wikipedia page

บรรทัดไม่บังคับ
5th language code10

Language code for the 5th page in another language

บรรทัดไม่บังคับ
5th page11

Title of the page in the 5th other language, if not the same as the English Wikipedia page

บรรทัดไม่บังคับ
6th language code12

Language code for the 6th page in another language

บรรทัดไม่บังคับ
6th page13

Title of the page in the 6th other language, if not the same as the English Wikipedia page

บรรทัดไม่บังคับ
7th language code14

Language code for the 7th page in another language

บรรทัดไม่บังคับ
7th page15

Title of the page in the 7th other language, if not the same as the English Wikipedia page

บรรทัดไม่บังคับ
8th language code16

Language code for the 8th page in another language

บรรทัดไม่บังคับ
8th page17

Title of the page in the 8th other language, if not the same as the English Wikipedia page

บรรทัดไม่บังคับ
9th language code18

Language code for the 9th page in another language

บรรทัดไม่บังคับ
9th page19

Title of the page in the 9th other language, if not the same as the English Wikipedia page

บรรทัดไม่บังคับ
10th language code20

Language code for the 10th page in another language

บรรทัดไม่บังคับ
10th page21

Title of the page in the 10th other language, if not the same as the English Wikipedia page

บรรทัดไม่บังคับ
11th language code22

Language code for the 11th page in another language

บรรทัดไม่บังคับ
11th page23

Title of the page in the 11th other language, if not the same as the English Wikipedia page

บรรทัดไม่บังคับ
12th language code24

Language code for the 12th page in another language

บรรทัดไม่บังคับ
12th page25

Title of the page in the 12th other language, if not the same as the English Wikipedia page

บรรทัดไม่บังคับ
Wikidata itemqid

Wikidata item of the article. Replaces links to pages in other languages

บรรทัดไม่บังคับ
Short Wikidata link textshort s

If anything is set for this, Wikidata item link is displayed as 'd'

สตริงไม่บังคับ
Preservepreserve display

If anything is set for this, forces links to pages in other languages and projects to always display even if the English Wikipedia article exists

สตริงไม่บังคับ
No bold (or italic)nobold

Entering any value will force links to other-language pages, Wikidata and the link brackets to force non-bold and non-italic text.

ตัวอย่าง
yes
บรรทัดไม่บังคับ
Italicizeitalic italics

If anything is set for this, puts italicization markup around the text to be linked, without including the bracketed inter-language links within the italics

สตริงไม่บังคับ
Vertical alignmentvertical-align valign v

Alters the position of language links from baseline, to superscript ('sup') or subscript ('sub') position. It can also prevent the font size of the language links from being reduced when used in infoboxes, by entering 'ib'.

ค่าที่แนะนำ
sup sub ib
ค่าปริยาย
baseline
บรรทัดไม่บังคับ
Quotequote quotes

If anything is set for this, puts double quotation marks around the text to be linked. The quotation marks won't be linked, and the bracketed inter-language links will be outside the quotation marks.

ค่าที่แนะนำ
yes
สตริงไม่บังคับ