Template:Jam series detailed stats/row: Difference between revisions
From VNDev Wiki
use modified date instead of current date for "has it ended?" stuff |
handle cases where participants or entries are unknown |
||
Line 2: | Line 2: | ||
| {{#show: {{{1}}} | ?Is number in series}} | | {{#show: {{{1}}} | ?Is number in series}} | ||
| {{#ifeq: {{#show: {{{1}}} | ?Has year}} | {{CURRENTYEAR}} | <span style="background-color:yellow"> | <span>}} {{#show: {{{1}}} | ?Has year}}</span> | | {{#ifeq: {{#show: {{{1}}} | ?Has year}} | {{CURRENTYEAR}} | <span style="background-color:yellow"> | <span>}} {{#show: {{{1}}} | ?Has year}}</span> | ||
| {{#show: {{{1}}} | ?Has entries}} {{#ifexpr: {{#time: U | {{#show: {{{1}}} | ?Has end date}} }} > {{#time: U | {{#show: {{{1}}} | ?Modification date}} }} | (partial)}} | | {{#show: {{{1}}} | ?Has entries|default=---}} {{#ifexpr: {{#time: U | {{#show: {{{1}}} | ?Has end date}} }} > {{#time: U | {{#show: {{{1}}} | ?Modification date}} }} | (partial)}} | ||
| {{#show: {{{1}}} | ?Has participants}} {{#ifexpr: {{#time: U | {{#show: {{{1}}} | ?Has end date}} }} > {{#time: U | {{#show: {{{1}}} | ?Modification date}} }} | (partial)}} | | {{#show: {{{1}}} | ?Has participants|default=---}} {{#ifexpr: {{#time: U | {{#show: {{{1}}} | ?Has end date}} }} > {{#time: U | {{#show: {{{1}}} | ?Modification date}} }} | (partial)}} | ||
| {{#ifexpr: {{#time: U | {{#show: {{{1}}} | ?Has end date}} }} < {{#time: U | {{#show: {{{1}}} | ?Modification date}} }} | | | {{#ifexpr: {{#time: U | {{#show: {{{1}}} | ?Has end date}} }} < {{#time: U | {{#show: {{{1}}} | ?Modification date}} }} | | ||
{{#expr: {{#expr: {{formatnum: {{#show: {{{1}}} | ?Has participants}} |R}} div {{formatnum: {{#show: {{{1}}} | ?Has entries}} |R}} }} round 2}} | {{#expr: {{#expr: {{formatnum: {{#show: {{{1}}} | ?Has participants}} |R}} div {{formatnum: {{#show: {{{1}}} | ?Has entries}} |R}} }} round 2}} |
Revision as of 18:03, 21 January 2025
| | | | --- | --- | --- | |-