Difference between revisions of "Template:FMD designer/doc"
imported>Zyxw (updates for use of Wikidata and tracking of missing ID) |
imported>Zyxw m (update categories) |
||
| Line 89: | Line 89: | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| − | [[Category:Fashion templates]] | + | [[Category:Fashion external link templates]] |
[[Category:People and person external link templates]] | [[Category:People and person external link templates]] | ||
[[Category:External link templates using Wikidata]] | [[Category:External link templates using Wikidata]] | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 17:12, 24 March 2019
| This is a documentation subpage for Template:FMD designer. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
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
- {{IMDb name}}
- {{Official website}}