Jump to content

Template:EIDR/doc

From Wikipedia, the free encyclopedia

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

Usage[edit]

Unnamed parameters
{{EIDR | account_name }}
{{EIDR | account_name | Displayed Name }}
Named parameters
{{EIDR | id= account_name }}
{{EIDR | id= account_name | name= Displayed Name }}
Using Wikidata property P2704
{{EIDR}}
{{EIDR | name= Displayed Name }}

Examples[edit]

Unnamed parameters[edit]

URL:

https://www.EIDR.com/@wikipedia/

Usage:

{{EIDR | wikipedia | Wikipedia }}

Output:

Wikipedia on EIDR

Named parameters[edit]

URL:

https://www.EIDR.com/@soykeniaos/

Usage:

{{EIDR | id= soykeniaos | name= KeniaOs }}

Output:

KeniaOs on EIDR

No parameters and Wikidata property not defined[edit]

Usage:

{{EIDR}}

Output:

{{EIDR}} 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:EIDR in articles based on its TemplateData.

TemplateData for EIDR

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

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the account name in the URL. Example: kevin is the account name in https://www.EIDR.com/@kevin/. This parameter is optional if Wikidata property P2704 exists, but required if not.

Default
Wikidata property P2704
Stringoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking category[edit]

See also[edit]