Template talk:Dex/Header: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(I'll add more examples later.) |
m (→Three game) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== | ==How to use== | ||
===[[Template:Dex/Header|Header]]=== | |||
{{ | {| width="50%" class="roundy" style="margin:auto; border: 2px solid #{{psychic color dark}}; background: #{{psychic color}};" | ||
{{ | ! class="roundytl" style="background: #{{psychic color light}}" | Parameter | ||
! class="roundytr" style="background: #{{psychic color light}}" | Input | |||
|- style="background: #FFF" | |||
! type | |||
| Pokémon's primary type. | |||
|- | |||
! class="roundybl" style="background: #FFF" | type2 | |||
| class="roundyb2" style="background: #FFF" | Pokémon's secondary type, if applicable. | |||
|} | |} | ||
===Generation cells=== | |||
====[[Template:Dex/NA|Unavailable]]==== | |||
{| width="50%" class="roundy" style="margin:auto; border: 2px solid #{{psychic color dark}}; background: #{{psychic color}};" | |||
! class="roundytl" style="background: #{{psychic color light}}" | Parameter | |||
! class="roundytr" style="background: #{{psychic color light}}" | Input | |||
|- | |||
! class="roundybl" style="background: #FFF" | gen | |||
| class="roundybr" style="background: #FFF" | Generation of Pokémon introduction, in {{wp|Roman numerals}}. | |||
|} | |} | ||
{ | ====[[Template:Dex/Gen|Available]]==== | ||
{{ | {| width="50%" class="roundy" style="margin:auto; border: 2px solid #{{psychic color dark}}; background: #{{psychic color}};" | ||
{{ | ! class="roundytl" style="background: #{{psychic color light}}" | Parameter | ||
! class="roundytr" style="background: #{{psychic color light}}" | Input | |||
|- | |||
! class="roundybl" style="background: #FFF" | gen | |||
| class="roundybr" style="background: #FFF" | Generation, in {{wp|Roman numerals}}. | |||
|} | |} | ||
===Pokédex entry cells=== | |||
====[[Template:Dex/Entry1|One game]]==== | |||
{| width="50%" class="roundy" style="margin:auto; border: 2px solid #{{psychic color dark}}; background: #{{psychic color}};" | |||
! class="roundytl" style="background: #{{psychic color light}}" | Parameter | |||
! class="roundytr" style="background: #{{psychic color light}}" | Input | |||
|- style="background: #FFF" | |||
! v | |||
| Game version. (e.g. "Gold") | |||
|- style="background: #FFF" | |||
! t | |||
| Text color. (Only if white text is needed.)<!-- | |||
|- style="background: #FFF" | |||
! ex | |||
| Parenthical extension, used exclusively for [[Pokémon Blue Version (Japanese)]].--> | |||
|- style="background: #FFF" | |||
! entry | |||
| Pokédex entry. | |||
|- style="background: #FFF" | |||
! color | |||
| Cell color, if needed. (For special games, e.g. Pokémon Stadium.)<!-- | |||
|- | |||
! class="roundybl" style="background: #FFF" | link | |||
| class="roundybr" style="background: #FFF" | Direct article link, if needed (e.g. [[Pokémon Blue Version (Japanese)]])--> | |||
|} | |} | ||
{{ | ====[[Template:Dex/Entry2|Two games]]==== | ||
{| width="50%" class="roundy" style="margin:auto; border: 2px solid #{{psychic color dark}}; background: #{{psychic color}};" | |||
! class="roundytl" style="background: #{{psychic color light}}" | Parameter | |||
! class="roundytr" style="background: #{{psychic color light}}" | Input | |||
|- style="background: #FFF" | |||
! v | |||
| Game version. (e.g. "Gold") | |||
|- style="background: #FFF" | |||
! t | |||
| Text color. (Only if white text is needed.) | |||
|- style="background: #FFF" | |||
! v2 | |||
| Game version. (e.g. "Silver") | |||
|- style="background: #FFF" | |||
! t2 | |||
| Text color. (Only if white text is needed.) | |||
|- style="background: #FFF" | |||
! entry | |||
| Pokédex entry. | |||
|- style="background: #FFF" | |||
|} | |} | ||
====[[Template:Dex/Entry3|Three games]]==== | |||
{| width="50%" class="roundy" style="margin:auto; border: 2px solid #{{psychic color dark}}; background: #{{psychic color}};" | |||
! class="roundytl" style="background: #{{psychic color light}}" | Parameter | |||
! class="roundytr" style="background: #{{psychic color light}}" | Input | |||
|- style="background: #FFF" | |||
! v | |||
| Game version. (e.g. "Gold") | |||
|- style="background: #FFF" | |||
! t | |||
| Text color. (Only if white text is needed.) | |||
|- style="background: #FFF" | |||
! v2 | |||
| Game version. (e.g. "Silver") | |||
|- style="background: #FFF" | |||
! t2 | |||
| Text color. (Only if white text is needed.) | |||
|- style="background: #FFF" | |||
! v3 | |||
| Game version. (e.g. "Crystal") | |||
|- style="background: #FFF" | |||
! t3 | |||
| Text color. (Only if white text is needed.) | |||
|- style="background: #FFF" | |||
! entry | |||
| Pokédex entry. | |||
|- style="background: #FFF" | |||
|} | |} | ||
{{ | |||
{{ | ===[[Template:Dex/Footer|Footer]]=== | ||
{{ | No entries. | ||
{{ | |||
===Example=== | |||
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word"> | |||
{{Dex/Header|type=grass|type2=poison}} | |||
{{Dex/Gen|gen=I}} | |||
{{Dex/Entry2|v=Red|v2=Blue|t2=FFF|entry=A strange seed was planted on its back at birth. The plant sprouts and grows with this Pokémon.}} | |||
{{Dex/Entry1|v=Yellow|entry=It can go for days without eating a single morsel. In the bulb on its back, it stores energy.}} | |||
{{Dex/Entry1|v=Stadium|t=FFF|color=000|entry=The bulb-like pouch on its back grows larger as it ages. The pouch is filled with numerous seeds.}} | |||
|} | |} | ||
|} | |} | ||
{{ | {{Dex/Gen|gen=II}} | ||
{{ | {{Dex/Entry1|v=Gold|entry=The seed on its back is filled with nutrients. The seed grows steadily larger as its body grows.}} | ||
{{ | {{Dex/Entry1|v=Silver|entry=It carries a seed on its back right from birth. As it grows older, the seed also grows larger.}} | ||
{{Dex/Entry1|v=Crystal|entry=While it is young, it uses the nutrients that are stored in the seeds on its back in order to grow.}} | |||
{{Dex/Entry1|v=Stadium 2|t=FFF|color=000|entry=The seed on its back is filled with nutrients. The seed grows steadily larger as its body grows.}} | |||
|} | |} | ||
|} | |} | ||
{{ | {{Dex/Gen|gen=III}} | ||
{{ | {{Dex/Entry3|v=Ruby|v2=Sapphire|v3=Emerald|t=FFF|t2=FFF|t3=FFF|entry=Bulbasaur can be seen napping in bright sunlight. There is a seed on its back. By soaking up the sun's rays, the seed grows progressively larger.}} | ||
{{ | {{Dex/Entry1|v=FireRed|entry=There is a plant seed on its back right from the day this Pokémon is born. The seed slowly grows larger.}} | ||
{{Dex/Entry1|v=LeafGreen|entry=A strange seed was planted on its back at birth. The plant sprouts and grows with this Pokémon.}} | |||
|} | |} | ||
|} | |} | ||
{{ | {{Dex/Gen|gen=IV}} | ||
{{Dex/Entry3|v=Diamond|v2=Pearl|v3=Platinum|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} | |||
{{Dex/Entry1|v=HeartGold|entry=The seed on its back is filled with nutrients. The seed grows steadily larger as its body grows.}} | |||
{{Dex/Entry1|v=SoulSilver|entry=It carries a seed on its back right from birth. As it grows older, the seed also grows larger.}} | |||
|} | |||
|} | |||
{{Dex/Gen|gen=V}} | |||
{{Dex/Entry2|v=Black|v2=White|t=FFF|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} | |||
{{Dex/Entry2|v=Black 2|v2=White 2|t=FFF|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} | |||
|} | |||
|} | |||
{{Dex/Gen|gen=VI}} | |||
{{Dex/Entry1|v=X|t=FFF|entry=A strange seed was planted on its back at birth. The plant sprouts and grows with this Pokémon.}} | |||
{{Dex/Entry1|v=Y|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} | |||
|} | |||
|} | |||
{{Dex/Footer}} | |||
</pre> | |||
{{Dex/Header|type=grass|type2=poison}} | |||
{{Dex/Gen|gen=I}} | |||
{{Dex/Entry2|v=Red|v2=Blue|t2=FFF|entry=A strange seed was planted on its back at birth. The plant sprouts and grows with this Pokémon.}} | |||
{{Dex/Entry1|v=Yellow|entry=It can go for days without eating a single morsel. In the bulb on its back, it stores energy.}} | |||
{{Dex/Entry1|v=Stadium|t=FFF|color=000|entry=The bulb-like pouch on its back grows larger as it ages. The pouch is filled with numerous seeds.}} | |||
|} | |||
|} | |||
{{Dex/Gen|gen=II}} | |||
{{Dex/Entry1|v=Gold|entry=The seed on its back is filled with nutrients. The seed grows steadily larger as its body grows.}} | |||
{{Dex/Entry1|v=Silver|entry=It carries a seed on its back right from birth. As it grows older, the seed also grows larger.}} | |||
{{Dex/Entry1|v=Crystal|entry=While it is young, it uses the nutrients that are stored in the seeds on its back in order to grow.}} | |||
{{Dex/Entry1|v=Stadium 2|t=FFF|color=000|entry=The seed on its back is filled with nutrients. The seed grows steadily larger as its body grows.}} | |||
|} | |||
|} | |||
{{Dex/Gen|gen=III}} | |||
{{Dex/Entry3|v=Ruby|v2=Sapphire|v3=Emerald|t=FFF|t2=FFF|t3=FFF|entry=Bulbasaur can be seen napping in bright sunlight. There is a seed on its back. By soaking up the sun's rays, the seed grows progressively larger.}} | |||
{{Dex/Entry1|v=FireRed|entry=There is a plant seed on its back right from the day this Pokémon is born. The seed slowly grows larger.}} | |||
{{Dex/Entry1|v=LeafGreen|entry=A strange seed was planted on its back at birth. The plant sprouts and grows with this Pokémon.}} | |||
|} | |||
|} | |||
{{Dex/Gen|gen=IV}} | |||
{{Dex/Entry3|v=Diamond|v2=Pearl|v3=Platinum|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} | |||
{{Dex/Entry1|v=HeartGold|entry=The seed on its back is filled with nutrients. The seed grows steadily larger as its body grows.}} | |||
{{Dex/Entry1|v=SoulSilver|entry=It carries a seed on its back right from birth. As it grows older, the seed also grows larger.}} | |||
|} | |||
|} | |||
{{Dex/Gen|gen=V}} | |||
{{Dex/Entry2|v=Black|v2=White|t=FFF|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} | |||
{{Dex/Entry2|v=Black 2|v2=White 2|t=FFF|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} | |||
|} | |||
|} | |||
{{Dex/Gen|gen=VI}} | |||
{{Dex/Entry1|v=X|t=FFF|entry=A strange seed was planted on its back at birth. The plant sprouts and grows with this Pokémon.}} | |||
{{Dex/Entry1|v=Y|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} | |||
|} | |||
|} | |||
{{Dex/Footer}} |
Latest revision as of 05:25, 5 November 2014
How to use
Header
Parameter | Input |
---|---|
type | Pokémon's primary type. |
type2 | Pokémon's secondary type, if applicable. |
Generation cells
Parameter | Input |
---|---|
gen | Generation of Pokémon introduction, in Roman numerals. |
Available
Parameter | Input |
---|---|
gen | Generation, in Roman numerals. |
Pokédex entry cells
One game
Parameter | Input |
---|---|
v | Game version. (e.g. "Gold") |
t | Text color. (Only if white text is needed.) |
entry | Pokédex entry. |
color | Cell color, if needed. (For special games, e.g. Pokémon Stadium.) |
Two games
Parameter | Input |
---|---|
v | Game version. (e.g. "Gold") |
t | Text color. (Only if white text is needed.) |
v2 | Game version. (e.g. "Silver") |
t2 | Text color. (Only if white text is needed.) |
entry | Pokédex entry. |
Three games
Parameter | Input |
---|---|
v | Game version. (e.g. "Gold") |
t | Text color. (Only if white text is needed.) |
v2 | Game version. (e.g. "Silver") |
t2 | Text color. (Only if white text is needed.) |
v3 | Game version. (e.g. "Crystal") |
t3 | Text color. (Only if white text is needed.) |
entry | Pokédex entry. |
No entries.
Example
{{Dex/Header|type=grass|type2=poison}} {{Dex/Gen|gen=I}} {{Dex/Entry2|v=Red|v2=Blue|t2=FFF|entry=A strange seed was planted on its back at birth. The plant sprouts and grows with this Pokémon.}} {{Dex/Entry1|v=Yellow|entry=It can go for days without eating a single morsel. In the bulb on its back, it stores energy.}} {{Dex/Entry1|v=Stadium|t=FFF|color=000|entry=The bulb-like pouch on its back grows larger as it ages. The pouch is filled with numerous seeds.}} |} |} {{Dex/Gen|gen=II}} {{Dex/Entry1|v=Gold|entry=The seed on its back is filled with nutrients. The seed grows steadily larger as its body grows.}} {{Dex/Entry1|v=Silver|entry=It carries a seed on its back right from birth. As it grows older, the seed also grows larger.}} {{Dex/Entry1|v=Crystal|entry=While it is young, it uses the nutrients that are stored in the seeds on its back in order to grow.}} {{Dex/Entry1|v=Stadium 2|t=FFF|color=000|entry=The seed on its back is filled with nutrients. The seed grows steadily larger as its body grows.}} |} |} {{Dex/Gen|gen=III}} {{Dex/Entry3|v=Ruby|v2=Sapphire|v3=Emerald|t=FFF|t2=FFF|t3=FFF|entry=Bulbasaur can be seen napping in bright sunlight. There is a seed on its back. By soaking up the sun's rays, the seed grows progressively larger.}} {{Dex/Entry1|v=FireRed|entry=There is a plant seed on its back right from the day this Pokémon is born. The seed slowly grows larger.}} {{Dex/Entry1|v=LeafGreen|entry=A strange seed was planted on its back at birth. The plant sprouts and grows with this Pokémon.}} |} |} {{Dex/Gen|gen=IV}} {{Dex/Entry3|v=Diamond|v2=Pearl|v3=Platinum|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} {{Dex/Entry1|v=HeartGold|entry=The seed on its back is filled with nutrients. The seed grows steadily larger as its body grows.}} {{Dex/Entry1|v=SoulSilver|entry=It carries a seed on its back right from birth. As it grows older, the seed also grows larger.}} |} |} {{Dex/Gen|gen=V}} {{Dex/Entry2|v=Black|v2=White|t=FFF|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} {{Dex/Entry2|v=Black 2|v2=White 2|t=FFF|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} |} |} {{Dex/Gen|gen=VI}} {{Dex/Entry1|v=X|t=FFF|entry=A strange seed was planted on its back at birth. The plant sprouts and grows with this Pokémon.}} {{Dex/Entry1|v=Y|entry=For some time after its birth, it grows by gaining nourishment from the seed on its back.}} |} |} {{Dex/Footer}}
| ||||||||||||
| ||||||||||||
| ||||||||||||
| ||||||||||||
| ||||||||||||
|