Template:Movegen: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
mNo edit summary |
m (→Intro) |
||
Line 47: | Line 47: | ||
| class="roundytop" style="background:#FFF; {{#if:{{{PMDBSL|}}}|"{{!}} [[File:{{{PMDBSL|Struggle PMD BSL}}}.png|250px]]|display:none" {{!}}}} | | class="roundytop" style="background:#FFF; {{#if:{{{PMDBSL|}}}|"{{!}} [[File:{{{PMDBSL|Struggle PMD BSL}}}.png|250px]]|display:none" {{!}}}} | ||
| class="roundytop" style="background:#FFF; {{#if:{{{PMDGTI|}}}|"{{!}} [[File:{{{PMDGTI|Struggle PMD GTI}}}.png|250px]]|display:none" {{!}}}} | | class="roundytop" style="background:#FFF; {{#if:{{{PMDGTI|}}}|"{{!}} [[File:{{{PMDGTI|Struggle PMD GTI}}}.png|250px]]|display:none" {{!}}}} | ||
| class="roundytop" style="background:#FFF; {{#if:{{{PSMD|}}}|"{{!}} [[File:{{{PSMD|Struggle PSMD}}}.png|250px]] | | class="roundytop" style="background:#FFF; {{#if:{{{PSMD|}}}|"{{!}} [[File:{{{PSMD|Struggle PSMD}}}.png|250px]]{{#if:{{{PSMD2|}}}|<br> [[File:{{{PSMD2|Struggle PSMD}}}.png|250px]]}}|display:none" {{!}}}} | ||
| class="roundytop" style="background:#FFF; {{#if:{{{PMDRTDX|}}}|"{{!}} [[File:{{{PMDRTDX|Struggle PMD RTDX}}}.png|250px]]|display:none" {{!}}}} | | class="roundytop" style="background:#FFF; {{#if:{{{PMDRTDX|}}}|"{{!}} [[File:{{{PMDRTDX|Struggle PMD RTDX}}}.png|250px]]|display:none" {{!}}}} | ||
| class="roundytop" style="background:#FFF; {{#if:{{{PR|}}}|"{{!}} [[File:{{{PR|Struggle Rumble}}}.png|250px]]|display:none" {{!}}}} | | class="roundytop" style="background:#FFF; {{#if:{{{PR|}}}|"{{!}} [[File:{{{PR|Struggle Rumble}}}.png|250px]]|display:none" {{!}}}} |
Latest revision as of 11:43, 30 July 2023
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
The template {{movegen}}
creates one or images in a gallery-like fashion, each subtitled with the game or set of games the image stems from (including a link).
Usage
{{Movegen |type= |genI= |RBY= |jgenI= |igenI= |genII= |jgenII= |igenII= |Crystal= |genIII= |jgenIII= |igenIII= |RS= |FRLG= |FRLGE= |genIV= |jgenIV= |igenIV= |PtHGSS= |HGSS= |genV= |genV2= |BW= |BW2= |B2W2= |B2W22= |jgenV= |jgenV2= |igenV= |igenV2= |genVI= |genVI2= |XY= |XY2= |ORAS= |ORAS2= |genVII= |genVII2= |SMUSUM= |SMUSUM2= |LGPE= |LGPE2= |genVIII= |genVIII2= |SwSh= |SwSh2= |BDSP= |BDSP2= |LA= |LA2= |genIX= |genIX2= |Stad= |Stad2= |Colo= |XD= |PBR= |Battrio= |PMDRB= |PMDTDS= |PMDBSL= |PMDGTI= |PSMD= |PMDRTDX= |PR= |PRB= |Masters= }}
Template Fields
Each of the template fields above is optional.
The type
parameter can be used to specify a color as background. Specifically, the color as denoted by the template call {{<type> color}}
will be used. It defaults to unknown
, i.e. {{unknown color}}
. Usually, the name of a type will be used; see Help:Color templates for valid values.
All other fields should contain the filename of an image from with the game(s) associated with the field, without the file extension. The image needs to be png.
Possible values:
field | game/link |
---|---|
genI |
Generation I |
RBY |
RBY |
jgenI |
Generation I (Japanese) |
igenI |
Generation I (international) |
genII |
Generation II |
jgenII |
Generation II (Japanese) |
igenII |
Generation II (international) |
Crystal |
Crystal |
genIII |
Generation III |
jgenIII |
Generation III (Japanese) |
igenIII |
Generation III (international) |
RS |
RS |
FRLG |
FRLG |
FRLGE |
E |
genIV |
Generation IV |
jgenIV |
Generation IV (Japanese) |
igenIV |
Generation IV (international) |
PtHGSS |
PtHGSS |
HGSS |
HGSS |
genV |
Generation V |
BW |
BW |
B2W2 |
B2W2 |
jgenV |
Generation V (Japanese) |
igenV |
Generation V (international) |
genVI |
Generation VI |
XY |
XY |
ORAS |
ORAS |
genVII |
Generation VII |
SMUSUM |
USUM |
LGPE |
LGPE |
genVIII |
Generation VIII |
SwSh |
SwSh |
BDSP |
BDSP |
LA |
Legends: Arceus |
genIX |
Generation IX |
Stad0 |
Stadium (JP) |
Stad |
Stadium |
Stad2 |
Stadium 2 |
Colo |
Colosseum |
XD |
XD |
PBR |
Battle Revolution |
Battrio |
Battrio |
PMDRB |
MD: Red and Blue |
PMDTDS |
Sky |
PMDBSL |
MD: Blazing, Stormy, & Light Adventure Squad |
PMDGTI |
MD: GTI |
PSMD |
SMD |
PMDRTDX |
MD: RTDX |
PR |
Rumble |
PRB |
Rumble Blast |
Masters |
Masters EX |
Examples
Hidden Power
{{Movegen |type=normal |genII=Hidden Power II |genIII=Hidden Power III |genIV=Hidden Power DP |PtHGSS=Hidden Power PtHGSS }}
Serene Sea
{{Movegen |type=Water |PMDRB=Serene Sea RTRB }}