Template:LocationHeader creates a table header that lists a rarity or location grouping.
Usage
{{LocationHeader|<rarity or location>|colspan=(optional)|text=(optional)}}
This template should only be used inside a table, and it should be in a table header (prefixed with !).
- The first unnamed parameter is a rarity or location. Valid values are:
- For rarity:
- common (6 columns wide)
- rare (3 columns wide)
- legendary (1 column wide)
- ultra (1 column wide)
- paradox (1 column wide)
- For location (all types are 6 columns wide):
- grass day
- grass night
- water
- water day
- water night
- cave
- cave water
- cave lava
- land
- floor
- The colspan parameter is optional, and lets you set a custom number of columns that the header should span. If omitted, it will default to whatever is standard for that type.
- The text parameter is optional, and lets you set custom header text for any of the location types. If omitted, it will default to whatever is standard for that type.
Example
Basic
{|
! {{LocationHeader|ultra}}
|}
Produces:
With text
{|
! {{LocationHeader|grass day|text=Whoever reads this is a loser}}
|}
Produces:
| Whoever reads this is a loser
|
Full
{|
! {{LocationHeader|water night}}
|-
! {{LocationHeader|common}}
|-
| ...
|-
! {{LocationHeader|rare}}
! {{LocationHeader|legendary}}
! {{LocationHeader|ultra}}
! {{LocationHeader|paradox}}
|-
| ...
|}
Produces (with placeholder values in cells):
| Night Time / Water Encounters
|
| Common
|
| common 1
|
common 2
|
common 3
|
common 4
|
common 5
|
common 6
|
| Rare
|
Legendary
|
Ultra Beast
|
Paradox
|
| rare 1
|
rare 2
|
rare 3
|
legendary
|
ultra
|
paradox
|