Template:World Archery/doc
This is a documentation subpage for Template:World Archery. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:World Archery displays an external link to an archer's profile at the official website of World Archery (formerly FITA: Fédération Internationale de Tir à l'Arc), which is the international governing body for the sport of archery. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{World Archery | ID }}
{{World Archery | ID | NAME }}
- Named parameters
{{World Archery | id= ID }}
{{World Archery | id= ID | name= NAME }}
- Using Wikidata property
{{World Archery}}
{{World Archery | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage in Sara López
{{World Archery | 9718/sara-lopez }}
{{World Archery | 9718 | Sara Lopez }}
- Output
- Sara López at World Archery
- Sara Lopez at World Archery
Named parameters
[edit]- Usage in Kim Woo-jin (archer)
{{World Archery | id= 8179/kim-woojin }}
{{World Archery | id= 8179 | name= Kim Woojin }}
- Output
- Kim Woo-jin at World Archery
- Kim Woojin at World Archery
No parameters and Wikidata property not defined
[edit]- Usage
{{World Archery}}
- Output
- {{World Archery}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for World Archery
This template displays an external link to an archer's profile at the official website of World Archery (formerly FITA: Fédération Internationale de Tir à l'Arc), which is the international governing body for the sport of archery. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID portion of the URL, such as 9718/sara-lopez or 9718 in https://worldarchery.org/athlete/9718/sara-lopez. This parameter is optional if Wikidata property P3010 exists, but required if not.
| String | optional |
name | name 2 | The link text, which should be the name of the archer. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(archer)".
| String | optional |
External links
[edit]