Lowest
From Sega Retro
{{#vardefine:x|{{{1|9999}}} }} {{#ifexpr:{{{2|9999}}}<{{{#var:x}}}|{{#vardefine:x|{{{2}}} }} {{#ifexpr:{{{3|9999}}}<{{{#var:x}}}|{{#vardefine:x|{{{3}}} }} {{#ifexpr:{{{4|9999}}}<{{{#var:x}}}|{{#vardefine:x|{{{4}}} }} ... {{{#var:x}}}
? - Andlabs 19:52, 4 April 2012 (CDT)
- That's obviously much better if it works. If you were wondering, the purpose of this template is to find the earliest release year so that games can be automatically categorised. - Hivebrain 20:36, 4 April 2012 (CDT)
- How would it be used in a page then — manually? Or do we have a way to do it automatically? - Andlabs 20:43, 4 April 2012 (CDT)
- I'd use it in Template:Releases something like this: [[Category:{{lowest|{{year|md_date_eu}}|{{year|md_date_us}}|etc.}} Mega Drive games]]
- Year will be another template that trims the date. It'll all be automatic when someone adds release dates. - Hivebrain 21:04, 4 April 2012 (CDT)
- How would it be used in a page then — manually? Or do we have a way to do it automatically? - Andlabs 20:43, 4 April 2012 (CDT)