User:Benwing2/test-new-head
Appearance
Page | Old, New and Comments | |
---|---|---|
English run circles around | Old | {{head|en|verb|head=[[run]] [[circle]]s [[around]]}}
|
New | {{h|en:verb:[[run]] [[circle]]s [[around]]}}
| |
Comments | The second param contains the language code, POS, optional headword and headword-specific parameters like gender, translit, etc. Colons separate the language code from the POS and explicit headword(s) and per headword parameters like translit, transcription, script, qualifiers, labels and references are specified using inline modifiers; use + to stand for the pagename as currently. Colons are only recognized as separators if a space does not follow; use a backslash before a colon to prevent its interpretation as a separator. Gender is headword-related but not (currently) a per-headword parameter; it is specified using an inline modifier after the last headword (which can be omitted entirely; see the example below for German Hund).
| |
English sandbox | Old | {{head|en|noun|plural|sandboxes|irregular plural|sandboxen}}
|
New | {{h|en:noun|pl:sandboxes|irregular pl:sandboxen}}
| |
Comments | The third and subsequent params contain inflections, one per numbered param. The format is inflection tag, colon not followed by a space, and one or more comma-separated values, each of which can have inline modifiers. Inflection tag abbreviations are as for {{infl of}} and are expanded individually in space-separated words. Use an ! at the beginning of the tag to suppress expansion.
| |
English milk | Old | {{head|en|noun|countable and uncountable||plural|milks}}
|
New | {{h|en:noun|cnt and uncnt|pl:milks}}
| |
Comments | Labels can occur in place of an inflection. Here, we assume in the new version that there are inflection tags cnt and uncnt ; there aren't currently but they can be added and link to the glossary.
| |
English sandbox | Old | {{head|en|noun|plural|sandboxes|irregular plural|sandboxen}}
|
New | {{h|en:noun|pl:sandboxes|irregular pl:sandboxen}}
| |
Comments | The third and subsequent params contain inflections, one per numbered param. The format is inflection tag, colon not followed by a space, and one or more comma-separated values, each of which can have inline modifiers. Inflection tag abbreviations are as for {{infl of}} and are expanded individually in space-separated words. Use an ! at the beginning of the tag to suppress expansion.
| |
Latin nidus | Old | {{head|la|noun|g=m|head=nīdus|genitive|nīdī}}
|
New | {{h|la:noun:nīdus<g:m>|gen:nīdī}}
| |
Comments | An example in a foreign language with Latin script. | |
German Hund | Old | {{head|de|noun|g=m|genitive|Hundes|or|Hunds|plural|Hunde|or|Hünde|f4qual=nonstandard|diminutive|Hündchen|f5g=n|or|Hündlein|f6g=n|f6nolink=1}}
|
New | {{h|de:noun<g:m>|gen:Hundes,Hunds|pl:Hunde,Hünde<q:nonstandard>|dim:Hündchen<g:n>,Hündlein<g:n><nolink:1>}}
| |
Comments | An example with multiple values per inflection. Note that each value can have inline modifiers, and the gender inline modifier can directly follow the POS without an intervening headword. | |
Russian книга (kniga) | Old | {{head|ru|noun|head=кни́га|g=f-in|genitive|кни́ги|nominative plural|кни́ги|genitive plural|книг}}
|
New | {{h|ru:noun:кни́га<g:f-in>|gen:кни́ги|nom pl:кни́ги|gen pl:книг}}
| |
Comments | An example in a foreign script. | |
Russian интервьюер (intervʹjujer) | Old | {{head|ru|noun|head=интервьюе́р|tr=intɛrvʹjuér|head2=интервью́ер|tr2=intɛrvʹjújer|g=m-an|genitive|интервьюе́ра|or|интервью́ера|nominative plural|интервьюе́ры|or|интервью́еры|genitive plural|интервьюе́ров|or|интервью́еров}}
|
New | {{h|ru:noun:интервьюе́р<tr:intɛrvʹjuér>:интервью́ер<tr:intɛrvʹjújer><g:m-an>|gen:кинтервьюе́р,интервью́ера|nom pl:интервьюе́ры,интервью́еры|gen pl:интервьюе́ров,интервью́еров}}
| |
Comments | A more complex example in a foreign script. | |
Arabic غدة بصلية إحليلية | Old | {{head|ar|noun|head=[[غُدّة]] [[بَصَلِيّ|بَصَلِيّة]] [[إحْلِيلِيّ|إحْلِيلِيّة]]|tr=ḡudda baṣaliyya ʾiḥlīliyya|g=f|plural|غُدَد بَصَلِيَّة إِحْلِيلِيَة|f1tr=ḡudad baṣaliyya ʾiḥlīliyya|enable_auto_translit=1}}
|
New | {{h|ar:noun:[[غُدّة]] [[بَصَلِيّ|بَصَلِيّة]] [[إحْلِيلِيّ|إحْلِيلِيّة]]<tr:ḡudda baṣaliyya ʾiḥlīliyya><g:f>|pl:غُدَد بَصَلِيَّة إِحْلِيلِيَة<tr:ḡudad baṣaliyya ʾiḥlīliyya>|enable_auto_translit=1}}
| |
Comments | Another more complex example in a foreign script. Here, in practice there will be language-specific postprocessing to automatically set |enable_auto_translit=1 .
| |
Serbo-Croatian telo | Old | {{head|sh|noun|head=tȇlo|g=n|Cyrillic spelling|те̑ло|f1sc=Cyrl}}
|
New | {{h|sh:noun:tȇlo<g:n>}}
| |
Comments | An example where language-specific postprocessing makes sense. Here, we assume the Cyrillic spelling gets generated automatically. | |
German Hund | Old | {{head|de|noun|g=m|genitive|Hundes|or|Hunds|plural|Hunde|or|Hünde|f4qual=nonstandard|diminutive|Hündchen|f5g=n|or|Hündlein|f6g=n|f6nolink=1}}
|
New | {{h|de:noun<g:m>|gen:es,s|pl:e,^e<q:nonstandard>|dim:^chen,^lein<nolink:1>}}
| |
Comments | Another example where we can assume language-specific postprocessing. Here the postprocessing prefixes the stem Hund (derived from the lemma) to the inflection values for recognized inflection types, and ^ indicates umlaut of the stem. Diminutives automatically get neuter gender added.
|