Difference between revisions of "Template:Fashionmodel"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(Use https to avoid redirect at website. Update link and tracking category.)
imported>Joeyconnick
(no layperson would know what "FMD" stood for, so use full name rather than acronym)
 
Line 1: Line 1:
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P2266}}
 
{{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P2266}}
  
| [https://www.fashionmodeldirectory.com/models/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2266}}|sep=,}} }}/ {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[Fashion Model Directory|FMD]]<includeonly>{{EditAtWikidata|pid=P2266|{{{id|{{{1|}}}}}}}}</includeonly>
+
| [https://www.fashionmodeldirectory.com/models/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2266}}|sep=,}} }}/ {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[Fashion Model Directory]]<includeonly>{{EditAtWikidata|pid=P2266|{{{id|{{{1|}}}}}}}}</includeonly>
  
 
| <span class="error">&#123;&#123;[[Template:FMD model|FMD model]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:FMD model template missing ID and not in Wikidata]]}}
 
| <span class="error">&#123;&#123;[[Template:FMD model|FMD model]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:FMD model template missing ID and not in Wikidata]]}}

Latest revision as of 18:13, 22 April 2019

{{{name}}} at 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 model'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/models/emily_ratajkowski/

Usage:

Template:Tlcw

Output:

Named parameters

URL:

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

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 Fashionmodel

This template displays an external link to a model'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: emily_ratajkowski is the ID portion of https://www.fashionmodeldirectory.com/models/emily_ratajkowski/. This parameter is optional if Wikidata property P2266 exists, but required if not.

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

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking category

See also