Template:HeldItems/Games1: Difference between revisions
Tiddlywinks (talk | contribs) m Protected "Template:HeldItems/Games1": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
Tiddlywinks (talk | contribs) m readability |
||
Line 1: | Line 1: | ||
|- | <noinclude>{{HeldItems/header|type=Fairy}} | ||
! style="background:#{{{gcolor|{{{{{1| | </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 |
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
- 1: the game to show in this template (for Pokémon Yellow Version: "Yellow")
- 3: the page title for the game shown by this template, so that it can be linked (for Pokémon Yellow Version: "Pokémon Yellow Version")
- 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 | ![]() |