Template:Infobox taser: Difference between revisions

Add templatedata for social medias
Add template doc
Line 50: Line 50:


<noinclude>
<noinclude>
<templatedata>
{{documentation}}
{
"params": {
"player_name": {
"label": "Player Name",
"description": "Name of the TASer / Player",
"example": "Malleo, Justin, Jellopuff",
"type": "string",
"required": true
},
"image": {
"label": "Image",
"description": "Image illustrating the TASer / Player (no private image)",
"type": "wiki-file-name"
},
"other_names": {
"label": "Other names",
"description": "Other names or aliases of the TASer / Player",
"type": "string"
},
"years_active": {
"label": "Years active",
"description": "Period where the TASer / Player was active",
"example": "2012 - 2015 / 2018 - Present",
"type": "string",
"suggested": true
},
"known_for": {
"label": "Known for",
"description": "Major achievements or works done by the TASer / Player",
"type": "string"
},
"country": {
"label": "Country",
"description": "ISO code of the country of the TASer",
"type": "string",
"suggested": true,
"example": "us, fr, de, jp"
},
"mkwrs": {
"label": "mkwrs profile",
"description": "Profile's name as shown in mkwrs.com. !! Case sensitive !!",
"example": "Blake, Logan",
"type": "string"
},
"youtube": {
"label": "Youtube profile",
"description": "Youtube login after the @ in the user's page",
"example": "Malleo, Kierio04",
"type": "string"
},
"twitch": {
"label": "Twitch profile",
"description": "Twitch username",
"example": "kierio04",
"type": "string"
},
"twitter": {
"label": "X/Twitter profile",
"description": "X/Twitter username",
"type": "string"
}
},
"description": "Template for describing a TASer / Player"
}
</templatedata>
</noinclude>
</noinclude>