แม่แบบ:เธรดส์/doc

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

แม่แบบ:เธรดส์ แสดงลิงก์ภายนอกไปยังหน้าของเธรดส์ ซึ่งเป็นเว็บไซต์สื่อสังคม มีไว้สำหรับใช้ในส่วนแหล่งข้อมูลอื่นของบทความ

การใช้งาน[แก้]

Unnamed parameters
{{เธรดส์ | username }}
{{เธรดส์ | username | Displayed Name }}
Named parameters
{{เธรดส์ | id= username }}
{{เธรดส์ | id= username | name= Displayed Name }}
Using Wikidata property
{{เธรดส์}}
{{เธรดส์ | name= Displayed Name }}

Examples[แก้]

Unnamed parameters[แก้]

URL
https://www.threads.net/@wikipedia/
Usage
* {{เธรดส์ | wikipedia | Wikipedia }}
Output

Named parameters[แก้]

URL
https://www.www.threads.net/@kevin/
Usage
* {{เธรดส์ | id= kevin | name= Kevin Systrom }}
Output

No parameters and Wikidata property not defined[แก้]

Usage
* {{เธรดส์}}
Output
  • แม่แบบ {{เธรดส์}} ไม่ได้ระบุชื่อผู้ใช้และไม่ได้แสดงในวิกิสนเทศ

TemplateData[แก้]

ด้านล่างนี้คือข้อมูลแม่แบบ เอกสารกำกับสำหรับแม่แบบนี้ซึ่งถูกใช้งานโดยเครื่องมือแก้ไขแบบเห็นภาพและเครื่องมืออื่น ๆ

ข้อมูลแม่แบบสำหรับ เธรดส์ (ยังไม่มีการตรวจสอบ)

This template displays an external link to a page at Threads, a social media website. It is intended for use in the external links section of an article.

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

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

The username in the Threads URL, such as kevin in https://www.threads.net/@kevin/. This parameter is optional if Wikidata property P11892 exists, but required if not.

ค่าปริยาย
Wikidata property P11892
ตัวอย่าง
kevin
สตริงเลือกได้
Namename 2

The name displayed as the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.

ค่าปริยาย
{{PAGENAMEBASE}}
ตัวอย่าง
Kevin Systrom
สตริงเลือกได้

หมวดหมู่ติดตาม[แก้]

ดูเพิ่ม[แก้]