Template:Infobox PPQE: Difference between revisions

From Puyo Nexus Wiki
Jump to navigation Jump to search
mNo edit summary
associated story (undo if botched)
Line 9: Line 9:
| {{#if:{{{end|}}}|{{EBTimecast|{{{end}}}|0|1}}|1}}=
| {{#if:{{{end|}}}|{{EBTimecast|{{{end}}}|0|1}}|1}}=
|#default = <tr style="line-height:12px;"><td style="font-weight: bold; width: 42%; vertical-align:middle;">Progress Reference ({{Purge|Refresh}})</td><td style="height:16px; text-align:left; padding:5px; vertical-align:middle; background-color:lightgrey; border-radius:10px;"><div style="display:inline-block; background-color:yellow; text-align:right; border-radius:10px; width:{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})*100)/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})}}%; padding-right:10px; margin-right:10px;">{{#ifexpr:(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}}))<0.5|&emsp;|{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*100)}}% ({{formatnum:{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*{{{progress|100}}})}}}}{{#if:{{{progress2|}}}|&nbsp;{{{plabel1|???}}}/{{formatnum:{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*{{{progress2|100}}})}} {{{plabel2|???}}}}}|}})}}</div>{{#ifexpr:(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}}))<0.5|{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*100)}}% ({{formatnum:{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*{{{progress|100}}})}}}}{{#if:{{{progress2|}}}|&nbsp;{{{plabel1|???}}}/{{formatnum:{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*{{{progress2|100}}})}} {{{plabel2|???}}}}}|}})|}}</td></tr>}}{{
|#default = <tr style="line-height:12px;"><td style="font-weight: bold; width: 42%; vertical-align:middle;">Progress Reference ({{Purge|Refresh}})</td><td style="height:16px; text-align:left; padding:5px; vertical-align:middle; background-color:lightgrey; border-radius:10px;"><div style="display:inline-block; background-color:yellow; text-align:right; border-radius:10px; width:{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})*100)/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})}}%; padding-right:10px; margin-right:10px;">{{#ifexpr:(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}}))<0.5|&emsp;|{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*100)}}% ({{formatnum:{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*{{{progress|100}}})}}}}{{#if:{{{progress2|}}}|&nbsp;{{{plabel1|???}}}/{{formatnum:{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*{{{progress2|100}}})}} {{{plabel2|???}}}}}|}})}}</div>{{#ifexpr:(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}}))<0.5|{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*100)}}% ({{formatnum:{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*{{{progress|100}}})}}}}{{#if:{{{progress2|}}}|&nbsp;{{{plabel1|???}}}/{{formatnum:{{#expr:trunc(({{#time:U|+9 hours}}-{{#time:U|{{{start|}}}}})/({{#time:U|{{{end|}}}}}-{{#time:U|{{{start|}}}}})*{{{progress2|100}}})}} {{{plabel2|???}}}}}|}})|}}</td></tr>}}{{
  #if: {{{type<includeonly>|</includeonly>}}} | <tr><td style="font-weight: bold; width: 42%;">Event Type</td><td>{{{type}}}</td></tr> }}</table>
  #if: {{{type<includeonly>|</includeonly>}}} | <tr><td style="font-weight: bold; width: 42%;">Event Type</td><td>{{{type}}}</td></tr> }}
{{
#if: {{{type<includeonly>|</includeonly>}}} | <tr><td style="font-weight: bold; width: 42%;">Associated Story</td><td>{{{{{storyicon}}}|20px}} {{{story}}}</td></tr> }}
</table>

Revision as of 03:44, 22 May 2025

{{{name}}}
{{{kanji}}}
{{{image}}}
{{{caption}}}
Event Period (UTC+9){{{start}}}~{{{end}}}
Event Type{{{type}}}
Associated Story{{{{{storyicon}}}|20px}} {{{story}}}