User:Pharap/Template Sandbox: Difference between revisions

From Guild of Archivists
m (Getting steadily more desparate.)
m (Test if suffix is the source of the problem.)
Line 2: Line 2:
-->{{#if: {{{1| {{{ordinal| }}} }}} |
-->{{#if: {{{1| {{{ordinal| }}} }}} |
{{#ifexpr: (({{{1|{{{ordinal|0}}}}}} >= 0) and ({{{1|{{{ordinal|0}}}}}} <= 624))
{{#ifexpr: (({{{1|{{{ordinal|0}}}}}} >= 0) and ({{{1|{{{ordinal|0}}}}}} <= 624))
|{{#expr:(9375 + {{{1}}})}}|{{error|Provided argument must be an integer between 0 and 624 inclusive.}} }} }}</includeonly>
|{{#expr:(9375 + {{{1}}})}}{{#ifeq:{{{suffix|no}}}|yes|&nbsp;DE|}}|{{error|Provided argument must be an integer between 0 and 624 inclusive.}} }} }}</includeonly>

Revision as of 01:46, 2 December 2024