Template:HeldItems/Games1

From Bulbapedia, the community-driven Pokémon encyclopedia.
< Template:HeldItems
Revision as of 04:07, 24 August 2023 by Tiddlywinks (talk | contribs) (readability)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Games Held items
Red



Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

This template is used to build the Games column of a table that shows which items a Pokémon can hold or drop. It is meant to be used on its species page. This template shows a single, unpaired game, while Template:HeldItems/Games2 shows two paired games. (Note that this should not be used for "event" items: those are no longer intended to be in these tables, in contrast to the template this is replacing.)

Other pages used to create these tables include: Template:HeldItems/header, Template:HeldItems/Items1, Template:HeldItems/Items2, Template:HeldItems/Items3, and Template:HeldItems/ItemsLA. (See this page to check if there are any others that have not been added.)

Parameters

Unnamed
Named
  • gcolor (optional): an override for the game's background color; defaults to the value of parameter 1
  • tcolor (optional): a color for the game's text; defaults to black

Usage

A basic usage of Games1 is as follows.

{{HeldItems/header|type=Fairy}}
{{HeldItems/Games1|Legends: Arceus|Pokémon Legends: Arceus}}
{{HeldItems/Items1|Moon Stone|5}}
|}
Games Held items
Legends: Arceus

In cases like above, however, the text may be hard to read, so you can use the tcolor parameter to make it easier to see.

{{HeldItems/header|type=Fairy}}
{{HeldItems/Games1|Legends: Arceus|tcolor=FFF|Pokémon Legends: Arceus}}
{{HeldItems/Items1|Moon Stone|5}}
|}
Games Held items
Legends: Arceus

The gcolor parameter can be used for a game that may not have a color. (Most core series games should have colors.)

{{HeldItems/header|type=Fairy}}
{{HeldItems/Games1|Stadium|gcolor=000|tcolor=FFF|Pokémon Stadium}}
{{HeldItems/Items1|Normal Box|100|image=None.png}}
|}
Games Held items
Stadium
Normal Box Normal Box (100%)