Difference between revisions of "Template:DictionaryEntry"
Jump to navigation
Jump to search
(Created page with "<includeonly> =={{{language}}}== ==={{{part of speech}}}=== [[Dictionary:{{{word}}}|{{{word}}}]] <ol><!-- -->{{#if:{{{1|}}}|<li>{{{1}}}</li> }}<!-- -->{{#if:{{{2|}}}|<li>{{{2}...") |
|||
Line 13: | Line 13: | ||
-->{{#if:{{{8|}}}|<li>{{{8}}}</li>}}<!-- | -->{{#if:{{{8|}}}|<li>{{{8}}}</li>}}<!-- | ||
-->{{#if:{{{9|}}}|<li>{{{9}}}</li>}}<!-- | -->{{#if:{{{9|}}}|<li>{{{9}}}</li>}}<!-- | ||
− | -->{{#if:{{{10|}}}|<li>{{{10}}}</li>}}</ol></includeonly><noinclude> | + | -->{{#if:{{{10|}}}|<li>{{{10}}}</li>}}</ol>[[Category: {{{language}}} Dictionary]]</includeonly><noinclude> |
A template for doing the layout of dictionary entries. Also used to extract the parts of the definitions. | A template for doing the layout of dictionary entries. Also used to extract the parts of the definitions. | ||
=== parameters === | === parameters === | ||
; language | ; language | ||
− | : Name of the language | + | : Name of the language. Adds Category: <language> Dictionary |
; part of speech | ; part of speech | ||
: one of letter, noun, verb, adjective, adverb, pronoun, preposition, conjunction, interjection, numeral, article, or determiner. | : one of letter, noun, verb, adjective, adverb, pronoun, preposition, conjunction, interjection, numeral, article, or determiner. |
Revision as of 08:29, 26 June 2021
A template for doing the layout of dictionary entries. Also used to extract the parts of the definitions.
parameters
- language
- Name of the language. Adds Category: <language> Dictionary
- part of speech
- one of letter, noun, verb, adjective, adverb, pronoun, preposition, conjunction, interjection, numeral, article, or determiner.
- word
- The word being given a definition
- anonymous
- Definitions are listed as anonymous parameters in the order they should be displayed. You can include up to 10 definitions.
Layout template
{{DictionaryEntry | language = <name> | part of speech = <type> | word = | <definition 1> | <definition 2> }}
Example
Using:
{{DictionaryEntry | language = Gvegh | part of speech = Letter | word = A | A letter in the [[Gvegh (language)|Gvegh]] alphabet }}
produces:
Gvegh
Letter
- A letter in the Gvegh alphabet