Difference between revisions of "OnThisDayReleaseFormatBrackets"

From Sega Retro

(Created page with "{{#switch:{{{1|}}} |1 |2=({{Code2Format|{{{3|}}}) |#default=({{Code2Format|{{{2|}}}}}, {{{3|}}}) }}<noinclude>Category:Sega Retro templates</noinclude>")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#switch:{{{1|}}}
+
{{#if:{{{2|}}}{{{3|}}}|{{#switch:{{{1|}}}
 
|1
 
|1
|2=({{Code2Format|{{{3|}}})
+
|2=({{{3|}}})
|#default=({{Code2Format|{{{2|}}}}}, {{{3|}}})
+
|#default=({{Code2Format|{{{2|}}}}}, {{#if:{{#pos:{{{3|}}}|_}}|{{#explode:{{{3|}}}|_|0}} ({{#explode:{{{3|}}}|_|1}})|{{{3|}}}}})
}}<noinclude>[[Category:Sega Retro templates]]</noinclude>
+
}}}}<noinclude>
 +
Splitting this bit out of [[Template:OnThisDayRelease]] to reduce duplicate code.
 +
 
 +
[[Category:Templates]]</noinclude>

Latest revision as of 07:02, 19 August 2023

Splitting this bit out of Template:OnThisDayRelease to reduce duplicate code.