Template:MastersMissionTable/doc

From Bulbapedia, the community-driven Pokémon encyclopedia.
< Template:MastersMissionTable
Revision as of 01:43, 10 January 2024 by Storm Aurora (talk | contribs) (Added info about template limitations + some minor clean-up regarding the parameters)
Jump to navigationJump to search

{{MastersMissionTable}} is designed to make displaying event missions on Pokémon Masters EX event pages quick and easy.

How to use

  • Use {{MastersMissionTable|format=begin}} for the header row.
  • Use one {{MastersMissionTable}} for each mission.
  • Use {{MastersMissionTable|format=end}} for the footer row, which lists the reward for completing a certain number of missions.

Note that this template cannot be used for the following missions:

  • A mission whose reward includes a copy of a sync pair.
  • A reward for completing a certain number of missions that includes a copy of a sync pair.
  • A reward for completing a certain number of missions that includes multiple items.

In these circumstances, the table row with the incompatible reward will need to be coded manually. The template can be used for all other rows with compatible rewards.

Parameters

All parameters are case sensitive.

Parameter Allowed values Notes
format beginmissionbegin Optional. Defaults to mission. Use begin for the header row and end for the footer row.
{{MastersMissionTable|format=begin}}
Parameter Allowed values Notes
class String Optional. Used for changing the table class. Defaults to roundy.

Examples: roundy, roundtable or expandable. Multiple classes can be used together, separated by spaces.

color Color template Optional. Sets the color scheme for the table. Don't include #.

Only needs the base color template name, will set the light and dark automatically.

text-color Color wordHex codeColor template Optional. Text color for the header row.

Needs # when using Hex code or color template.

{{MastersMissionTable}} or {{MastersMissionTable|format=mission}}
Parameter Allowed values Notes
unnamed 1 Number Mission number, as ordered on the in-game mission list.
2 Allowed KeywordString Mission objective. Keywords can be used for common mission objectives.

Otherwise entire mission objective is entered into the second parameter.

3 String File name of the first reward item, without the "Masters" prefix or the ".png" file extension.
4 String Name to be displayed for first reward item.
5 String Optional. File name of the second reward item, without the "Masters" prefix or the ".png" file extension.
6 String Optional. Name to be displayed for second reward item.
7 String Optional. File name of the third reward item, without the "Masters" prefix or the ".png" file extension.
8 String Optional. Name to be displayed for third reward item.
named numrewards 123 Optional. Number of rewards for this objective. Defaults to 1.
rew1amt String Optional. Amount of first reward item. Needs to include × if required.

If no amount is specified, the name of the reward will be displayed without specifying a quantity.

rew2amt String Optional. Amount of second reward item. Needs to include × if required.

If no amount is specified, the name of the reward will be displayed without specifying a quantity.

rew3amt String Optional. Amount of third reward item. Needs to include × if required.

If no amount is specified, the name of the reward will be displayed without specifying a quantity.

caption String Optional. Name of a sync pair if the reward item is sync pair-specific, such as sync orbs.

Only applies to the last reward item in the list.

{{MastersMissionTable|format=end}}
Parameter Allowed values Notes
color Color template Optional. Sets the color scheme for the table. Should match the color scheme used in the header.
text-color Color wordHex codeColor template Optional. Text color for the header row. Should match the color scheme used in the header.
1 Numberall Number of missions that need to be completed to receive the final reward.
2 String File name of the reward item, without the "Masters" prefix or the ".png" file extension.
3 String Name to be displayed for reward item.
4 String Amount of reward item. Do not include ×.

Objective Keywords

Keywords can be used for common mission objectives. Use the keyword as the second unnamed parameter, and specify the named parameters for each keyword anywhere within the template call.

