Jump to content

Template:SA Rugby Profile/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
Unnamed parameters
{{SA Rugby Profile | ID }}
{{SA Rugby Profile | ID | NAME }}
{{SA Rugby Profile | ID | NAME | TEAMID }}
Named parameters
{{SA Rugby Profile | id= ID }}
{{SA Rugby Profile | id= ID | name= NAME }}
{{SA Rugby Profile | id= ID | name= NAME | teamid= TEAMID }}
Using Wikidata property P6662
{{SA Rugby Profile}}
{{SA Rugby Profile | name= NAME }}
{{SA Rugby Profile | name= NAME | teamid= TEAMID }}

Examples

[edit]
URL
https://springboks.rugby/teams/player?pid=1297
Usage and Output
* {{SA Rugby Profile | 1297 | Handré Pollard }}Handré Pollard at Springboks.rugby
* {{SA Rugby Profile | id=1297 | name=Handré Pollard }}Handré Pollard at Springboks.rugby

No parameters and Wikidata property not defined

[edit]
Usage
* {{SA Rugby Profile}}
Not defined

Optional teamid parameter

[edit]

Specifying the optional teamid parameter will show an additional "Career" section on the player profile page.
Values are: 1=Springboks, 2=Junior Springboks, 3=Springbok Sevens, 4=Springbok Women's Sevens, 5=Springbok Women, 6=SA Schools.

URL
https://springboks.rugby/teams/player?pid=5112&teamclass=3
Usage and Output
* {{SA Rugby Profile | 5112 | Sako Makata | 3 }}Sako Makata at Springboks.rugby
* {{SA Rugby Profile | id=5112 | name=Saka Makata | teamid=3 }}Saka Makata at Springboks.rugby
* {{SA Rugby Profile | teamid=3 }}