Template:Infobox taser/doc: Difference between revisions

From MKWii TAS Wiki
Jump to navigation Jump to search
Create page
 
Add templatedata to doc page
Line 29: Line 29:
|twitter=}}
|twitter=}}
</syntaxhighlight>
</syntaxhighlight>
=== Template Data ===
<templatedata>
{
"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>

Revision as of 18:23, 27 August 2023

{{Infobox_taser}} should be used to summarize info on TASer pages.

Usage

The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank or omitted will not be displayed.

name

Other names aliases
Country
Years active years_active
Known for known_for
Social Medias
mkwtas Infobox taser/doc
mkwrs mkwrs_profile
Youtube youtube_profile
Twitch twitch_profile
X/Twitter twitter/X_profile


{{Infobox taser
|player_name=
|image=
|other_names=
|country=
|years_active=
|known_for=
|mkwrs=
|youtube=
|twitch=
|twitter=}}

Template Data

Template for describing a TASer / Player

Template parameters

ParameterDescriptionTypeStatus
Player Nameplayer_name

Name of the TASer / Player

Example
Malleo, Justin, Jellopuff
Stringrequired
Imageimage

Image illustrating the TASer / Player (no private image)

Fileoptional
Other namesother_names

Other names or aliases of the TASer / Player

Stringoptional
Years activeyears_active

Period where the TASer / Player was active

Example
2012 - 2015 / 2018 - Present
Stringsuggested
Known forknown_for

Major achievements or works done by the TASer / Player

Stringoptional
Countrycountry

ISO code of the country of the TASer

Example
us, fr, de, jp
Stringsuggested
mkwrs profilemkwrs

Profile's name as shown in mkwrs.com. !! Case sensitive !!

Example
Blake, Logan
Stringoptional
Youtube profileyoutube

Youtube login after the @ in the user's page

Example
Malleo, Kierio04
Stringoptional
Twitch profiletwitch

Twitch username

Example
kierio04
Stringoptional
X/Twitter profiletwitter

X/Twitter username

Stringoptional