User:Pharap/Template Sandbox: Difference between revisions
From Guild of Archivists
(Implement 'checked time unit' template.) |
m (Add missing opening bracket.) |
||
Line 5: | Line 5: | ||
{{#if: {{{2|{{{minimum|}}}}}} | | {{#if: {{{2|{{{minimum|}}}}}} | | ||
{{#if: {{{1|{{{ordinal|}}}}}} | | {{#if: {{{1|{{{ordinal|}}}}}} | | ||
{{#ifexpr: ({{{1|{{{ordinal|0}}}}}} >= {{{2|{{{minimum|0}}}}}}) and ({{{1|{{{ordinal|0}}}}}} <= {{{3|{{{maximum|0}}}}}})) | {{#ifexpr: (({{{1|{{{ordinal|0}}}}}} >= {{{2|{{{minimum|0}}}}}}) and ({{{1|{{{ordinal|0}}}}}} <= {{{3|{{{maximum|0}}}}}})) | ||
| {{{1}}} | | {{{1}}} | ||
| {{error|Provided argument must be an integer between {{{2|{{{minimum|0}}}}}} and {{{3|{{{maximum|0}}}}}} inclusive.}} | | {{error|Provided argument must be an integer between {{{2|{{{minimum|0}}}}}} and {{{3|{{{maximum|0}}}}}} inclusive.}} |
Revision as of 07:21, 29 November 2024
Parameters 1 or ordinal must be provided with a valid argument. Parameters 2 or minimum must be provided with a valid argument. Parameters 3 or maximum must be provided with a valid argument.