Ordinal : ordinalbox | ||
This template generates a navigation box for ordinal number entries.
This template may be added to the entry of any ordinal number. In languages that inflect numerals, please add the template only to the lemma form.
The template should be placed within a language section, immediately following the L2 language header.
As with other Wiktionary navigation box templates, please do not use subst:
.
The template uses up to 6 unnamed parameters, as described below. One of these parameters is required; the others may be left blank.
When parameter {{{3}}} is included, that value (e.g. 1st) is displayed in the top line of the box. When parameter {{{2}}} or {{{4}}} is included, the parameter value is displayed in the corresponding upper corner of the box. When parameter {{{5}}} or {{{6}}} is included, a link is generated to the previous or following ordinal number entry. When either of these parameters is omitted, the corresponding link is not made, but {{{2}}} or {{{4}}} will still be displayed. When both {{{2}}} and {{{5}}} (or both {{{4}}} and {{{6}}}) are omitted, that part of the navigation box displays no text. When {{{3}}} is not included, the entire top of the box collapses. The first two examples (see examples) demonstrate how these unnamed parameters are used.
1 Parameter {{{2}}} is required when {{{5}}} is included; and {{{4}}} is required if {{{6}}} is present.
2 Parameter {{{3}}} is required if the top portion of the box is to be displayed.
Additional named parameters allow for links to be made from the box, but usually none are required.
When the parameter card, adv, mult, or dis is included, an additional line of text is added to the navigation box. When any of these parameters is omitted, the corresponding text line is not generated.
2 This parameter is only used for languages where the display form and pagename do not match. For each "alt" parameter, use the display form (with diacriticals) and not the target page name. Please refer to the Latin example in the next section for clarification.
3 This is usually handled by including {{{1}}}, but may occasionally be broken by a missing template. In such cases, adding xs will correct the problem.
1000mo | ||
---|---|---|
Ordinal : milésimo | ||
( 1 ) milésimo - a minimal Spanish entry:
{{ordinalbox | es | | 1000<sup>mo</sup> }}
The above code displays as at right:
0th | 1st > | |
---|---|---|
Ordinal : zeroth | ||
( 2 ) zeroth - a minimal English entry:
{{ordinalbox | en | | 0th | 1st | | first }}
The above code displays as at right:
< 4th | 5th | 6th > |
---|---|---|
Cardinal : five Ordinal : fifth Multiplier : fivefold | ||
English Wikipedia article on fifth |
( 3 ) fifth - a full English entry:
{{ordinalbox | en | 4th | 5th | 6th | fourth | sixth | card=five | mult=fivefold | wplink=Fifth }}
The above code displays as at right:
Cardinal : octō Ordinal : octāvus Adverbial : octiēns Distributive : octōnī | ||
( 4 ) octāvus - a Latin entry:
{{ordinalbox | la | card=octo | cardalt=octō | adv=octiens | advalt=octiēns | dis=octoni | disalt=octōnī }}
The above code displays as at right: