Template:Translations/testcases: Difference between revisions
Appearance
Worked examples: families+synonyms+proto, homonym split, error rendering |
Swap the placeholder words for real Dictionary lemmas, keeping the unrecognized-code case (report 69) |
||
| Line 1: | Line 1: | ||
Worked examples for [[Template:Translations]]. | 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, | == Full spread: several families, attested and reconstructed == | ||
{{Translations|gloss=water | {{Translations|gloss=water | ||
|YAQ-HE= | |YAQ-HE=βοτταν | ||
| | |YAP-XX=βiot | ||
| | |YBP-XX=hodzɛ | ||
|YCP-XX=meto | |YCP-XX=meto | ||
|YAP-XX= | |YCP-XC=meto | ||
| | }} | ||
== 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= | {{Translations|gloss=head, the top of a person | ||
| | |YAQ-HE=μενηβι | ||
|YAP-XX=əɲib͡βeə | |||
|YBP-XX=kokint | |||
|YCP-XX=ɣa | |||
}} | }} | ||
{{Translations|gloss= | {{Translations|gloss=head, the front or chief of something | ||
| | |YAP-XX=əɲib͡βeə | ||
}} | }} | ||
== Error rendering == | == Error rendering == | ||
Missing gloss and | Missing gloss, and a code the registry does not know: | ||
{{Translations | {{Translations | ||
| | |YBP-XX=gurə | ||
|YQQ-ZZ= | |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
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
- Proto-Njeshan: *kokint
Andusian
- Proto-Andusian: *ɣa
Error rendering
Missing gloss, and a code the registry does not know: