Template:FIL/doc: Difference between revisions
m add example for missing ID using AWB |
|||
Line 87: | Line 87: | ||
}}</includeonly> |
}}</includeonly> |
||
[[Category:External link templates using Wikidata]] |
Revision as of 19:12, 5 March 2017
This is a documentation subpage for Template:FIL. It may contain usage information, categories and other content that is not part of the original template page. |
- FIL athlete ID (P2990) (see uses)
This template uses Lua: |
Template:FIL displays an external link to a luge athlete's profile at www.FIL-Luge.org, the official website of the International Luge Federation (FIL: Fédération Internationale de Luge de Course). It is intended for use in the external links section of an article.
Usage
Unnamed parameters:
{{FIL | ID }}
{{FIL | ID | NAME }}
Named parameters:
{{FIL | id= ID }}
{{FIL | id= ID | name= NAME }}
Using Wikidata property P2990:
{{FIL}}
{{FIL | name= NAME }}
TemplateData
TemplateData for FIL
This template displays an external link to a luge athlete's profile at www.FIL-Luge.org, the official website of the International Luge Federation (FIL: Fédération Internationale de Luge de Course). 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 the URL. Example: veronika-halder is the ID portion of http://www.fil-luge.org/en/athletes/veronika-halder. This parameter is optional if Wikidata property P2990 exists, but required if not.
| String | required |
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 athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(luger)".
| String | optional |
.
Examples
Unnamed parameters
URL:
Usage:
{{FIL | veronika-halder | Veronika Halder }}
Output:
Named parameters
URL:
Usage:
{{FIL |id= gerhard-plankensteiner |name= Gerhard Plankensteiner }}
Output:
No parameters and Wikidata property not defined
Usage:
{{FIL}}
Output:
- {{FIL}} template missing ID and not present in Wikidata.
Tracking categories
- "id" parameter exists
- Category:FIL ID not in Wikidata (0)
- Category:FIL ID different from Wikidata (0)
- Category:FIL ID same as Wikidata (0)
- "id" parameter does not exist