User:Pharap/Template Sandbox: Difference between revisions

From Guild of Archivists
m (Implament spaces for multiple errors.)
(Blank out sandbox.)
Tags: Blanking Manual revert
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{1|{{{ordinal|}}}}}} || {{error|Parameters 1 or ordinal must be provided with a valid argument.}}}}{{#if: {{{2|{{{minimum|}}}}}} || {#if: {{{1|{{{ordinal|}}}}}} || }}{{error|Parameters 2 or minimum must be provided with a valid argument.}}}}{{#if: {{{3|{{{maximum|}}}}}} || {#if: {{{2|{{{minimum|}}}}}} || }}{{error|Parameters 3 or maximum must be provided with a valid argument.}}}}{{#if: {{{3|{{{maximum|}}}}}} |
 
{{#if: {{{2|{{{minimum|}}}}}} |
{{#if: {{{1|{{{ordinal|}}}}}} |
{{#ifexpr: (({{{1|{{{ordinal|0}}}}}} >= {{{2|{{{minimum|0}}}}}}) and ({{{1|{{{ordinal|0}}}}}} <= {{{3|{{{maximum|0}}}}}}))
| {{{1}}}
| {{error|Provided argument must be an integer between {{{2|{{{minimum|0}}}}}} and {{{3|{{{maximum|0}}}}}} inclusive.}}
}}
}}
}}
}}

Latest revision as of 07:27, 3 December 2024