Difference between revisions of "Template:DictionaryEntry"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
=={{{language}}}== | =={{{language}}}== | ||
+ | {{#if: {{{pronunciation|}}}| | ||
+ | ===Pronunciation=== | ||
+ | {{{pronunciation|}}} }} | ||
==={{{part of speech}}}=== | ==={{{part of speech}}}=== | ||
[[Dictionary:{{{word}}}|{{{word}}}]] | [[Dictionary:{{{word}}}|{{{word}}}]] | ||
Line 23: | Line 26: | ||
; language | ; language | ||
: Name of the language. Adds Category: <language> dictionary | : Name of the language. Adds Category: <language> dictionary | ||
+ | ; pronunciation | ||
+ | : description on how to pronounce the word | ||
; 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. | ||
Line 28: | Line 33: | ||
: The word being given a definition | : The word being given a definition | ||
; notes | ; notes | ||
− | : | + | : Usage notes on the word describing the use in context. (optional) |
; ''anonymous'' | ; ''anonymous'' | ||
: Definitions are listed as anonymous parameters in the order they should be displayed. You can include up to 10 definitions. | : Definitions are listed as anonymous parameters in the order they should be displayed. You can include up to 10 definitions. |
Revision as of 22:12, 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
- pronunciation
- description on how to pronounce the word
- 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
- notes
- Usage notes on the word describing the use in context. (optional)
- 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 = | notes = [Optional notes about the 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