Template:Wordentry

From OpenGeofiction
Revision as of 20:32, 27 March 2023 by Alessa (talk | contribs) (Created page with "<includeonly><tr><td>{{{1}}} <span class="lexclass">{{{2}}}</span></td><td>{{{3}}}</td><td>{{#if:{{{4|}}}|{{{4}}}|}}</td></tr></includeonly><noinclude><!-- -->This template w...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template works to provide entries inside the {{dictionary}} template. It includes four unnamed parameters. The first three are required for the template to work, but the fourth is optional. If the second parameter is not known, simply fill it in as undef. or undefined.

  • Parameter 1: Word in the native language
  • Parameter 2: Part of speech for the word in the native language
  • Parameter 3: Translation of the word into English
  • Parameter 4: Optional notes
{{wordentry|word|part of speech|translation|optional notes}}

An example might look like this:

{{wordentry|grangia|nf|barn, granary|Sometimes ''granga''}}