Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a29e70a24f7da3ae

Jump to content

Template:Poketype/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This 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. It is recommended that these colors be generated using the {{Pokecolor}} template, which allows colors to be specified with Pokémon types.

Examples

[edit]
{| class=wikitable
!scope="col" colspan=2| Type(s)
|-
{{Poketype|{{Pokecolor|Grass}}}} || Grass
|}
Type(s)
 Grass
{| class=wikitable
!scope="col" colspan=2| Type(s)
|-
{{Poketype|{{Pokecolor|Fire}}|{{Pokecolor|Fighting}}}} || Fire / Fighting
|}
Type(s)
 Fire / Fighting

Template data

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Poketype in articles based on its TemplateData.

TemplateData for 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.

Template parameters

ParameterDescriptionTypeStatus
First color1

Any valid css color value

Stringoptional
Second color2

Any valid css color value

Stringoptional