Difference between revisions of "Template:InfoboxTournament"

From comp.tf
Jump to navigation Jump to search
Line 61: Line 61:
 
DATES
 
DATES
  
-->{{!}} class="comptf-infobox-header" {{!}} '''Date{{#if:{{{dates|}}}|s|}}'''
+
-->{{!}} class="comptf-infobox-header" {{!}} '''Date{{#ifeq:{{{startyear|}}}{{month|{{{startmonth|}}}}}{{#expr:{{{startdate|}}}}}|{{{endyear|}}}{{month|{{{endmonth|}}}}}{{#expr:{{{enddate|}}}}}||s}}'''
{{!}} class="comptf-infobox-body" {{!}} {{#if:{{{dates|}}}|{{{dates||}}}|{{{date|}}}}}
+
{{!}} class="comptf-infobox-body" {{!}} {{#if:{{{date|}}}|{{{date|}}}|{{dates|{{{startyear|}}}|{{{startmonth|}}}|{{{startdate|}}}|{{{endyear|}}}|{{{endmonth|}}}|{{{enddate|}}}}}}}
 
{{!}}- class="comptf-infobox-info"
 
{{!}}- class="comptf-infobox-info"
 
<!--
 
<!--

Revision as of 00:38, 16 April 2020