Difference between revisions of "Template:Fashionmodel/doc"

From blackwiki
Jump to navigation Jump to search
imported>ShakespeareFan00
m (Mismatched formatting repaired)
imported>Jonesey95
(fix linter errors (misc tidy formatting error, div inside of span))
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- 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}}}}
+
{{Template redirect|FMD model}}
 
{{Lua|Module:EditAtWikidata}}
 
{{Lua|Module:EditAtWikidata}}
 
{{Uses Wikidata|P2266}}
 
{{Uses Wikidata|P2266}}

Revision as of 06:03, 26 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