Template:Jam series detailed stats/row: Difference between revisions

From VNDev Wiki
okay, this should work
removed a lot of unnecessary queries, should greatly improve performance
Line 1: Line 1:
| {{#show: {{{1}}} | ?}}
| {{{series}}}
| {{#show: {{{1}}} | ?Is number in series}}  
| {{{num}}}
| {{#ifeq: {{#show: {{{1}}} | ?Has start date#-F[Y]}} | {{CURRENTYEAR}} | <span style="background-color:yellow"> | <span>}} {{#show: {{{1}}} | ?Has start date#-F[Y]}}</span>
| {{#ifeq: {{{year}}} | {{CURRENTYEAR}} | <span style="background-color:yellow"> | <span>}} {{{year}}}</span>
| {{#show: {{{1}}} | ?Has entries|default=---}} {{#ifexpr: {{#time: U | {{#show: {{{1}}} | ?Has end date}} }} > {{#time: U | {{#show: {{{1}}} | ?Modification date}}} |&#32;(partial)}}
| {{{entries}}} {{#ifexpr: {{#time: U | {{{end}}} }} > {{#time: U | {{{modif}}} }} |&#32;(partial)}}
| {{#show: {{{1}}} | ?Has participants|default=---}} {{#ifexpr: {{#time: U | {{#show: {{{1}}} | ?Has end date}}  }} > {{#time: U | {{#show: {{{1}}} | ?Modification date}} }} |&#32;(partial)}}
| {{{partic}}} {{#ifexpr: {{#time: U | {{{end}}}  }} > {{#time: U | {{{modif}}} }} |&#32;(partial)}}
| {{#ifexpr: {{#time: U | {{#show: {{{1}}} | ?Has end date}} }} < {{#time: U | {{#show: {{{1}}} | ?Modification date}} }} |
| {{#ifexpr: {{#time: U | {{{end}}} }} < {{#time: U | {{{modif}}} }} |
   {{#expr: {{#expr: {{formatnum: {{#show: {{{1}}} | ?Has participants}} |R}} div {{formatnum: {{#show: {{{1}}} | ?Has entries}} |R}} }} round 2}}
   {{#expr: {{#expr: {{formatnum: {{{partic}}} |R}} div {{formatnum: {{{entries}}} |R}} }} round 2}}
   | --- }}
   | --- }}
| {{#show: {{{1}}} | ?Has URL}}  
| {{{url}}}  
|-
|-

Revision as of 12:44, 22 January 2025

| {{{series}}} | {{{num}}} | {{{year}}} | {{{entries}}} Expression error: Unexpected < operator. | {{{partic}}} Expression error: Unexpected < operator. | Expression error: Unexpected < operator. | {{{url}}} |-