Template:Infobox taser: Difference between revisions
No edit summary Tag: Reverted |
mNo edit summary |
||
(38 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Infobox_taser/styles.css" /> | |||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{player_name|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title mb-3">{{{player_name|{{PAGENAME}}}}}</div> | ||
<div class="infobox-image">[[File:{{{image}}}| | {{#if:{{{image|}}}| | ||
<table>{{#if:{{{other_names|}}}|<tr> | <div class="infobox-image">[[File:{{{image}}}|250px]]</div> | ||
<th>Other names</th> | }} | ||
<hr> | |||
<table> | |||
{{#if:{{{other_names|}}}|<tr> | |||
<th class="nowrap">Other names</th> | |||
<td>{{{other_names}}}</td> | <td>{{{other_names}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}} | ||
<th> | {{#if:{{{country|}}}|<tr> | ||
<td>{{{ | <th class="nowrap">Country</th> | ||
</tr>}}{{#if:{{{years_active|}}}|<tr> | <td class="infobox-data">{{Country |1={{{country}}} }} <span>[[{{Country-flags|{{{country}}}}}|x12px|border]]</span></td> | ||
<th>Years active</th> | </tr>}} | ||
{{#if:{{{years_active|}}}|<tr> | |||
<th class="nowrap">Years active</th> | |||
<td>{{{years_active}}}</td> | <td>{{{years_active}}}</td> | ||
</tr>}}{{#if:{{{known_for|}}}|<tr> | </tr>}} | ||
<th>Known for</th> | {{#if:{{{known_for|}}}|<tr> | ||
<th class="nowrap">Known for</th> | |||
<td>{{{known_for}}}</td> | <td>{{{known_for}}}</td> | ||
</tr>}}</table> | </tr>}} | ||
{{collapsed infobox section begin|div=yes|Social Medias|expanded=yes|titlestyle=background-color:#acdfef}} | |||
<tr> | |||
<th class="nowrap">mkwtas</th> | |||
<td>[https://mkwtas.com/player.php?name={{#if:{{{mkwtas|}}}| {{#replace: {{{mkwtas}}} | | _}} {{{mkwtas}}} | {{#replace: {{PAGENAME}} | | _}} {{PAGENAME}} }}] [[File:Mkwtas_icon.png|right|x18px|border]]</td> | |||
</tr> | |||
{{#if:{{{mkwrs|}}}|<tr> | |||
<th class="nowrap">mkwrs</th> | |||
<td>[https://mkwrs.com/mkwii/profile.php?player={{{mkwrs}}} {{{mkwrs}}}] [[File:Mkwrs_icon.png|right|x18px|border]]</td> | |||
</tr>}} | |||
{{#if:{{{youtube|}}}|<tr> | |||
<th class="nowrap">Youtube</th> | |||
<td>[https://www.youtube.com/@{{{youtube}}} {{{youtube}}}] [[File:YouTube full-color icon (2017).svg|right|x18px|border]]</td> | |||
</tr>}} | |||
{{#if:{{{twitch|}}}|<tr> | |||
<th class="nowrap">Twitch</th> | |||
<td>[https://www.twitch.tv/{{{twitch}}} {{{twitch}}}] [[File:Twitch icon 2012.svg|right|x18px|border]]</td> | |||
</tr>}} | |||
{{#if:{{{twitter|}}}|<tr> | |||
<th class="nowrap">X/Twitter</th> | |||
<td>[https://twitter.com/{{{twitter}}} {{{twitter}}}] [[File:X logo 2023.svg|right|x18px|border]]</td> | |||
</tr>}} | |||
{{collapsed infobox section end}} | |||
</table> | |||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
{{documentation}} | |||
[[Category:Mario Kart Wii Templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 23:38, 29 September 2025
{{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.
Other names | aliases | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Country |
![]() |
||||||||||||
Years active | years_active | ||||||||||||
Known for | known_for | ||||||||||||
|
{{Infobox taser |player_name= /* If not set, player_name = page name */ |image= |other_names= |country= |years_active= |known_for= |mkwtas= |mkwrs= |youtube= |twitch= |twitter=}}
Template Data
Template for describing a TASer / Player
Parameter | Description | Type | Status | |
---|---|---|---|---|
Player Name | player_name | Name of the TASer / Player
| String | required |
Image | image | Image illustrating the TASer / Player (no private image) | File | optional |
Other names | other_names | Other names or aliases of the TASer / Player | String | optional |
Years active | years_active | Period where the TASer / Player was active
| String | suggested |
Known for | known_for | Major achievements or works done by the TASer / Player | String | optional |
Country | country | ISO code of the country of the TASer
| String | suggested |
mkwtas | mkwtas mkwtas.com profile | mkwtas.com profile (TASer name as displayed in the URL) | String | optional |
mkwrs profile | mkwrs | Profile's name as shown in mkwrs.com. !! Case sensitive !!
| String | optional |
Youtube profile | youtube | Youtube login after the @ in the user's page
| String | optional |
Twitch profile | twitch | Twitch username
| String | optional |
X/Twitter profile | twitter | X/Twitter username | String | optional |