Templat:Poketype/doc
Penggunaan
suntingThis template uses one or two unnamed parameters to generate a thin (1em wide) wikitable cell with either one or two colors. It is intended for use at the Pokemon lists, such as List of generation III Pokémon, to generate type coloring without having to have long, explicit css coding in every row.
Contoh
sunting{| class=wikitable
!scope="col" colspan=2| [[Pokémon types|Type(s)]]
|-
{{Poketype|{{Pokecolor|Grass}}}} || Grass
|}
Type(s) | |
---|---|
Grass |
{| class=wikitable
!scope="col" colspan=2| [[Pokémon types|Type(s)]]
|-
{{Poketype|{{Pokecolor|Fire}}|{{Pokecolor|Fighting}}}} || Fire / Fighting
|}
Type(s) | |
---|---|
Fire / Fighting |
Data templat
suntingIni dokumennya TemplateData untuk template ini digunakan oleh VisualEditor dan alat lainnya; lihat laporan penggunaan parameter bulanan untuk templat ini.
TemplateData untuk Poketype
This template uses one or two unnamed parameters to output a thin (1em wide) wikitable cell with either one or two colors stacked vertically.
Parameter | Keterangan | Jenis | Status | |
---|---|---|---|---|
First color | 1 | Any valid css color value | Kata | opsional |
Second color | 2 | Any valid css color value | Kata | opsional |