Jump to content

Template:FMD photographer/doc

From Wikipedia, the free encyclopedia

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

Usage

[edit]

Unnamed parameters:

{{FMD photographer | ID }}
{{FMD photographer | ID | NAME }}

Named parameters:

{{FMD photographer | id= ID }}
{{FMD photographer | id= ID | name= NAME }}

Using Wikidata property FMD photographer ID (P2485):

{{FMD photographer}}
{{FMD photographer | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]

URL:

https://www.fashionmodeldirectory.com/photographers/patrick-demarchelier/

Usage:

* {{FMD photographer | patrick-demarchelier | Patrick Demarchelier }}

Output:

Named parameters

[edit]

URL:

https://www.fashionmodeldirectory.com/photographers/esther-haase/

Usage:

* {{FMD photographer | id= esther-haase | name= Esther Haase }}

Output:

No parameters and Wikidata property not defined

[edit]

Usage:

* {{FMD photographer}}

Output:

TemplateData

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

TemplateData for FMD photographer

This template displays an external link to a photographer's profile at the FMD 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 ID portion of the URL. Example: patrick-demarchelier is the ID portion of https://www.fashionmodeldirectory.com/photographers/patrick-demarchelier/. This parameter is optional if Wikidata property P2485 exists, but required if not.

Default
Wikidata property P2485
Stringoptional
namename 2

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

Default
{{PAGENAMEBASE}}
Stringoptional

See also

[edit]