Jump to content

Template:Threads/doc

From Wikipedia, the free encyclopedia

Template:Threads 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.

Usage

[edit]
Unnamed parameters
{{Threads | username }}
{{Threads | username | Displayed Name }}
Named parameters
{{Threads | id= username }}
{{Threads | id= username | name= Displayed Name }}
Using Wikidata property
{{Threads}}
{{Threads | name= Displayed Name }}

Examples

[edit]

Unnamed parameters

[edit]
URL
https://www.threads.net/@wikipedia/
Usage
* {{Threads | wikipedia | Wikipedia }}
Output

Named parameters

[edit]
URL
https://www.www.threads.net/@kevin/
Usage
* {{Threads | id= kevin | name= Kevin Systrom }}
Output

No parameters and Wikidata property not defined

[edit]
Usage
* {{Threads}}
Output
  • {{Threads}} template missing ID and not present in Wikidata.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Threads in articles based on its TemplateData.

TemplateData for Threads

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.

Template parameters

ParameterDescriptionTypeStatus
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.

Default
Wikidata property P11892
Example
kevin
Stringoptional
Namename 2

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

Default
{{PAGENAMEBASE}}
Example
Kevin Systrom
Stringoptional

Tracking categories

[edit]

See also

[edit]