Template:IGHOF/doc
This is a documentation subpage for Template:IGHOF. It may contain usage information, categories and other content that is not part of the original template page. |
- IGHOF athlete ID (P4469) (see uses)
This template uses Lua: |
Template:IGHOF displays an external link to an honoree's profile at the International Gymnastics Hall of Fame (IGHOF) website. It is intended for use in the external links section of an article. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{IGHOF | ID }}
{{IGHOF | ID | NAME }}
- Named parameters
{{IGHOF | id= ID }}
{{IGHOF | id= ID | name= NAME }}
- Using Wikidata property
{{IGHOF}}
{{IGHOF | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage in the article Tatiana Lysenko, with article name as link text
* {{IGHOF | 2016_Tatiana_Lysenko }}
- Usage with name parameter as link text
* {{IGHOF | 2016_Tatiana_Lysenko | Tatiana Lysenko (Ukraine) – Class of 2016 }}
- URLs
- https://www.ighof.com/inductees/2016_Tatiana_Lysenko.php
- https://www.ighof.com/honorees/2016_Tatiana_Lysenko.php (redirect to URL above)
Named parameters
[edit]- Usage in the article Shuji Tsurumi, with article name as link text
* {{IGHOF | id= 2008_Shuji_Tsurumi }}
- Usage with name parameter as link text
* {{IGHOF | id= 2008_Shuji_Tsurumi | name= Shuji Tsurumi (Japan) – Class of 2008 }}
- URLs
- https://www.ighof.com/inductees/2008_Shuji_Tsurumi.php
- https://www.ighof.com/honorees/2008_Shuji_Tsurumi.php (redirect to URL above)
No ID in template or Wikidata
[edit]- Usage
* {{IGHOF}}
- {{IGHOF}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for IGHOF
This template displays an external link to an honoree's profile at the International Gymnastics Hall of Fame (IGHOF) website. It is intended for use in the external links section of an article. 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 2016_Tatiana_Lysenko in https://www.ighof.com/inductees/2016_Tatiana_Lysenko.php or https://www.ighof.com/honorees/2016_Tatiana_Lysenko.php. This parameter is optional if Wikidata property P4469 exists, but required if not.
| String | optional |
name | name 2 | The link text, which should be the name of the gymnast. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(gymnast)".
| String | optional |
See also
[edit]- {{FIG}} for links to profiles at the International Gymnastics Federation website
External links
[edit]