Difference between revisions of "CargoHighestAndLowestDates"

From Sega Retro

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{#len:{{{1|}}}}}|10|{{CargoHighestAndLowest|{{{1|}}}}}|}}<noinclude>
+
{{#ifeq:{{#len:{{{1|}}}}}|10|{{
 +
#ifeq:{{#sub:{{{1|}}}|4|1}}|-|{{
 +
#ifeq:{{#sub:{{{1|}}}|7|1}}|-|{{CargoHighestAndLowest|{{#replace:{{{1|}}}|-|}}}}|}}|}}|}}<noinclude>
  
 
[[Template:CargoHighestAndLowest]], but making sure the value is a valid date (yyyy-mm-dd) first.
 
[[Template:CargoHighestAndLowest]], but making sure the value is a valid date (yyyy-mm-dd) first.
  
[[Category:Cargo templates]]
+
[[Category:Cargo templates]]</noinclude>
</noinclude>
 

Latest revision as of 15:09, 22 March 2022


Template:CargoHighestAndLowest, but making sure the value is a valid date (yyyy-mm-dd) first.