Jump to content

Template:Translations/testcases: Difference between revisions

From Yezur Wiki
Thiorosan (talk | contribs)
Worked examples: families+synonyms+proto, homonym split, error rendering
 
Alompan (talk | contribs)
Swap the placeholder words for real Dictionary lemmas, keeping the unrecognized-code case (report 69)
 
Line 1: Line 1:
Worked examples for [[Template:Translations]]. All words below are placeholders unless they link blue.
Worked examples for [[Template:Translations]]. Every word below is a real Dictionary entry, so each link should render blue; reconstructed languages are starred by the registry, not by hand. The only deliberate exception is the unrecognized code in the last case.


== Full spread: several families, synonyms, a proto ==
== Full spread: several families, attested and reconstructed ==
{{Translations|gloss=water
{{Translations|gloss=water
|YAQ-HE=word1
|YAQ-HE=βοτταν
|YBS-PJ=word2, word3
|YAP-XX=βiot
|YBS-LO=word4
|YBP-XX=hodzɛ
|YCP-XX=meto
|YCP-XX=meto
|YAP-XX=word5
|YCP-XC=meto
|YXS-NE=word6
}}
 
== Synonyms within one language ==
A value may hold several words, separated by commas:
{{Translations|gloss=you
|YAQ-HE=ιαπα, νου
|YAP-XX=ixaβ, nwijɔ
|YCP-XX=gum, luq
}}
}}


== Homonym handling: one box per sense ==
== Homonym handling: one box per sense ==
Two senses of the same English headword each get their own box:
Two senses of the same English headword each get their own box. A word that carries both senses appears in both:
{{Translations|gloss=bank of a river
{{Translations|gloss=head, the top of a person
|YBS-NI=word7
|YAQ-HE=μενηβι
|YAP-XX=əɲib͡βeə
|YBP-XX=kokint
|YCP-XX=ɣa
}}
}}
{{Translations|gloss=bank, store of value
{{Translations|gloss=head, the front or chief of something
|YBS-NI=word8
|YAP-XX=əɲib͡βeə
}}
}}


== Error rendering ==
== Error rendering ==
Missing gloss and an unrecognized code:
Missing gloss, and a code the registry does not know:
{{Translations
{{Translations
|YBS-UU=word9
|YBP-XX=gurə
|YQQ-ZZ=word10
|YQQ-ZZ=unresolvable
}}
}}

Latest revision as of 20:21, 4 August 2026

Worked examples for Template:Translations. Every word below is a real Dictionary entry, so each link should render blue; reconstructed languages are starred by the registry, not by hand. The only deliberate exception is the unrecognized code in the last case.

Full spread: several families, attested and reconstructed

Translations — water
Herta-Olaic
Njeshan
Andusian

Synonyms within one language

A value may hold several words, separated by commas:

Translations — you
Herta-Olaic
Andusian

Homonym handling: one box per sense

Two senses of the same English headword each get their own box. A word that carries both senses appears in both:

Translations — head, the top of a person
Herta-Olaic
Njeshan
Andusian
  • Proto-Andusian: *ɣa
Translations — head, the front or chief of something
Herta-Olaic

Error rendering

Missing gloss, and a code the registry does not know:

Translations — no gloss given
Njeshan
unrecognized code YQQ-ZZ: unresolvable