Difference between revisions of "Template:FMD designer"
imported>Zyxw m (Zyxw moved page Template:Fashiondesigner to Template:FMD designer over redirect: more accurate name to indicate link to FMD website) |
imported>Zyxw (Use https to avoid redirect at website. When ID not specified, use Wikidata property P2412 if available and add edit link. Display message and add tracking category if no ID and no Wikidata.) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | [ | + | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P2412}} |
| − | {{ | + | |
| + | | [https://www.fashionmodeldirectory.com/designers/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2412}}|sep=,}} }}/ {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] at [[Fashion Model Directory|FMD]]<includeonly>{{EditAtWikidata|pid=P2412|{{{id|{{{1|}}}}}}}}</includeonly> | ||
| + | |||
| + | | <span class="error">{{[[Template:FMD designer|FMD designer]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:FMD designer template missing ID and not in Wikidata]]}} | ||
| + | |||
| + | }}<noinclude> | ||
| + | {{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 14:29, 24 March 2019
{{{name}}} at FMD
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.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property Template:Property:
Examples
Unnamed parameters
URL:
Usage:
Output:
- Giorgio Armani at FMDScript error: No such module "EditAtWikidata".
Named parameters
URL:
Usage:
Output:
- Richie Rich and Traver Rains at FMDScript error: No such module "EditAtWikidata".
No parameters and Wikidata property not defined
Usage:
Output:
- Template:PAGENAMEBASE at FMDScript error: No such module "EditAtWikidata".
TemplateData
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id 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.
| String | optional |
| name | name 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)".
| String | optional |
Tracking category
See also
- {{FMD model}} for link to a model's profile at the FMD website
- {{FMD photographer}} for link to a photographer's profile at the FMD website
- {{IMDb name}}
- {{Official website}}
| The above documentation is transcluded from Template:FMD designer/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |