Template:First partner trios: Difference between revisions
(Not sure why the regions aren't linked?) |
(square at max size) |
||
Line 1: | Line 1: | ||
<div style="margin: auto; padding: 2px; text-align: center; background-color: #{{{{{1|grass}}} color}}; border: 2px solid #{{#if: {{{2|}}}|{{{{{2}}} color}}|{{{{{1|grass}}} color dark}}}}; {{roundy|15px}}"><!-- box OPEN --> | <div style="margin: auto; padding: 2px; text-align: center; background-color: #{{{{{1|grass}}} color}}; border: 2px solid #{{#if: {{{2|}}}|{{{{{2}}} color}}|{{{{{1|grass}}} color dark}}}}; {{roundy|15px}}; max-width:800px"><!-- box OPEN --> | ||
<div class="roundy" style="margin-bottom: 2px; background-color: rgba(255, 255, 255, 0.35);">'''{{color2|000|First partner Pokémon|First partner trios}}'''</div><!-- header --> | <div class="roundy" style="margin-bottom: 2px; background-color: rgba(255, 255, 255, 0.35);">'''{{color2|000|First partner Pokémon|First partner trios}}'''</div><!-- header --> | ||
<div style="display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 3px | <div style="display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 3px"><!-- region list OPEN --> | ||
<div style="padding: 2px; width: 250px;"><!-- region OPEN --> | <div style="padding: 2px; width: 250px;"><!-- region OPEN --> |
Revision as of 16:21, 12 April 2024
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
This is a navigation template that shows all the first partner Pokémon trios. It should appear on the page of every member of a first partner trio.
Parameters
- Unnamed
- 1: first type of the Pokémon whose page this is on (must fit a color, e.g., "grass")
- 2 (optional): second type of the Pokémon whose page this is on
- Named
- cat: used to customize the categories included by this template; mainly intended to be added blank to suppress categories
Examples
This is how the template would be used on Bulbasaur's page:
{{First partner trios|Grass|Poison}}
Updating
To update this template, copy the code below and insert it after the old last region, then replace NEWREGION with the new region's name, #### with the numbers of each Pokémon, and PKMN1/2/3 with the names of each Pokémon. Note that this does require a color template for the new region as well as images for the Pokémon.
<div style="padding: 2px; width: 199px;"><!-- region OPEN --> <div style="font-weight: bold; background-color: #{{NEWREGION color light}}; {{roundytop}}">{{color2|000|NEWREGION}}</div><!-- region header --> <div style="display: flex; flex-direction: row; gap: 1px; background-color: #{{NEWREGION color}}; {{roundybottom}}"><!-- trio OPEN --> <div style="padding: 2px; flex: 1; background-color: #FFF; {{roundybl}}">[[File:####PKMN1.png|48px|link=PKMN1 (Pokémon)]]<br>{{p|PKMN1}}</div> <div style="padding: 2px; flex: 1; background-color: #FFF;">[[File:####PKMN2.png|48px|link=PKMN2 (Pokémon)]]<br>{{p|PKMN2}}</div> <div style="padding: 2px; flex: 1; background-color: #FFF; {{roundybr}}">[[File:####PKMN3.png|48px|link=PKMN3 (Pokémon)]]<br>{{p|PKMN3}}</div> </div><!-- trio CLOSE --> </div><!-- region CLOSE -->
TemplateData
This is a navigation template that shows all the first partner Pokémon trios. It should appear on the page of every member of a first partner trio.
Parameter | Description | Type | Status | |
---|---|---|---|---|
type 1 | 1 | the first type of the Pokémon whose page this is on (must fit a color template)
| Line | required |
type 2 | 2 | the second type of the Pokémon whose page this is on, if it has two types (must fit a color template)
| Line | suggested |
cat | cat | used to customize the categories included by this template; mainly intended to be added blank to suppress categories | Line | optional |