Difference between revisions of "Template:Fashionmodel/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(→‎See also: update link)
imported>Zyxw
(note other FMD properties available at Wikidata)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{Larger|{{Template redirect|FMD model}}}}
 
{{Larger|{{Template redirect|FMD model}}}}
 +
{{Lua|Module:EditAtWikidata}}
 
{{Uses Wikidata|P2266}}
 
{{Uses Wikidata|P2266}}
{{Lua|Module:EditAtWikidata}}
+
{{Wikidata property|P2412|P2413|P2485|P2486}}
  
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a model's profile at the [[Fashion Model Directory]] (FMD) website.
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a model's profile at the [[Fashion Model Directory]] (FMD) website.

Revision as of 04:02, 3 August 2018

Template:Template redirect

Template:Uses Wikidata Template:Wikidata property

Template:Fashionmodel displays an external link to a model's profile at the Fashion Model Directory (FMD) website.

Usage

Without parameters (uses ID from Wikidata and title from article)
{{Fashionmodel}}
One parameter (uses the Wikipedia article title as the link text)
{{Fashionmodel|ID}}
{{Fashionmodel|id=ID}}
Two parameters (uses the specified name as the link text)
{{Fashionmodel|ID|NAME}}
{{Fashionmodel|id=ID|name=NAME}}

Examples

One parameter

The following example shows a link to the FMD model profile for Emily Ratajkowski:

http://www.fashionmodeldirectory.com/models/emily_ratajkowski/

Usage:

{{Fashionmodel|emily_ratajkowski}}
{{Fashionmodel|id=emily_ratajkowski}}

Results:

Template:PAGENAMEBASE at Fashion Model DirectoryScript error: No such module "EditAtWikidata".
Template:PAGENAMEBASE at Fashion Model DirectoryScript error: No such module "EditAtWikidata".

Two parameters

The following example shows a link to the FMD model profile for Georgia May Jagger:

http://www.fashionmodeldirectory.com/models/Georgia+May_Jagger/

Usage:

{{Fashionmodel|Georgia+May_Jagger|Georgia May Jagger}}
{{Fashionmodel|id=Georgia+May_Jagger|name=Georgia May Jagger}}

Results:

Georgia May Jagger at Fashion Model DirectoryScript error: No such module "EditAtWikidata".
Georgia May Jagger at Fashion Model DirectoryScript error: No such module "EditAtWikidata".

No parameters and Wikidata property not defined

Usage:

{{Fashionmodel}}

Output:

Template:PAGENAMEBASE at Fashion Model DirectoryScript error: No such module "EditAtWikidata".

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Fashionmodel

This template displays an external link to a model's profile at the Fashion Model Directory (FMD) website.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
IDid 1

ID string used in the URL.

Stringoptional
Namename 2

Name displayed in the link text. If not specified it defaults to the article's title without disambiguation.

Stringoptional

Tracking categories

See also