Template:HeldItems/Games1: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
⧼bulbapediamonobook-jumptonavigation⧽⧼bulbapediamonobook-jumptosearch⧽
m Protected "Template:HeldItems/Games1": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
m readability
 
Line 1: Line 1:
|-
<noinclude>{{HeldItems/header|type=Fairy}}
! style="background:#{{{gcolor|{{{{{1|???}}} color}}}}}" colspan="2" | {{color2|{{{tcolor|000}}}|{{{2|???}}}|{{{1|???}}}}}<noinclude>
</noinclude>|-
! style="background-color: #{{{gcolor|{{{{{1|Red}}} color}}}}}" colspan="2" | {{color2|{{{tcolor|000}}}|{{{2|Pokémon Red and Blue Versions}}}|{{{1|Red}}}}}<noinclude>
| style="background-color: #FFF" |
|}


{{documentation}}
{{documentation}}

Latest revision as of 04:07, 24 August 2023

Games Held items
Red



Template documentation
Note: portions of the template sample may not be visible without values provided.

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%)