Template:Splatfest result: Difference between revisions

From Inkipedia, the Splatoon wiki
(Made it even simpler.)
mNo edit summary
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>! style="text-align: left;" | {{inkG|{{{col1}}}}} {{{opt1}}}
<includeonly>| {{ink|{{{col1}}}}} '''{{{opt1}}}'''
! style="text-align: left" | {{inkG|{{{col2}}}}} {{{opt2}}}
| {{ink|{{{col2}}}}} '''{{{opt2}}}'''
| {{#if:{{{pt|}}}|{{{pt}}} PT|{{#if:{{{jst|}}}|{{{jst}}} JST|{{#if:{{{cest|}}}|{{{cest}}} CEST<br />{{{aest|}}} AEST}}}}}}
| {{#dateformat: {{#time: Y-m-d | {{{time}}} }} }} {{#time: H:i e | {{{time}}} }}
| '''{{#ifeq:{{{winner}}}|1|{{{opt1}}}|{{{opt2}}}}}'''
| '''{{#ifeq:{{{winner}}}|1|{{{opt1}}}|{{{opt2}}}}}'''
| '''{{#expr:{{{wpop}}} + {{{wwin}}} * {{{#ifeq:{{{format}}}|old|2|4}}}}'''
| '''{{#expr:{{{wpop}}} + {{{wwin}}} * {{#switch:{{{format}}}|v220 = 6|old = 2|4}}}}'''
| style="font-size: 80%" | {{#ifexpr:{{{wpop}}}>=50|'''}}{{{wpop}}}%{{#ifexpr:{{{wpop}}}>=50|'''}}
| style="font-size: 80%" | {{#ifexpr:{{{wpop}}}>=50|'''}}{{{wpop}}}%{{#ifexpr:{{{wpop}}}>=50|'''}}
| style="font-size: 80%" | {{#ifexpr:{{{wwin}}}>=50|'''}}{{{wwin}}}%{{#ifexpr:{{{wwin}}}>=50|'''}}
| style="font-size: 80%" | {{#ifexpr:{{{wwin}}}>=50|'''}}{{{wwin}}}%{{#ifexpr:{{{wwin}}}>=50|'''}}
| {{#ifeq:{{{winner}}}|1|{{{opt2}}}|{{{opt1}}}}}
| {{#ifeq:{{{winner}}}|1|{{{opt2}}}|{{{opt1}}}}}
| {{#expr:(100 - {{{wpop}}}) + (100 - {{{wwin}}}) * {{{#ifeq:{{{format}}}|old|2|4}}}}
| {{#expr:(100 - {{{wpop}}}) + (100 - {{{wwin}}}) * {{#switch:{{{format}}}|v220 = 6|old = 2|4}}}}
| style="font-size: 80%" | {{#ifexpr:{{{wpop}}}<50|'''}}{{{lpop}}}%{{#ifexpr:{{{wpop}}}<50|'''}}
| style="font-size: 80%" | {{#ifexpr:{{{wpop}}}<50|'''}}{{#expr:100-{{{wpop}}}}}%{{#ifexpr:{{{wpop}}}<50|'''}}
| style="font-size: 80%" | {{#ifexpr:{{{wwin}}}<50|'''}}{{{lwin}}}%{{#ifexpr:{{{wwin}}}<50|'''}}
| style="font-size: 80%" | {{#ifexpr:{{{wwin}}}<50|'''}}{{#expr:100-{{{wwin}}}}}%{{#ifexpr:{{{wwin}}}<50|'''}}
|-</includeonly><noinclude>
|-</includeonly><noinclude>


Use this template to create a row on the list of completed Splatfest events on the [[Splatfest]] page. Fields:
Use this template to create a row on the list of completed Splatfest events on the [[Splatfest]] page. Fields:


*Colors: Color of each option. These are the value you'd pass onto the [[:Template:inkG|inkG template]].
*Colors: Color of each option. These are the value you'd pass onto the [[:Template:ink|ink template]].
**'''col1''': Color of the first (Callie's) option.
**'''col1''': Color of the first (Callie's) option.
**'''col2''': Color of the second (Marie's) option.
**'''col2''': Color of the second (Marie's) option.
Line 20: Line 20:
**'''opt1''': First (Callie's) option.
**'''opt1''': First (Callie's) option.
**'''opt2''': Second (Marie's) option.
**'''opt2''': Second (Marie's) option.
*Times: The start time of the event. Depending on the region of the event, you should or should not fill in each of these fields. The format must be <code>yyyy-mm-dd hh-mm</code> in the specified timezone (don't write the ID of the timezone).
*'''time''': The start time of the event. The format must be <code>yyyy-mm-dd hh-mm UTC</code>. Replace UTC with the abbreviation for the timezone being used.
**'''pt''': For a US Splatfest; the PT time.
*'''winner''': Number of the winning option, so either "1" or "2".
**'''jst''': For a Japan Splatfest; the JST time.
**'''cest''': For an European and Australian Splatfest; the CEST time.
**'''aest''': For an European and Australian Splatfest; the AEST time.
*Winner:
**'''winner''': Number of the winning option, so either "1" or "2".
*Winner percentages: Percentage number for the winner's popularity and win amount. Don't write the "%" sign.
*Winner percentages: Percentage number for the winner's popularity and win amount. Don't write the "%" sign.
**'''wpop''': Winner's popularity percentage.
**'''wpop''': Winner's popularity percentage.
**'''wwin''': Winner's win percentage.
**'''wwin''': Winner's win percentage.
*Format:
*Format:
**'''format''': If the formula for the final score is the pre-[[August Update]] one, write "old" for this field. Otherwise, leave it alone.
**'''format''': If the formula for the final score is the pre-[[Version 2.0.0 (Splatoon)|Version 2.0.0]] one, write "old" for this field. If the formula for the final score is the post-[[Version 2.2.0 (Splatoon)|Version 2.2.0]] one, write "v220" for this field. Otherwise, leave it alone.
</noinclude>
</noinclude>

Latest revision as of 04:17, 22 August 2018


Use this template to create a row on the list of completed Splatfest events on the Splatfest page. Fields:

  • Colors: Color of each option. These are the value you'd pass onto the ink template.
    • col1: Color of the first (Callie's) option.
    • col2: Color of the second (Marie's) option.
  • Options: Name of the options.
    • opt1: First (Callie's) option.
    • opt2: Second (Marie's) option.
  • time: The start time of the event. The format must be yyyy-mm-dd hh-mm UTC. Replace UTC with the abbreviation for the timezone being used.
  • winner: Number of the winning option, so either "1" or "2".
  • Winner percentages: Percentage number for the winner's popularity and win amount. Don't write the "%" sign.
    • wpop: Winner's popularity percentage.
    • wwin: Winner's win percentage.
  • Format:
    • format: If the formula for the final score is the pre-Version 2.0.0 one, write "old" for this field. If the formula for the final score is the post-Version 2.2.0 one, write "v220" for this field. Otherwise, leave it alone.