Template:Esperanto/eo-en

From Wikibooks, open books for an open world
Jump to: navigation, search

This template is intended to be used to format an entry in an Esperanto to English word list.

Usage[edit]

To use it, first you use {{Esperanto/eo-en start}} then one or more instances of this template, then {{Esperanto/eo-en end}}.

{{Esperanto/eo-en
 |<Esperanto word root>|<Esperanto word ending>
 |<English translation>
 |<Part of speech code>
 |baza-radikaro-oficiala=<If the word is in the Baza Radikaro Oficiala, set this equal to the group number (1-9)>
 |comment=<Extra comments about the word>
 |extra=<Extra information code>
 |example=<An example of the word in use (you can use an instance of {{Esperanto/eo-en example}} here)>
 |exampleN=<Additional examples (N can be 1-10)>
}}

Examples[edit]

The following example code:

{{Esperanto/eo-en start}}
{{Esperanto/eo-en
 |pom|o
 |Apple
 |n
 |baza-radikaro-oficiala=6
}}
{{Esperanto/eo-en
 |angl|a
 |English
 |adj
 |example={{esperanto/eo-en example|Mi parolas (la) anglan (lingvon).|I speak English.|lit=I speak (the) English (language).}}
}}
{{Esperanto/eo-en
 |ajn|
 |-ever
 |
 |example1={{esperanto/eo-en example|kiu ajn|whoever}}
 |example2={{esperanto/eo-en example|iam ajn|whenever}}
 |baza-radikaro-oficiala=1
}}
{{Esperanto/eo-en end}}

produces the output:

Flag of Esperanto.svg Esperanto Part of speech English language.svg English Examples Notes
pomo n Apple
angla adj English
eo: Mi parolas (la) anglan (lingvon).
en: I speak English. (Lit: I speak (the) English (language).)
ajn -ever
eo: kiu ajn
en: whoever
eo: iam ajn
en: whenever

Part of speech codes[edit]

The following part of speech codes are currently understood:

n
Noun
v
Verb, either both transitive and intransitive, or unknown
vi
Intransitive verb
vt
Transitive verb
adj
Adjective
adv
Adverb
int
Interjection
prep
Preposition
conj
Conjunction
exp
Expression
num
Number
prefix
Prefix
conj-prep
Both a conjunction and preposition
pron
Pronoun
adv-conj
Both an adverb and conjunction

Extra information codes[edit]

The following extra information codes are currently understood:

uncommon
Used to mark words that are uncommon

See also[edit]