115,931
edits
No edit summary |
(hope this doesn't break things, but I do need to find out if this is integral, as there's this very strange bug that only crops up here with the number 10) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch | <includeonly>{{#switch:{{#explode:{{#replace:{{#replace:{{da smw|{{{1}}}}}|Series|X.NO.}}|Volume|X.NO.}}|X.NO.|1}} | ||
|One|1|I=1|Two|2|II=2|Three|3|III=3|Four|4|IV=4|Five|5|V=5|Six|6|VI=6|Seven|7|VII=7|Eight|8|VIII=8|Nine|9|IX=9|Ten|10|X=10|Eleven|11|XI=11|Twelve|12|XII=12|Thirteen|13|XIII=13|Fourteen|14|XIV=14|Fifteen|15|XV=15|Sixteen|16|XVI=16|Seventeen|17|XVII=17|Eighteen|18|XVIII=18|Nineteen|19|XIX=19|Twenty|20|XX=20|#default={{#ifeq:{{{1}}}|{{{2}}}|1|{{#iferror:{{#expr:{{#explode:{{da smw|{{{1}}}}}||-1}} + 1}}|{{da smw|{{{1}}}}}|{{#explode:{{da smw|{{{1}}}}}||-1}}}}}}}}</includeonly><noinclude>This template is in use at {{tlx|Infobox Audio Series}} only. It calculates the '''series numeral''' if present or outputs undabbed series otherwise. Please do not touch. | |One|1|I=1|Two|2|II=2|Three|3|III=3|Four|4|IV=4|Five|5|V=5|Six|6|VI=6|Seven|7|VII=7|Eight|8|VIII=8|Nine|9|IX=9|Ten|10|X=10|Eleven|11|XI=11|Twelve|12|XII=12|Thirteen|13|XIII=13|Fourteen|14|XIV=14|Fifteen|15|XV=15|Sixteen|16|XVI=16|Seventeen|17|XVII=17|Eighteen|18|XVIII=18|Nineteen|19|XIX=19|Twenty|20|XX=20|#default={{#ifeq:{{{1}}}|{{{2}}}|1|{{#iferror:{{#expr:{{#explode:{{da smw|{{{1}}}}}||-1}} + 1}}|{{da smw|{{{1}}}}}|{{#explode:{{da smw|{{{1}}}}}||-1}}}}}}}}</includeonly><noinclude>This template is in use at {{tlx|Infobox Audio Series}} only. It calculates the '''series numeral''' if present or outputs undabbed series otherwise. Please do not touch. | ||
[[Category:Coding utility templates]]</noinclude> | [[Category:Coding utility templates]]</noinclude> |