Template:MissionRow: Difference between revisions

From Phantasy Star Universe Clementine
m (Fixing Rank If Check)
m (Adding back rank column to Rank If Check)
Line 1: Line 1:
<includeonly>{{#if: {{{rank|}}}  
<includeonly>{{#if: {{{rank|}}}  
| {{#ifeq: {{{rank}}} | U  
| {{#ifeq: {{{rank}}} | U  
| {{!}} rowspan="2" {{!}} {{{req_lv|--}}} {{!}}{{!}} rowspan="2" {{!}} {{{enemy_lv|--}}} {{!}}{{!}} {{{s_mes|--}}} {{!}}{{!}} {{{s_mp|--}}} {{!}}{{!}} {{{a_mes|--}}} {{!}}{{!}} {{{a_mp|--}}} {{!}}{{!}} {{{b_mes|--}}} {{!}}{{!}} {{{b_mp|--}}} {{!}}{{!}} {{{c_mes|--}}} {{!}}{{!}} {{{c_mp|--}}}
| {{!}} rowspan="2" {{!}} {{{rank|--}}} {{!}}{{!}} rowspan="2" {{!}} {{{req_lv|--}}} {{!}}{{!}} rowspan="2" {{!}} {{{enemy_lv|--}}} {{!}}{{!}} {{{s_mes|--}}} {{!}}{{!}} {{{s_mp|--}}} {{!}}{{!}} {{{a_mes|--}}} {{!}}{{!}} {{{a_mp|--}}} {{!}}{{!}} {{{b_mes|--}}} {{!}}{{!}} {{{b_mp|--}}} {{!}}{{!}} {{{c_mes|--}}} {{!}}{{!}} {{{c_mp|--}}}
{{!}}-
{{!}}-
{{!}} colspan="2" {{!}} [[{{{s_mat|--}}}]] x{{{s_mat_amt|1}}} {{!}}{{!}} colspan="2" {{!}} [[{{{a_mat|--}}}]] x{{{a_mat_amt|1}}} {{!}}{{!}} colspan="2" {{!}} [[{{{b_mat|--}}}]] x{{{b_mat_amt|1}}} {{!}}{{!}} colspan="2" {{!}} [[{{{c_mat|--}}}]] x{{{c_mat_amt|1}}}
{{!}} colspan="2" {{!}} [[{{{s_mat|--}}}]] x{{{s_mat_amt|1}}} {{!}}{{!}} colspan="2" {{!}} [[{{{a_mat|--}}}]] x{{{a_mat_amt|1}}} {{!}}{{!}} colspan="2" {{!}} [[{{{b_mat|--}}}]] x{{{b_mat_amt|1}}} {{!}}{{!}} colspan="2" {{!}} [[{{{c_mat|--}}}]] x{{{c_mat_amt|1}}}

Revision as of 04:10, 1 January 2025

Purpose

Shortcut template for Mission Requirements and Rewards.

Parameter List

C, B, A, S, S2, S3, S4, U (Positional Parameters)
    - Description: Each parameter represents the level row in the table.
    - Sub-parameters (for each level):
        * rank: Mission rank.
        * req_lv: Required player level.
        * enemy_lv: Enemy level.
        * s_mes, s_mp: Meseta and Points for Rank S.
        * a_mes, a_mp: Meseta and Points for Rank A.
        * b_mes, b_mp: Meseta and Points for Rank B.
        * c_mes, c_mp: Meseta and Points for Rank C.
        * mat: Material reward [PA Fragments | Ultimate Tokens].
        * mat_amt: Number of materials for the level.

Examples

{{MissionTable
| C = {{MissionRow|rank = C|req_lv = 1|enemy_lv = 10+|s_mes = 1100|s_mp = 24}}
| B = {{MissionRow|rank = B|req_lv = 15|enemy_lv = 30+}}
| A = {{MissionRow|rank = A|req_lv = 40|enemy_lv = 70+}}
| S = {{MissionRow|rank = S|req_lv = 70|enemy_lv = 100+}}
| S2 = {{MissionRow|rank = S2|req_lv = 100|enemy_lv = 150+|mat = PA Fragment|mat_amt = 1}}
| S3 = {{MissionRow|rank = S3|req_lv = 130|enemy_lv = 175+}}
| S4 = {{MissionRow|rank = S4|req_lv = 160|enemy_lv = 190+}}
}}