Template:PairDex: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(enforce minimum dimensions on columns that contain images, so that mobile does not downscale them) |
(min width not height) |
||
Line 2: | Line 2: | ||
|- style="background:#fff;" | |- style="background:#fff;" | ||
| style="font-family:monospace" | #{{padleft:{{{1|01}}}|2|0}} | | style="font-family:monospace" | #{{padleft:{{{1|01}}}|2|0}} | ||
| style="text-align:left; min- | | style="text-align:left; min-width:40px;" data-sort-value="{{{2|Player character}}}{{#if: {{{sygna|}}}|3}}" | [[File:VS{{{trainerimg|Scottie}}} Masters.png|x40px|link={{{trainerlink|}}}]] | ||
| style="text-align:left" data-sort-value="{{{2|Player character}}}{{#if: {{{sygna|}}}|3}}" | {{#if: {{{sygna|}}}|<small>{{{sygna|[[Sygna suit|Sygna Suit]]}}}</small><br>}}[[{{{trainerlink|{{{2|Player character}}}}}}|{{{2|Player character}}}]] | | style="text-align:left" data-sort-value="{{{2|Player character}}}{{#if: {{{sygna|}}}|3}}" | {{#if: {{{sygna|}}}|<small>{{{sygna|[[Sygna suit|Sygna Suit]]}}}</small><br>}}[[{{{trainerlink|{{{2|Player character}}}}}}|{{{2|Player character}}}]] | ||
| style="font-family:monospace" data-sort-value="{{{3|0025}}}" | #{{padright:|4|{{{3|0001}}}}} | | style="font-family:monospace" data-sort-value="{{{3|0025}}}" | #{{padright:|4|{{{3|0001}}}}} | ||
| style="min- | | style="min-width:40px;" data-sort-value="{{{3|0025}}}" | [[File:MastersIcon{{{3|0025}}}.png|x40px|link={{{pokemonlink|{{{4|Pikachu}}} (Pokémon)}}}]] | ||
| style="text-align:left" data-sort-value="{{{4|Pikachu}}}" | [[{{{pokemonlink|{{{4|Pikachu}}} (Pokémon)}}}|{{{4|Pikachu}}}]]{{#switch: {{{gender|none}}}|male|♂={{male}}|female|♀={{female}}}}{{#switch: {{{shiny}}}|yes={{shinystar}}}} {{#if:{{{master|}}}|[[File:Master Sync Pair Mark Masters.png|24px|link=]]|}} {{#if:{{{dynamax|}}}|[[File:Dynamax icon.png|24px|link=]]|}} {{#if:{{{buddy|}}}|[[File:Buddy Move Icon Masters.png|24px|link=]]|}}<br><small>{{#if:{{{mega|}}}|[[File:Bag {{{mega|}}} Sprite.png|24px|link=]]|}} {{{form|}}} | | style="text-align:left" data-sort-value="{{{4|Pikachu}}}" | [[{{{pokemonlink|{{{4|Pikachu}}} (Pokémon)}}}|{{{4|Pikachu}}}]]{{#switch: {{{gender|none}}}|male|♂={{male}}|female|♀={{female}}}}{{#switch: {{{shiny}}}|yes={{shinystar}}}} {{#if:{{{master|}}}|[[File:Master Sync Pair Mark Masters.png|24px|link=]]|}} {{#if:{{{dynamax|}}}|[[File:Dynamax icon.png|24px|link=]]|}} {{#if:{{{buddy|}}}|[[File:Buddy Move Icon Masters.png|24px|link=]]|}}<br><small>{{#if:{{{mega|}}}|[[File:Bag {{{mega|}}} Sprite.png|24px|link=]]|}} {{{form|}}} | ||
| style="text-align:center; min-width:25px;" | [[{{{5|Electric}}} (type)|{{{5|Electric}}}]]<br/>[[File:{{{5|Electric}}}IC Masters.png|25px]] | | style="text-align:center; min-width:25px;" | [[{{{5|Electric}}} (type)|{{{5|Electric}}}]]<br/>[[File:{{{5|Electric}}}IC Masters.png|25px]] |
Revision as of 05:12, 21 February 2024
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
{{PairDex}}
is used to generate a table for the List of sync pairs article.
{{PairDex/h}}
generates the table header.{{PairDex}}
generates the table rows.|}
on a new line should be to close the table.
Usage
{{PairDex/h}} {{PairDex |1 |2 |trainerlink= |trainerimg= |sygna= |3 |4 |pokemonlink= |gender= |form= |shiny= |master= |dynamax= |buddy= |5 |6 |7 |exrole= |8 |9 }} |}
Template Fields
- field 1 (sync dex num) - The sync dex number of the trainer.
- field 2 (trainer name) - The name of the trainer.
- trainerlink - The page that's linked when clicking the trainer's name.
- trainerimg - Name of the trainer's "VS" portrait image, without the "VS" or " Masters.png" parts. For example, "May Sygna" for Sygna Suit May's VS image.
- sygna - The name of the alternate costume the trainer is wearing, if applicable. If the words "sygna suit" are in this name, make those two words a link.
- field 3 (pokemon ID) - The Pokédex number in a 4-digit format (example: 0025). This is also used to call the correct image to display.
- For Pokémon that have a form, add one letter after the number representing the form. For example, Galarian Zapdos's ID would be "0145G".
- For Shiny Pokémon, add a space and then an s. For example, Shiny Ho-oh's ID would be "0250 s".
- field 4 (pokemon species name) - The name of the Pokémon's species.
- If the Pokémon can evolve in Masters, this field should list all the accessible stages like this: "Charmander → Charmeleon → Charizard".
- pokemonlink - The page that's linked when clicking the Pokémon's name. Mainly for notable individuals, such as Red's Charizard.
- gender - The gender of the Pokémon, if applicable.
- form - The form of the Pokémon, if applicable. Includes Mega Evolution and Gigantamax.
- If the Pokémon can Mega Evolve, link the Mega Evolution article.
- If the Pokémon can Gigantamax, link the Gigantamax article.
- Otherwise, link the List of Pokémon with form differences article.
- shiny - Whether the Pokémon is shiny. Put "yes" if they are, otherwise leave this blank.
- master - Whether the sync pair is a master pair. Put "yes" if they are, otherwise leave this blank.
- dynamax - Whether the sync pair can use dynamax (includes gigantamax). Put "yes" if they can, otherwise leave this blank.
- buddy - Whether the sync pair has a buddy move. Put "yes" if they do, otherwise leave this blank.
- field 5 (type) - The type of the sync pair.
- field 6 (weakness) - The weakness type of the sync pair.
- field 7 (role) - The role of the sync pair. Has 6 valid values: Physical Strike, Special Strike, Support, Tech, Sprint, or Field.
- exrole - The EX role of the sync pair, if applicable.
- field 8 (base stars) - The amount of stars that the sync pair starts with.
- If the pair starts with 5 stars and is capable of reaching EX, put 6 instead.
- If the pair starts with less than 5 stars but they are capable of reaching EX, add EX after the number. For example, Sygna Suit Brock is "3EX".
- field 9 (obtain location) - Where the sync pair can be obtained.
Examples
(Note: each of the following examples is nested inside a header and footer. This is omitted from the pre-formatted blocks, as to focus on the row template usage.)
Generic case with a genderless Pokémon
{{PairDex|003|Misty|trainerlink=Misty (Masters)#Starmie|trainerimg=Misty|0121|Starmie|pokemonlink=Misty's Starmie|Water|Electric|Support|3|Story<br>''Start''}}
Dex | Trainer | NDex | Pokémon | Type | Weakness | Role | EX role | Base potential | Availability | ||
---|---|---|---|---|---|---|---|---|---|---|---|
#003 | Misty | #0121 | Starmie |
Water |
Electric |
★★★ | Story Start |
Player character
{{PairDex|001|Scottie & Bettie|trainerlink=Player character#Pokémon Masters EX|trainerimg=ScottieBettie|0025|Pikachu|gender=male|Electric|Ground|Special Strike|3|Story<br>''Start''}}
Dex | Trainer | NDex | Pokémon | Type | Weakness | Role | EX role | Base potential | Availability | ||
---|---|---|---|---|---|---|---|---|---|---|---|
#001 | Scottie & Bettie | #0025 | Pikachu♂ |
Electric |
Ground |
★★★ | Story Start |
Standard Sygna suit with a specific mega
{{PairDex|084|Red|trainerlink=Red (Masters)#Charizard|sygna=[[Sygna suit|Sygna Suit]]|trainerimg=Red Sygna|0006|Charizard|pokemonlink=Red's Charizard|form=[[Mega Evolution|Mega Charizard X]]|mega=Charizardite X|gender=male|Fire|Rock|Special Strike|exrole=Tech|6|Ticket Scout (after Victory Road)<br>Poké Fair Sync Pair Scout}}
Dex | Trainer | NDex | Pokémon | Type | Weakness | Role | EX role | Base potential | Availability | ||
---|---|---|---|---|---|---|---|---|---|---|---|
#084 | Sygna Suit Red |
#0006 | Charizard♂ Mega Charizard X |
Fire |
Rock |
★★★★★☆EX | Ticket Scout (after Victory Road) Poké Fair Sync Pair Scout |
Special sygna suit with a mega
{{PairDex|078|Cynthia|trainerlink=Cynthia (Masters)#Lucario|trainerimg=Cynthia Sygna Aura|sygna=[[Sygna suit|Sygna Suit]] (Aura)|0448|Lucario|gender=male|mega=Lucarionite|form=[[Mega Evolution|Mega Lucario]]|master=yes|buddy=yes|Fighting|Fire|Support|exrole=Sprint|6|Master Fair Sync Pair Scout}}
Dex | Trainer | NDex | Pokémon | Type | Weakness | Role | EX role | Base potential | Availability | ||
---|---|---|---|---|---|---|---|---|---|---|---|
#078 | Sygna Suit (Aura) Cynthia |
#0448 | Lucario♂ Mega Lucario |
Fighting |
Fire |
★★★★★☆EX | Master Fair Sync Pair Scout |
Alternate costume with a shiny regional form
{{PairDex|107|Lisia|trainerlink=Lisia (Masters)#Rapidash (Galarian Form)|trainerimg=Lisia New Years 2023|sygna=New Year's 2023|0078G s|shiny=yes|Rapidash|gender=male|form={{rf|Galarian|Form}}|Fairy|Ghost|Physical Strike|6|Seasonal Sync Pair Scout}}
Dex | Trainer | NDex | Pokémon | Type | Weakness | Role | EX role | Base potential | Availability | ||
---|---|---|---|---|---|---|---|---|---|---|---|
#107 | New Year's 2023 Lisia |
#0078 | Rapidash♂ Galarian |
Fairy |
Ghost |
★★★★★☆EX | Seasonal Sync Pair Scout |