Template:SelectFirstWords: Difference between revisions

From RadiWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{CombineWithSeperator|{{#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}}}} |<!-- The longer version is the same as the shorter version, so the argument count is too high. Return nothing. -->| {{SelectFirstWordsUnchecked|{{{1}}}|{{{2}}}}} }}

Latest revision as of 21:10, 13 February 2020

Error: String exceeds 1,000 character limit.