Jump to content

Template:Models.com/doc

From Wikipedia, the free encyclopedia

This template displays an external link to a model's profile at the Models.com website. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{Models.com | ID }}
{{Models.com | ID | NAME }}
Named parameters
{{Models.com | id= ID }}
{{Models.com | id= ID | name= NAME }}
Using Wikidata property
{{Models.com}}
{{Models.com | name= NAME }}

Examples

[edit]

ID in template

[edit]
Usage
* {{Models.com | emily-ratajkowski | Emily Ratajkowski }}
* {{Models.com | id= emily-ratajkowski | name= Emily Ratajkowski }}
Output
URL
https://models.com/models/emily-ratajkowski

ID in Wikidata

[edit]
Usage in the article Georgia May Jagger
* {{Models.com}}
Output
URL
https://models.com/models/georgia-may-jagger

No ID in template or Wikidata

[edit]
Usage
* {{Models.com}}
Output
  • {{Models.com}} 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:Models.com in articles based on its TemplateData.

TemplateData for Models.com

This template displays an external link to a model's profile at the Models.com website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as emily-ratajkowski in https://models.com/models/emily-ratajkowski. This parameter is optional if Wikidata property P2471 exists, but required if not.

Default
Wikidata property P2471
Stringoptional
Namename 2

The link text, which should be the name of the model. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(model)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking category

[edit]
template with ID
comparison is case insensitive, so emily-ratajkowski matches Emily-Ratajkowski
template missing ID

See also

[edit]