Template:Black Ferns
This template uses Lua: |
Template:Black Ferns displays an external link to a rugby union player's page at the website of the New Zealand women's national rugby union team, commonly known as the Black Ferns. It is intended for use in the external links section of an article.
Usage
[edit]- Using article for name
{{Black Ferns | new_id= NEW ID }}
{{Black Ferns | new_id= NEW ID | old_id= OLD ID }}
{{Black Ferns | old_id= OLD ID }}
{{Black Ferns | id= OLD ID }}
{{Black Ferns | OLD ID }}
- Using parameter for name
{{Black Ferns | new_id= NEW ID | name= NAME }}
{{Black Ferns | new_id= NEW ID | old_id= OLD ID | name= NAME }}
{{Black Ferns | old_id= OLD ID | name= NAME }}
{{Black Ferns | id= OLD ID | name= NAME }}
{{Black Ferns | OLD ID | NAME }}
- Using Wikidata property
{{Black Ferns}}
{{Black Ferns | name= NAME }}
Examples
[edit]Example 1
[edit]- Usage in Kendra Cocksedge
* {{Black Ferns | new_id= Kendra-Cocksedge-BF-142 }}
* {{Black Ferns | new_id= Kendra-Cocksedge-BF-142 | old_id= 5146 }}
* {{Black Ferns | old_id= 5146 }}
* {{Black Ferns | 5146 }}
- Output
-
- Kendra Cocksedge at the Black Ferns
- Kendra Cocksedge at the Black Ferns (archive)
- Kendra Cocksedge at the Black Ferns (archived)
- Kendra Cocksedge at the Black Ferns (archived)
Example 2
[edit]- Usage in Charmaine Smith (rugby union)
* {{Black Ferns | new_id= Charmaine-Smith-BF-182 }}
* {{Black Ferns | new_id= Charmaine-Smith-BF-182 | old_id= 5185 }}
* {{Black Ferns | old_id= 5185 }}
* {{Black Ferns | id= 5185 }}
- Output
-
- Charmaine Smith at the Black Ferns
- Charmaine Smith at the Black Ferns (archive)
- Charmaine Smith at the Black Ferns (archived)
- Charmaine Smith at the Black Ferns (archived)
No parameters and Wikidata property not defined
[edit]- Usage
* {{Black Ferns}}
- Output
-
- {{Black Ferns}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for Black Ferns
This template displays an external link to a rugby union player's page at the website of the New Zealand women's national rugby union team, commonly known as the Black Ferns. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Current ID | new_id | The ID portion of the current URL, such as Kendra-Cocksedge-BF-142 in https://stats.allblacks.com/all-players/profile/Kendra-Cocksedge-BF-142. This parameter is optional if using the "old_id" parameter or if Wikidata property P5636 exists, but required if not. | String | optional |
Former ID | old_id id 1 | The ID number in the former URL, such as 5146 in http://stats.allblacks.com/asp/profile_bf.asp?BFID=5146. This parameter is optional if using the "new_id" parameter or if Wikidata property P5636 exists, but required if not.
| Number | optional |
Name | name 2 | The link text, which should be the name of the rugby union player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(rugby union)"
| String | optional |
See also
[edit]- {{All Blacks}} for profiles of players on the New Zealand men's national rugby union team