|
|
| (8 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| __NOTOC__
| | #REDIRECT [[Template:Definition#Documentation]] |
| == Documentation ==
| |
| This template is used to quickly add a definition page for a word in the [[Word compendium]].
| |
| | |
| {| class="article-table"
| |
| |-
| |
| ! scope="col"|Parameter
| |
| ! scope="col"|Description
| |
| ! scope="col"|Use
| |
| |-
| |
| |<code>pos</code>
| |
| |The word's [[#Parts_of_speech|part of speech]].
| |
| |Required
| |
| |-
| |
| |<code>def1, def2, def3, def4, def5, def6, def7, def8, def9, def10</code>
| |
| |The word's definition(s).
| |
| |Required (def1)
| |
| |-
| |
| |<code>pro1, pro2, pro3</code>
| |
| |The pronunciation(s) of the word '''(must use standard IPA)'''.
| |
| |Optional
| |
| |-
| |
| |<code>cj</code>
| |
| |The word's conjugation/declension (possessives are '''NOT''' included).
| |
| |Optional
| |
| |-
| |
| |<code>alt</code>
| |
| |Alternative forms of the word (not conjugations/declensions), all words should have links and be separated by commas.
| |
| |Optional
| |
| |-
| |
| |<code>w</code>
| |
| |Changes the word shown above the definition(s).
| |
| |Optional
| |
| |-
| |
| |<code>lcat</code>
| |
| |Overrides the automatic categorization into word length categories (See [[Word compendium/'/''/'''Corre'''|'‌'‌'Corre'‌'‌']] for an example). This is obligatory on words using apostrophes.
| |
| |Optional
| |
| |-
| |
| |<code>i</code>
| |
| |Overrides the automatic categorization into alphabetical sorting categories (See {{wc|'a'a}} for an example). This is obligatory on words using apostrophes.
| |
| |Optional
| |
| |-
| |
| |<code>nocat</code>
| |
| |Removes all automatic categories.
| |
| |Optional
| |
| |}
| |
| | |
| == Parts of speech ==
| |
| | |
| A word's part of speech is essentially what kind of word it is (e.g. {{wc|aardvark}}'s part of speech is a '''noun'''). Below is a list of all possible parts of speech:
| |
| | |
| * Noun
| |
| * Adjective
| |
| * Verb
| |
| * Adverb
| |
| * Pronoun
| |
| * Proper noun
| |
| * Interjection
| |
| * Conjunction
| |
| * Idiom
| |
| * Adposition
| |
| * Affix
| |
| * Acronym
| |
| * Abbreviation
| |
| * Number
| |
| * Symbol
| |
| | |
| == Example ==
| |
| For an example that uses every parameter:
| |
| | |
| <pre>{{Definition
| |
| |pos=noun
| |
| |def1=definition 1
| |
| |def2=definition 2
| |
| |def3=definition 3
| |
| |def4=definition 4
| |
| |def5=definition 5
| |
| |def6=definition 6
| |
| |def7=definition 7
| |
| |def8=definition 8
| |
| |def9=definition 9
| |
| |def10=definition 10
| |
| |pro1=ˈtɛst ˈwʌn
| |
| |pro2=ˈtɛst ˈtu
| |
| |pro3=ˈtɛst ˈθɹi
| |
| |cj=''plural'' docs
| |
| |alt={{wc|dog}}, {{wc|frog}}, {{wc|ant}}
| |
| |nocat=1
| |
| }}</pre>
| |
| | |
| will produce:
| |
| | |
| {{Definition
| |
| |pos=noun
| |
| |def1=definition 1
| |
| |def2=definition 2
| |
| |def3=definition 3
| |
| |def4=definition 4
| |
| |def5=definition 5
| |
| |def6=definition 6
| |
| |def7=definition 7
| |
| |def8=definition 8
| |
| |def9=definition 9
| |
| |def10=definition 10
| |
| |pro1=ˈtɛst ˈwʌn
| |
| |pro2=ˈtɛst ˈtu
| |
| |pro3=ˈtɛst ˈθɹi
| |
| |cj=''plural'' docs
| |
| |alt={{wc|dog}}, {{wc|frog}}, {{wc|ant}}
| |
| |nocat=1
| |
| }}
| |