Template:Vailee name: Difference between revisions

From Guild of Archivists
(Create 'Vailee name' template for mapping ordinal values from 1 to 10 to the name of the corresponding vailee.)
 
(Remove unintended trailing newline.)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{1|{{error|Parameter 1 is required}}}}}
<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>

Latest revision as of 01:52, 2 December 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