Template:MastersRoleCell: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(splitting documentation off)
(added multi role option, fixed the lowercase options so they actually work, changed bg color of support cell to match the color mastersicon uses for support)
 
Line 1: Line 1:
<includeonly>{{#switch:{{{1|}}}
<includeonly>{{#switch:{{{1|}}}
|strike=|Strike=style="background-color:#{{red color light}}; padding:5px;" {{!}} [[File:Masters Physical Strike.png|{{{size|20px}}}|link=]] [[File:Masters Special Strike.png|{{{size|20px}}}|link=]] Strike
|strike|Strike=style="background-color:#{{red color light}}; padding:5px;" {{!}} [[File:Masters Physical Strike.png|{{{size|20px}}}|link=]] [[File:Masters Special Strike.png|{{{size|20px}}}|link=]] Strike
|physical strike=|Physical Strike=style="background-color:#{{red color light}}; padding:5px;" {{!}} [[File:Masters Physical Strike.png|{{{size|20px}}}|link=]] Physical Strike
|physical strike|physical Strike|Physical strike|Physical Strike=style="background-color:#{{red color light}}; padding:5px;" {{!}} [[File:Masters Physical Strike.png|{{{size|20px}}}|link=]] Physical Strike
|special strike=|Special Strike=style="background-color:#{{red color light}}; padding:5px;" {{!}} [[File:Masters Special Strike.png|{{{size|20px}}}|link=]] Special Strike
|special strike|special Strike|Special strike|Special Strike=style="background-color:#{{red color light}}; padding:5px;" {{!}} [[File:Masters Special Strike.png|{{{size|20px}}}|link=]] Special Strike
|support=|Support=style="background-color:#{{water color}}; padding:5px;" {{!}} [[File:Masters Support.png|{{{size|20px}}}|link=]] Support
|support|Support=style="background-color:#{{blue color light}}; padding:5px;" {{!}} [[File:Masters Support.png|{{{size|20px}}}|link=]] Support
|tech=|Tech=style="background-color:#{{green color light}}; padding:5px;" {{!}} [[File:Masters Tech.png|{{{size|20px}}}|link=]] Tech
|tech|Tech=style="background-color:#{{green color light}}; padding:5px;" {{!}} [[File:Masters Tech.png|{{{size|20px}}}|link=]] Tech
|sprint=|Sprint=style="background-color:#{{orange color light}}; padding:5px;" {{!}} [[File:Masters Sprint.png|{{{size|20px}}}|link=]] Sprint
|sprint|Sprint=style="background-color:#{{orange color light}}; padding:5px;" {{!}} [[File:Masters Sprint.png|{{{size|20px}}}|link=]] Sprint
|field=|Field=style="background-color:#{{violet color light}}; padding:5px;" {{!}} [[File:Masters Field.png|{{{size|20px}}}|link=]] Field}}</includeonly><noinclude>
|field|Field=style="background-color:#{{violet color light}}; padding:5px;" {{!}} [[File:Masters Field.png|{{{size|20px}}}|link=]] Field
|multi|Multi=style="background-color:#{{white color light}}; padding:5px;" {{!}} [[File:Masters Multi.png|{{{size|20px}}}|link=]] Multi}}</includeonly><noinclude>
{{documentation}}
{{documentation}}


[[Category:Table templates]]
[[Category:Table templates]]
</noinclude>
</noinclude>

Latest revision as of 05:54, 27 August 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 template generates a colored table cell, representing a sync pair role in Pokémon Masters EX.

Template fields

  • field 1 (role) - Strike, Physical Strike, Special Strike, Support, Tech, Sprint, Field, or Multi. Note that the role names do not need to be capitalized.
  • size (optional) - Size of the icon(s) to be displayed. Defaults to 20px.

Examples

Battle Rally

