Difference between revisions of "Template:FMD designer/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(Note Wikidata property available for this template, plus other FMD properties.)
imported>Jonesey95
(Fix Linter errors)
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|Fashiondesigner}}}}
+
<div style="font-size: 110%;">{{Template redirect|Fashiondesigner}}</div>
 
{{Wikidata property|P2412|P2266|P2413|P2485|P2486}}
 
{{Wikidata property|P2412|P2266|P2413|P2485|P2486}}
  

Revision as of 01:20, 6 December 2018

Template:Template redirect

Template:Wikidata property

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

Usage

No parameters (uses the Wikipedia article title as the ID string for URL and as the link text):

{{FMD designer}}

One parameter (uses the Wikipedia article title as the link text):

{{FMD designer | ID }}
{{FMD designer | id= ID }}

Two parameters (uses the specified name as the link text):

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

Examples

No parameters

The following example shows a link using the Wikipedia article title in the URL:

http://www.fashionmodeldirectory.com/designers/page-name/

Usage:

{{FMD designer}}

Results:

Template:PAGENAMEBASE at FMDScript error: No such module "EditAtWikidata".

One parameter

The following example shows a link to the page for Giorgio Armani:

http://www.fashionmodeldirectory.com/designers/giorgio-armani/

Usage:

{{FMD designer | giorgio-armani }}
{{FMD designer | id= giorgio-armani }}

Results:

Template:PAGENAMEBASE at FMDScript error: No such module "EditAtWikidata".
Template:PAGENAMEBASE at FMDScript error: No such module "EditAtWikidata".

Two parameters

The following example shows a link to the page for Richie Rich and Traver Rains:

http://www.fashionmodeldirectory.com/designers/richie-rich-and-traver-rains/

Usage:

{{FMD designer | richie-rich-and-traver-rains | Richie Rich and Traver Rains }}
{{FMD designer | id= richie-rich-and-traver-rains | name= Richie Rich and Traver Rains }}

Results:

Richie Rich and Traver Rains at FMDScript error: No such module "EditAtWikidata".
Richie Rich and Traver Rains at FMDScript 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 FMD designer

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

Template parameters

ParameterDescriptionTypeStatus
ID1 id

ID string used in the URL. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation and urlencoded.

Stringoptional
Name2 name

Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Stringoptional

See also