Template:TwitchPoké/doc: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Bfdifan2006 (talk | contribs) (Moved from Template talk:TwitchPoké) |
No edit summary |
||
Line 1: | Line 1: | ||
This template is used on the [[Twitch Plays Pokémon]] article and its sub-pages. The template is used within a table to show the contents of PC boxes. | |||
This template is | |||
{| | ==How to use== | ||
! | The template uses numbered parameters, so these should be used in order. Named parameters can be used in any position within the template. It must be used within a table. | ||
! | |||
===Parameters=== | |||
All parameters are case sensitive. | |||
| Generation number | {| class="wikitable" style="background: #e5f1ec;" | ||
|- | |- | ||
! style="background: #d1e5d9" | Parameter | |||
| National Pokédex number. | ! style="background: #d1e5d9" | Allowed values | ||
|- | ! style="background: #d1e5d9" | Notes | ||
|- | |||
| Pokémon name. | | ''<code>1</code>'' | ||
|- | | ''Number'' | ||
| The [[Generation]] number. '''Don't''' use roman numerals. Defaults to <code>3</code>. | |||
| | |- | ||
|- | | ''<code>2</code>'' | ||
| ''National Pokédex number'' | |||
| | | The Pokémon's [[National Pokédex]] number. Defaults to <code>001</code>. | ||
|- | |- | ||
| ''<code>3</code>'' | |||
| | | ''String'' | ||
| The Pokémon's name. Defaults to <code>Bulbasaur</code>. | |||
|- | |||
| <code>nick</code> | |||
| ''String'' | |||
| '''Optional'''. The Pokémon's [[nickname]]. | |||
|- | |||
| ''<code>4</code>'' | |||
| <code>M</code> • <code>♂</code> • <code>F</code> • <code>♀</code> • <code>B</code> • <code>?</code> | |||
| The Pokémon's [[gender]]. Defaults to <code>?</code>. | |||
|- | |||
| ''<code>5</code>'' | |||
| ''Number'' | |||
| The Pokémon's [[level]]. Defaults to <code>100</code> | |||
|- | |- | ||
| ''<code>6</code>'' | |||
| | | ''String'' • <code>None</code> | ||
| The Pokémon's [[held item]]. Defaults to <code>None</code>. | |||
|} | |} | ||
===Example== | ===Syntax=== | ||
The template is written as follows: | |||
<pre>{{TwitchPoké|<<1>>|<<2>>|<<3>>|nick=|<<4>>|<<5>>|<<6>>}}</pre> | |||
For example, <code><nowiki>{{TwitchPoké|3|401|Kricketot|nick=KRICKETOT|M|4|Yellow Shard}}</nowiki></code> creates: | |||
{| | |||
{{TwitchPoké|3|401|Kricketot|nick=KRICKETOT|M|4|Yellow Shard}} | |||
|}{{-}} | |||
==Example== | |||
The template is used together with others within a table to show the contents of a PC. | |||
<pre>{| class="roundy" style="border: 2px solid #464646; background: #F5F5F5" | <pre> | ||
{| class="roundy" style="border: 2px solid #464646; background: #F5F5F5" | |||
! colspan="4" style="{{roundy|5px}}; background: #B190E9" | {{color2|000|Pokémon Storage System|Bill's PC}} | ! colspan="4" style="{{roundy|5px}}; background: #B190E9" | {{color2|000|Pokémon Storage System|Bill's PC}} | ||
|- | |- | ||
{{TwitchPoké|3|396|Starly|nick=STARLY|F|2}} | {{TwitchPoké|3|396|Starly|nick=STARLY|F|2}} | ||
{{TwitchPoké|3|401|Kricketot|nick=KRICKETOT|M|4|Yellow Shard}} | {{TwitchPoké|3|401|Kricketot|nick=KRICKETOT|M|4|Yellow Shard}} | ||
{{TwitchPoké|3|399|Bidoof|nick=BIDOOF| | {{TwitchPoké|3|399|Bidoof|nick=BIDOOF|B|5}} | ||
{{TwitchPoké|3|433|Chingling|nick=CHINGLING| | {{TwitchPoké|3|433|Chingling|nick=CHINGLING|?|14}} | ||
|}</pre> | |} | ||
</pre> | |||
{| class="roundy" style="border: 2px solid #464646; background: #F5F5F5" | {| class="roundy" style="border: 2px solid #464646; background: #F5F5F5" | ||
Line 44: | Line 69: | ||
{{TwitchPoké|3|396|Starly|nick=STARLY|F|2}} | {{TwitchPoké|3|396|Starly|nick=STARLY|F|2}} | ||
{{TwitchPoké|3|401|Kricketot|nick=KRICKETOT|M|4|Yellow Shard}} | {{TwitchPoké|3|401|Kricketot|nick=KRICKETOT|M|4|Yellow Shard}} | ||
{{TwitchPoké|3|399|Bidoof|nick=BIDOOF| | {{TwitchPoké|3|399|Bidoof|nick=BIDOOF|B|5}} | ||
{{TwitchPoké|3|433|Chingling|nick=CHINGLING| | {{TwitchPoké|3|433|Chingling|nick=CHINGLING|?|14}} | ||
|} | |}<noinclude> | ||
[[Category:Documentation templates]]</noinclude> |
Latest revision as of 12:30, 16 April 2022
This template is used on the Twitch Plays Pokémon article and its sub-pages. The template is used within a table to show the contents of PC boxes.
How to use
The template uses numbered parameters, so these should be used in order. Named parameters can be used in any position within the template. It must be used within a table.
Parameters
All parameters are case sensitive.
Parameter | Allowed values | Notes |
---|---|---|
1
|
Number | The Generation number. Don't use roman numerals. Defaults to 3 .
|
2
|
National Pokédex number | The Pokémon's National Pokédex number. Defaults to 001 .
|
3
|
String | The Pokémon's name. Defaults to Bulbasaur .
|
nick
|
String | Optional. The Pokémon's nickname. |
4
|
M • ♂ • F • ♀ • B • ?
|
The Pokémon's gender. Defaults to ? .
|
5
|
Number | The Pokémon's level. Defaults to 100
|
6
|
String • None
|
The Pokémon's held item. Defaults to None .
|
Syntax
The template is written as follows:
{{TwitchPoké|<<1>>|<<2>>|<<3>>|nick=|<<4>>|<<5>>|<<6>>}}
For example, {{TwitchPoké|3|401|Kricketot|nick=KRICKETOT|M|4|Yellow Shard}}
creates:
|
Example
The template is used together with others within a table to show the contents of a PC.
{| class="roundy" style="border: 2px solid #464646; background: #F5F5F5" ! colspan="4" style="{{roundy|5px}}; background: #B190E9" | {{color2|000|Pokémon Storage System|Bill's PC}} |- {{TwitchPoké|3|396|Starly|nick=STARLY|F|2}} {{TwitchPoké|3|401|Kricketot|nick=KRICKETOT|M|4|Yellow Shard}} {{TwitchPoké|3|399|Bidoof|nick=BIDOOF|B|5}} {{TwitchPoké|3|433|Chingling|nick=CHINGLING|?|14}} |}
Bill's PC | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
|
|