Template:HeldItems/header

From Bulbapedia, the community-driven Pokémon encyclopedia.
< Template:HeldItems
Revision as of 23:19, 15 July 2024 by Boblers (talk | contribs) (add nocat functionality)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Games Held items



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 create the top row of a table that shows which items a Pokémon can hold or drop. It is meant to be used on its species page.

Other pages used to create these tables include: Template:HeldItems/Games1, Template:HeldItems/Games2, 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.)

To end a table created with this header, you must place |} on the last line after all other code creating the table.

Parameters

Named
  • type: the first type of the Pokémon whose page this is on; used as the primary color for table, mainly seen in the header row.
  • type2 (optional): the second type of the Pokémon whose page this is on, if it has a second type; used as the border color for this table, defaults to a dark version of the first type.

Usage

This template can be used with one type or two.

{{HeldItems/Games2|Gold|Silver|Pokémon Gold and Silver Versions}}
{{HeldItems/Items2|MysteryBerry|23|Moon Stone|2|rows=2|image1=None.png}}
Games Held items
{{HeldItems/header|type=Water|type2=Fire}}
|}
Games Held items