Difference between revisions of "Template:FMD designer"

From blackwiki
Jump to navigation Jump to search
imported>WikiU2013
(in line with Template:Fashionmodel)
imported>Zyxw
(Remove unused and undocumented "site" parameter, not needed since template only links to one site. Use {{PAGENAMEBASE}} template to remove any disambiguation when using {{PAGENAME}}.)
Line 1: Line 1:
{{#switch:{{lc:{{{site|}}}}}
+
[http://www.fashionmodeldirectory.com/designers/{{urlencode:{{{1|{{{id|{{PAGENAMEBASE}}}}}}}}}}/ {{{2|{{{name|{{PAGENAMEBASE}}}}}}}}] at the [[Fashion Model Directory]]<noinclude>
|FMD| =[http://www.fashionmodeldirectory.com/designers/
 
}}{{urlencode:{{{1|{{{id|{{BASEPAGENAME}}}}}}}}}}/ {{{2|{{{name|{{BASEPAGENAME}}}}}}}}] at the {{{site|[[Fashion Model Directory]]}}}<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 17:26, 10 December 2014

Template:PAGENAMEBASE at the Fashion Model Directory

50px Template documentation[view] [edit] [history] [purge]

Template:Template redirect Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value). Template:Uses Wikidata

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

Usage

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property Template:Property:

Template:Tlcw
Template:Tlcw

Examples

Unnamed parameters

URL:

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

Usage:

Template:Tlcw

Output:

Named parameters

URL:

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

Usage:

Template:Tlcw

Output:

No parameters and Wikidata property not defined

Usage:

Template:Tlcw

Output:

TemplateData

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 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: giorgio-armani is the ID portion of https://www.fashionmodeldirectory.com/designers/giorgio-armani/. This parameter is optional if Wikidata property P2412 exists, but required if not.

Default
Wikidata property P2412
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 designer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(designer)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking category

See also