Template:IFSC profile/doc
This is a documentation subpage for Template:IFSC profile. It may contain usage information, categories and other content that is not part of the original template page. |
- IFSC climber ID (P3690) (see uses)
This template uses Lua: |
Template:IFSC profile displays an external link to an sport climber's profile at IFSC-climbing.org the official website of the International Federation of Sport Climbing (IFSC). It is intended for use in the external links section of an article.
Usage
[edit]- Current ID number in Wikidata
{{IFSC profile}}
{{IFSC profile | name= NAME }}
- Current ID number in template
{{IFSC profile | id= ID }}
{{IFSC profile | id= ID | name= NAME }}
{{IFSC profile | ID }}
{{IFSC profile | ID | NAME }}
- Current and former ID numbers in template
{{IFSC profile | id= ID | old_id= OLD_ID }}
{{IFSC profile | id= ID | old_id= OLD_ID | archive= NUMBER }}
{{IFSC profile | id= ID | name= NAME | old_id= OLD_ID }}
{{IFSC profile | id= ID | name= NAME | old_id= OLD_ID | archive= NUMBER }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{IFSC profile | 309 | Chloé Graftiaux }}
- Output
- Current URLs
- https://www.ifsc-climbing.org/athlete/309/-
- https://www.ifsc-climbing.org/athlete/309/chloe-graftiaux
- Former URL (same ID number)
- https://www.ifsc-climbing.org/index.php?option=com_ifsc&task=athlete.display&id=309 (archive 2024-01-27)
Named parameters
[edit]- Usage
* {{IFSC profile |id=12737 |name=Libor Hroza }}
* {{IFSC profile |id=12737 |name=Libor Hroza |old_id=5651 }}
* {{IFSC profile |id=12737 |name=Libor Hroza |old_id=5651 |archive=20190507211443 }}
- Output
- Current URLs
- https://www.ifsc-climbing.org/athlete/12737/-
- https://www.ifsc-climbing.org/athlete/12737/libor-hroza
- Former URL (same ID number)
- https://www.ifsc-climbing.org/index.php?option=com_ifsc&task=athlete.display&id=12737 (archive 2024-02-06)
- Former URL from 2019 and earlier (different ID number)
- http://www.ifsc-climbing.org/index.php?option=com_ifsc&view=athlete&id=5651 (archive 2019-02-16)
Using Wikidata property
[edit]- Usage in article for Alannah Yip
* {{IFSC profile}}
- Output
- Current URLs
- https://www.ifsc-climbing.org/athlete/1565/-
- https://www.ifsc-climbing.org/athlete/1565/alannah-yip
- Former URL (same ID number)
- https://www.ifsc-climbing.org/index.php?option=com_ifsc&task=athlete.display&id=1565 (archive 2024-02-22)
No parameters and Wikidata property not defined
[edit]- Usage
* {{IFSC profile}}
- Output
-
- {{IFSC profile}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for IFSC profile
This template displays an external link to an sport climber's profile at IFSC-climbing.org the official website of the International Federation of Sport Climbing (IFSC). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The ID number in the current URL, such as 12737 in https://www.ifsc-climbing.org/athlete/12737/libor-hroza. This parameter is optional if Wikidata property P3690 exists, but required if not.
| Number | optional |
name | name 2 | The link text, which should be the name of the climber. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(climber)".
| String | optional |
Old ID | old_id | The ID number in the former URL, such as 5651 in http://www.ifsc-climbing.org/index.php?option=com_ifsc&view=athlete&id=5651. This displays a second link to an archived copy of the climber's profile under the former ID number.
| Number | optional |
Archive Date/Time | archive | A number representing the date/time in an Internet Archive URL, such as 20190216031423 in https://web.archive.org/web/20190216031423/http://www.ifsc-climbing.org/index.php?option=com_ifsc&view=athlete&id=5651.
| Number | optional |
External links
[edit]