Jump to content

మూస:cardinalbox/doc

విక్షనరీ నుండి
Documentation for మూస:cardinalbox. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template generates a navigation box for ప్రధాన సంఖ్య entries.

This template may be added to the entry of any cardinal 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. If the template {{rank}} is present on the same entry, then it should come first.

As with other Wiktionary navigation box templates, please do not use subst:.

The template uses up to 6 unnamed parameters, as described below. Two of these parameters are required; the others may be left blank.

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 cardinal 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. The first two examples (see examples) demonstrate how these unnamed parameters are used.

{{{1}}} : (required); ISO code for the language of the entry
{{{2}}} : (optional 1); the symbolic form of the previous cardinal number
{{{3}}} : (required); the symbolic form of the cardinal number, e.g. 2, 15, 100
{{{4}}} : (optional 1); the symbolic form of the following cardinal number
{{{5}}} : (optional); the written form of the previous cardinal number
{{{6}}} : (optional); the written form of the following cardinal number

1 Parameter {{{2}}} is required when {{{5}}} is included; and {{{4}}} is required if {{{6}}} is present.

Additional named parameters allow for links to be made from the box, but usually none are required.

When the parameter ord, adv, mult, dis, coll, or opt 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.

ord= : the క్రమ సంఖ్య written form (e.g. second, fifth, hundredth)
adv= : the క్రియా సంఖ్య written form (e.g. once, twice)
mult= : the గుణకం సంఖ్య written form (e.g. double, triple, hundredfold)
dis= : the పంపిణీ సంఖ్య written form (e.g. singly, ternī)
coll= : the సామూహిక సంఖ్య written form (e.g. both, երկոքին ‎(erkokʿin))
headlink= : the link target for the box header, such as a Glossary or Appendix on cardinal numbers in the language
opt= : any optional extra type of number form not listed above (e.g. Counting form, Archaic form, etc)
optx= : specifies the value of the optional extra number form specified in opt=.
opt2= : a second optional extra type of number form not listed above (e.g. fractional form, etc)
opt2x= : specifies the value of the second optional extra number form specified in opt2=.
xs= : the full language name of the entry word 3
sc= : specifies a script code, e.g. {{Arab}}
alt= : the display form2 of the cardinal number written form
ordalt= : (pairs with ord) the display form2 of the ordinal number
advalt= : (pairs with adv) the display form2 of the adverbial number
multalt= : (pairs with mult) the display form2 of the multiplier
disalt= : (pairs with dis) the display form2 of the distributive number
collalt= : (pairs with coll) the display form2 of the collective number
optxalt= : (pairs with optx) the display form2 of the optional extra number
opt2xalt= : (pairs with opt2x) display form2 of the second optional extra number
wplink= : the article name on the corresponding language Wikipedia; do not include the ISO code since {{{1}}} takes care of that

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.

స్పానిష్ ప్రధాన సంఖ్యలు
999 1000 1001
    cardinal number : mil

( 1 ) mil - a minimal Spanish entry:

{{cardinalbox | es | 999 | 1000 | 1001 }}

The above code displays as at right:

  • Note: Most parameters are omitted, and so do not display. In particular, there is no entry for novecientos noventa y nueve (999) or for mil y uno (1001), so there is no reason to include links to them in the template.

|} | width=1% | |bgcolor="#F8FCFF" valign=top width=48%|


పోర్చుగీస్ ప్రధాన సంఖ్యలు
  0 ptum (edit|[[1  > :um|{{{4}}}]]|history|links|watch|logs)
    cardinal number : zero

( 2 ) zero - a minimal Portuguese entry:

{{cardinalbox | pt | | 0 | 1 | | um }}

The above code displays as at right:

  • Note: Most parameters are omitted, and so do not display.
  • Note: The second parameter is omitted, so the upper left corner of the box contains no text. This is done because zero is the smallest cardinal number.
  • Note: The upper right corner of the box contains text and a link.

| width=1% | |bgcolor="#F8FCFF" valign=top width=48%|


ఇంగ్లీషు ప్రధాన సంఖ్యలు
enone (edit|[[ <  1:one|{{{4}}}]]|history|links|watch|logs) 2 enthree (edit|[[3  > :three|{{{4}}}]]|history|links|watch|logs)
    cardinal number : two
    ordinal number : ensecond (edit|{{{4}}}|history|links|watch|logs)
    adverbial number : entwice (edit|{{{4}}}|history|links|watch|logs)
    multiplier : endouble (edit|{{{4}}}|history|links|watch|logs)
ఇంగ్లీషు Wikipedia article on two

( 3 ) two - an English entry:

{{cardinalbox | en | 1 | 2 | 3 | one | three | ord=second | adv=twice | mult=double | wplink=2 (number) }}

The above code displays as at right:

  • Note: A link to the Wikipedia article 2 (number) is included.

| width=1% | |bgcolor="#F8FCFF" valign=top width=48%|