Allowed Keywords for Objectives
Keyword Parameters Example text Notes
complete num, area Complete the following area ×1
An Irresistible Aroma
If no value is specified for num, it defaults to 1
completewithtype type, num,
area
Complete the following area with 1 Steel-type sync pair on your team ×5
A Daunting Cliff Face
completeany4 num, battle,
dailybattle
Complete any of the following areas ×3
Friendly Competition: Part 1
Friendly Competition: Part 2
Friendly Competition: Part 3
Friendly Competition: Part 4
If no value is specified for dailybattle, it defaults to battle 4
completeany5 num, battle,
dailybattle
Complete any of the following areas ×10
Fan-tastic Battling! Stage 1
Fan-tastic Battling! Stage 2
Fan-tastic Battling! Stage 3
Fan-tastic Battling! Stage 4
Daily Extreme Battle 1
If no value is specified for dailybattle, it defaults to battle 5
completeany6 num, battle,
dailybattle
Complete any of the following areas ×10
Ho-Oh's Challenge: Part 1
Ho-Oh's Challenge: Part 2
Ho-Oh's Challenge: Part 3
Ho-Oh's Challenge: Part 4
Ho-Oh's Challenge: Part 5
Ho-Oh's Challenge: Part 6
If no value is specified for dailybattle, it defaults to battle 6
completeany8 num, battle,
dailybattle
Complete any of the following areas ×10
Fight or Fright! Round 1
Fight or Fright! Round 2
Fight or Fright! Round 3
Fight or Fright! Round 4
Fight or Fright! Round 5
Fight or Fright! Round 6
Fight or Fright! Round 7
Fight or Fright! Round 8
If no value is specified for dailybattle, it defaults to battle 8
challengeany4 num, opponent,
dailybattle
Complete any of the following areas ×3
• Challenge Pasio's Trainers: Part 1
• Challenge Pasio's Trainers: Part 2
• Challenge Pasio's Trainers: Part 3
Daily Super Tough Battle!
If no value is specified for dailybattle, it defaults to Daily Extreme Battle 1
challengeany5 num, opponent,
dailybattle
Complete any of the following areas ×10
• Challenge the Aether Foundation: Part 1
• Challenge the Aether Foundation: Part 2
• Challenge the Aether Foundation: Part 3
• Challenge the Aether Foundation: Part 4
Daily Extreme Battle 1
If no value is specified for dailybattle, it defaults to Daily Extreme Battle 1
completeffb num Complete the following area ×1
Full-Force Battle! Round 1
completeffbnofaint num Complete the following area with 6 or fewer sync pairs falling to 0 HP:
Full-Force Battle! Round 2
If no value is specified for num, it defaults to 6
completeffb1theme theme Complete Full-Force Battle! Round 2
with 3 or more sync pairs that share the following theme
and with 6 total sync pairs or fewer:
Ghost
completebc num Complete the following area ×1
Battle Challenge! Round 1
completebcnofaint None Complete the following area with 1 or fewer sync pairs falling to 0 HP:
Battle Challenge! Round 2
completebc1theme num, theme Complete Battle Challenge! Round 2
with 3 or more sync pairs that share the following theme
and with 1 or fewer sync pairs falling to 0 HP:
Alola
completebc2theme theme1, theme2 Complete Battle Challenge! Round 2
with 1 or more sync pairs that share each of the following themes
and with 1 or fewer sync pairs falling to 0 HP:
Fairy
Electric
completebc3theme theme1, theme2,
theme3
Complete Battle Challenge! Round 2
with 1 or more sync pairs that share each of the following themes
and with 1 or fewer sync pairs falling to 0 HP:
Flying
Grass
Water
obtain item, num Obtain: Event Voucher S ×2,500 If no value is specified for num, it defaults to 2,000
speedchallenge1theme time, theme Complete Speed Challenge
with 2 or more sync pairs that share
the following theme in under 03:00:
Electric
egg num Hatch an Egg ×15
levelup num, pair Level up the following sync pair ×30
Professor Sycamore and Xerneas
supereffective num Use 15 supereffective attacks to complete this event
sync num Use 10 sync moves to complete this event
unity num Use 5 unity attacks to complete this event