Template:World Rugby Hall of Fame/doc
This is a documentation subpage for Template:World Rugby Hall of Fame. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:World Rugby Hall of Fame displays an external link to an inductee's profile at the World Rugby Hall of Fame. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{World Rugby Hall of Fame | ID }}
{{World Rugby Hall of Fame | ID | NAME }}
- Named parameters
{{World Rugby Hall of Fame | id= ID }}
{{World Rugby Hall of Fame | id= ID | name= NAME }}
- Using Wikidata property
{{World Rugby Hall of Fame}}
{{World Rugby Hall of Fame | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{World Rugby Hall of Fame | 706542 | Anna Richards }}
- Output
- URL with current ID number
- https://www.world.rugby/halloffame/inductees/706542
- URL with former ID number
- https://www.world.rugby/halloffame/inductees/31428 (archive 2022-06-29)
Named parameters
[edit]- Usage
* {{World Rugby Hall of Fame | id= 704787 | name= Melrose RFC }}
- Output
- URL with current ID number
- https://www.world.rugby/halloffame/inductees/704787
- URL with former ID number
- https://www.world.rugby/halloffame/inductees/59182 (archive 2022-03-26)
No parameters and Wikidata property not defined
[edit]- Usage
* {{World Rugby Hall of Fame}}
- Output
-
- {{World Rugby Hall of Fame}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for World Rugby Hall of Fame
This template displays an external link to an inductee's profile at the World Rugby Hall of Fame. 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 URL, such as 706542 in https://www.world.rugby/halloffame/inductees/706542. This parameter is optional if Wikidata property P4604 exists, but required if not.
| Number | optional |
name | name 2 | The link text, which should be the name of the rugby player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(rugby union)".
| String | optional |
External links
[edit]