Template:SelectFirstWords: Difference between revisions

From RadiWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{CombineWithSeperator17|{{#ifexpr: {{{2}}} > 0|{{#explode:{{{1}}}| |0}}}}| |{{#ifexpr: {{{2}}} > 1|{{#explode:{{{1}}}| |1}}}}|{{#ifexpr: {{{2}}} > 2|{{#explode:{{{1}}}| |2}}}}|{{#ifexpr: {{{2}}} > 3|{{#explode:{{{1}}}| |3}}}}|{{#ifexpr: {{{2}}} > 4|{{#explode:{{{1}}}| |4}}}}|{{#ifexpr: {{{2}}} > 5|{{#explode:{{{1}}}| |5}}}}|{{#ifexpr: {{{2}}} > 6|{{#explode:{{{1}}}| |6}}}}|{{#ifexpr: {{{2}}} > 7|{{#explode:{{{1}}}| |7}}}}|{{#ifexpr: {{{2}}} > 8|{{#explode:{{{1}}}| |8}}}}|{{#ifexpr: {{{2}}} > 9|{{#explode:{{{1}}}| |9}}}}|{{#ifexpr: {{{2}}} > 10|{{#explode:{{{1}}}| |10}}}}}}
{{#ifeq: {{SelectFirstWordsUnchecked|{{{1}}}|{{{2}}}}} | {{SelectFirstWordsUnchecked|{{{1}}}|{{#expr: {{{2}}} - 1}}}} | {{SelectFirstWordsUnchecked|{{{1}}}|{{{2}}}}} }}

Revision as of 21:09, 13 February 2020