Template:Vailee name: Difference between revisions

From Guild of Archivists
(Remove ignored error message.)
(Update template to react to empty parameter. Update error messages.)
Line 1: Line 1:
<includeonly>{{#switch: {{{1|{{{ordinal|}}}}}}
<includeonly>{{#if: {{{1|{{{ordinal|}}}}}}|{{#switch: {{{1|{{{ordinal|}}}}}}
| 1 = Leefo
| 1 = Leefo
| 2 = Leebro
| 2 = Leebro
Line 10: Line 10:
| 9 = Leevotar
| 9 = Leevotar
| 10 = Leenovoo
| 10 = Leenovoo
| {{error|Provided value must be an integer between 1 and 10 inclusive}}
| {{error|Provided argument must be an integer between 1 and 10 inclusive.}}
}}</includeonly>
}}|{{error|Parameters 1 or ordinal must be provided with a valid argument.}}</includeonly>
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Revision as of 06:55, 29 November 2024

Template documentation[view] [edit] [history] [purge]

A template for mapping the ordinal value of a vailee to the corresponding vailee name.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Ordinal1 ordinal

The ordinal of the vailee. A value between 1 and 10 inclusive.

Suggested values
1 2 3 4 5 6 7 8 9 10
Example
1
Numberrequired