లాటిన్ cardinal numbers
laseptem (edit|[[ <  VII:septem|{{{4}}}]]|history|links|watch|logs) VIII lanovem (edit|[[IX  > :novem|{{{4}}}]]|history|links|watch|logs)
    cardinal number : octō
    ordinal number : laoctavus (edit|{{{4}}}|history|links|watch|logs)
    adverbial number : laoctiens (edit|{{{4}}}|history|links|watch|logs)
లాటిన్ Wikipedia article on octō

( 4 ) octō - a Latin entry:

{{cardinalbox | la | VII | VIII | IX | septem | novem | alt=octō | ord=octavus | ordalt=octāvus | adv=octiens | advalt=octiēns | headlink=Appendix:Latin cardinal numerals | wplink=Octo }}

The above code displays as at right:

  • Note: The header links to Appendix:Latin cardinal numerals.
  • Note: The "alt" parameters permit the display of macrons, even though the page names for the entries do not have macrons.
  • Note: The multiplier parameter is omitted, so that line of text does not appear in the box.

| width=1% | |bgcolor="#F8FCFF" valign=top width=48%|


రష్యన్ ప్రధాన సంఖ్యలు
ruчетырнадцать (edit|[[ <  14:четырнадцать|{{{4}}}]]|history|links|watch|logs) 15 ruшестнадцать (edit|[[16  > :шестнадцать|{{{4}}}]]|history|links|watch|logs)
    cardinal number : пятнадцать
    ordinal number : ruпятнадцатый (edit|{{{4}}}|history|links|watch|logs)
రష్యన్ Wikipedia article on пятнадцать

( 5 ) пятнадцать ‎(pjatnadcatʹ) - a Russian entry:

{{cardinalbox | ru | 14 | 15 | 16 | четырнадцать | шестнадцать | ord=пятнадцатый | sc=Cyrl | wplink=15 (число) }}

The above code displays as at right:

  • Note: The parameter sc=Cyrl specifies the use of the Cyrillic script template {{Cyrl}}.
  • Note: A link to the Russian Wikipedia article 15 (число) is included.

| width=1% | |bgcolor="#F8FCFF" valign=top width=48%|


పురాతన గ్రీకు cardinal numbers
grcεἷς (edit|[[ <  αʹ:εἷς|{{{4}}}]]|history|links|watch|logs) βʹ grcτρεῖς (edit|[[γʹ  > :τρεῖς|{{{4}}}]]|history|links|watch|logs)
    cardinal number : δύο
    ordinal number : grcδεύτερος (edit|{{{4}}}|history|links|watch|logs)
    adverbial number : grcδίς (edit|{{{4}}}|history|links|watch|logs)

( 6 ) δύο ‎(dúo) - an Ancient Greek entry:

{{cardinalbox | grc | αʹ | βʹ | γʹ | εἷς | τρεῖς | ord=δεύτερος | adv=δίς | headlink=Appendix:Ancient Greek numerals }}

The above code displays as at right:


రాపా నుయ్ ప్రధాన సంఖ్యలు
raptoru (edit|[[ <  3:toru|{{{4}}}]]|history|links|watch|logs) 4 raprima (edit|[[5  > :rima|{{{4}}}]]|history|links|watch|logs)
    cardinal number : ha
    Counting form : rapkaha (edit|{{{4}}}|history|links|watch|logs)

( 7 ) ha - a Rapa Nui entry:

{{cardinalbox | rap | 3 | 4 | 5 | toru | rima | opt=Counting form | optx=kaha }}

The above code displays as at right:

  • Note: Rapa Nui numerals have an adjectival form and a counting form, made with the prefix ka-.
  • Note: opt= has been set to Counting form, so a row appears with it and the form in question, kaha.

లాట్వియన్ ప్రధాన సంఖ్యలు
lvdivi (edit|[[ <  2:divi|{{{4}}}]]|history|links|watch|logs) 3 lvčetri (edit|[[4  > :četri|{{{4}}}]]|history|links|watch|logs)
    cardinal number : trīs
    ordinal number : lvtrešais (edit|{{{4}}}|history|links|watch|logs)
    Nominal : lvtrijnieks (edit|{{{4}}}|history|links|watch|logs)
    Fractional : lvtrešdaļa (edit|{{{4}}}|history|links|watch|logs)
లాట్వియన్ Wikipedia article on trīs

( 8 ) trīs - a Latvian entry:

{{cardinalbox | lv | 2 | 3 | 4 | divi | četri | ord=trešais | opt=[[nominal|Nominal]] | optx=trijnieks | opt2=[[fractional|Fractional]] | opt2x=trešdaļa }}

The above code displays as at right:

  • Note: Latvian numerals from 1 to 9 have both a nominalized form in -nieks (meaning "the cipher/digit X", "something with X written on it", "a group of X people/animals/things") and a fractional form compounded with daļa ‎(part). In order to show these forms, both opt=/optx= and opt2=/opt2x= had to be used.
  • Note: wplink provides a pagename in the Latvian wikipedia for this number.


"https://te.wiktionary.org/w/index.php?title=మూస:cardinalbox/doc&oldid=365468" నుండి వెలికితీశారు