{| class="roundtable sortable" style="margin:auto; background:#{{masters color}}; border:3px solid #{{masters color dark}}; text-align:center"
|- style="background-color:#{{masters color light}}
! List #
! colspan=2 | Area 1
! colspan=2 | Area 2
! colspan=2 | Area 3
! colspan=2 | Area 4
! colspan=2 | Area 5
! colspan=2 | Area 6
! colspan=2 | Area 7
! colspan=2 | Area 8
! colspan=2 | Area 9
! colspan=2 | Area 10
|-
| List 1 || {{MastersRoleCell|Strike}} || {{MastersRoleCell|Tech}} || {{MastersRoleCell|Tech}} || {{MastersRoleCell|Support}} || {{MastersRoleCell|Support}} || {{MastersRoleCell|Field}} || {{MastersRoleCell|Field}} || {{MastersRoleCell|Sprint}} || {{MastersRoleCell|Sprint}} || {{MastersRoleCell|Strike}} || {{MastersRoleCell|Strike}} || {{MastersRoleCell|Tech}} || {{MastersRoleCell|Tech}} || {{MastersRoleCell|Support}} || {{MastersRoleCell|Support}} || {{MastersRoleCell|Field}} || {{MastersRoleCell|Field}} || {{MastersRoleCell|Sprint}} || {{MastersRoleCell|Sprint}} || {{MastersRoleCell|Strike}}
|}
List # Area 1 Area 2 Area 3 Area 4 Area 5 Area 6 Area 7 Area 8 Area 9 Area 10
List 1 Masters Physical Strike.png Masters Special Strike.png Strike Masters Tech.png Tech Masters Tech.png Tech Masters Support.png Support Masters Support.png Support Masters Field.png Field Masters Field.png Field Masters Sprint.png Sprint Masters Sprint.png Sprint Masters Physical Strike.png Masters Special Strike.png Strike Masters Physical Strike.png Masters Special Strike.png Strike Masters Tech.png Tech Masters Tech.png Tech Masters Support.png Support Masters Support.png Support Masters Field.png Field Masters Field.png Field Masters Sprint.png Sprint Masters Sprint.png Sprint Masters Physical Strike.png Masters Special Strike.png Strike

EX Role

{| class="roundtable" style="margin:auto; background:#{{masters color}}; border:3px solid #{{masters color dark}}; text-align:center; width:30%"
|- style="background-color:#{{masters color light}}
! Sync pair
! Original<br>role
! EX role
! EX role<br>availability
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Red|alt=Champion|pokemonnum=0144|pokemon=Articuno}}
| {{MastersRoleCell|special strike|size=32px}}
| {{MastersRoleCell|tech|size=32px}}
| August 28, 2023
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Leaf|alt=Champion|pokemonnum=0146|pokemon=Moltres}}
| {{MastersRoleCell|tech|size=32px}}
| {{MastersRoleCell|support|size=32px}}
| August 30, 2023
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Blue|alt=Champion|pokemonnum=0145|pokemon=Zapdos}}
| {{MastersRoleCell|support|size=32px}}
| {{MastersRoleCell|special strike|size=32px}}
| September 1, 2023
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Paulo|pokemonnum=0745Du|pokemon=Lycanroc (Dusk Form)}}
| {{MastersRoleCell|sprint|size=32px}}
| {{MastersRoleCell|support|size=32px}}
| September 4, 2023
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Giovanni|pokemonnum=0112|pokemon=Rhydon}}
| {{MastersRoleCell|field|size=32px}}
| {{MastersRoleCell|physical Strike|size=32px}}
| September 6, 2023
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Cynthia|arc=y|pokemon=Garchomp|pokemonnum=0445 f}}
| {{MastersRoleCell|Multi|size=32px}}
| {{MastersRoleCell|Physical strike|size=32px}}
| August 28, 2024
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Steven|arc=y|pokemon=Metagross}}
| {{MastersRoleCell|multi|size=32px}}
| {{MastersRoleCell|support|size=32px}}
| August 30, 2024
|- style="background:#fff"
| {{MastersIcon/Table|trainer=Lance|arc=y|pokemon=Dragonite}}
| {{MastersRoleCell|multi|size=32px}}
| {{MastersRoleCell|tech|size=32px}}
| September 1, 2024
|}
Sync pair Original
role
EX role EX role
availability
Masters Special Strike.png Special Strike Masters Tech.png Tech August 28, 2023
Masters Tech.png Tech Masters Support.png Support August 30, 2023
Masters Support.png Support Masters Special Strike.png Special Strike September 1, 2023
Masters Sprint.png Sprint Masters Support.png Support September 4, 2023
Masters Field.png Field Masters Physical Strike.png Physical Strike September 6, 2023
Masters Multi.png Multi Masters Physical Strike.png Physical Strike August 28, 2024
Masters Multi.png Multi Masters Support.png Support August 30, 2024
Masters Multi.png Multi Masters Tech.png Tech September 1, 2024