Template:Inflection of/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "==Parameters== ; {{para|1|req=1}} : The language code of the lemma, of which this is an inflection. See wikt:Wiktionary:List of languages. <small>The...")
 
No edit summary
 
Line 1: Line 1:
==Parameters==
==Parameters==
; {{para|1|req=1}}
; {{para|1|req=1}}
: The [[wikt:WT:LANGCODE|language code]] of the lemma, of which this is an inflection. See [[wikt:Wiktionary:List of languages]]. <small>The parameter {{para|lang}} is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one.</small>
: The [[wikt:WT:LANGCODE|language code]] of the lemma, of which this is an inflection. See [[wikt:Wiktionary:List of languages|Wiktionary:List of languages]]. <small>The parameter {{para|lang}} is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one.</small>
; {{para|2|req=1}}
; {{para|2|req=1}}
: The lemma form of the term of which this is an inflection. This is used to create a link.
: The lemma form of the term of which this is an inflection. This is used to create a link.
Line 7: Line 7:
: The alternative display form of the lemma. This works like the third parameter of {{temp|l}} and {{temp|m}}.
: The alternative display form of the lemma. This works like the third parameter of {{temp|l}} and {{temp|m}}.
; {{para|4|req=1}}, {{para|5}} ... etc.
; {{para|4|req=1}}, {{para|5}} ... etc.
: One or more grammar tags to show. These give the definition by describing the relevant grammatical properties of this inflected form. A grammar tag can potentially be any text, but certain tags such as <code>nominative</code>, <code>feminine</code>, <code>first-person</code> or <code>subjunctive</code> that are recognized internally will automatically be linked to the appropriate entry in [[wikt:Appendix:Glossary]] (or in some cases, to the relevant Wiktionary or Wikipedia entry). As an example, <code>nominative</code> is displayed as ''{{glossary|nominative}}'', with an appropriate link. Certain tags are recognised as shortcuts and are equivalent to spelling out the tag. For example, <code>1</code> is equivalent to <code>first-person</code>; both will be displayed as ''{{glossary|first-person}}''. Similarly, <code>f</code> is equivalent to <code>feminine</code>, and <code>nom</code> is equivalent to <code>nominative</code>. The full, up-to-date list of recognized tags and their shortcuts and display forms is specified below.
: One or more grammar tags to show. These give the definition by describing the relevant grammatical properties of this inflected form. A grammar tag can potentially be any text, but certain tags such as <code>nominative</code>, <code>feminine</code>, <code>first-person</code> or <code>subjunctive</code> that are recognized internally will automatically be linked to the appropriate entry in [[wikt:Appendix:Glossary|Appendix:Glossary]] (or in some cases, to the relevant Wiktionary or Wikipedia entry). As an example, <code>nominative</code> is displayed as ''{{glossary|nominative}}'', with an appropriate link. Certain tags are recognised as shortcuts and are equivalent to spelling out the tag. For example, <code>1</code> is equivalent to <code>first-person</code>; both will be displayed as ''{{glossary|first-person}}''. Similarly, <code>f</code> is equivalent to <code>feminine</code>, and <code>nom</code> is equivalent to <code>nominative</code>. The full, up-to-date list of recognized tags and their shortcuts and display forms is specified below.
:Multiple tags are normally separated by spaces, so that e.g. <code>nom|f|s</code> will be displayed as ''{{glossary|nominative}} {{glossary|feminine}} {{glossary|singular}}''. However, when punctuation characters are used as tags, they will be displayed appropriately for that punctuation character. For example, <code>nom|,|with|3|s|object</code> will display as ''{{glossary|nominative}}, with {{glossary|third-person}} {{glossary|singular}} object'' (i.e. without a space preceding the comma). Among the punctuation characters recognized and handled correctly are comma, colon, parens, brackets, slash, and hyphen. The full list can be found below.
:Multiple tags are normally separated by spaces, so that e.g. <code>nom|f|s</code> will be displayed as ''{{glossary|nominative}} {{glossary|feminine}} {{glossary|singular}}''. However, when punctuation characters are used as tags, they will be displayed appropriately for that punctuation character. For example, <code>nom|,|with|3|s|object</code> will display as ''{{glossary|nominative}}, with {{glossary|third-person}} {{glossary|singular}} object'' (i.e. without a space preceding the comma). Among the punctuation characters recognized and handled correctly are comma, colon, parens, brackets, slash, and hyphen. The full list can be found below.
:It is also possible to put <code>//</code> separators between one or more tags or shortcuts to create a list separated by slashes. For example, writing <code>nom//acc</code> will expand to ''{{glossary|nominative}}/{{glossary|accusative}}'', and writing <code>nom//acc//voc//dat</code> will expand to ''{{glossary|nominative}}/{{glossary|accusative}}/{{glossary|vocative}}/{{glossary|dative}}''
:It is also possible to put <code>//</code> separators between one or more tags or shortcuts to create a list separated by slashes. For example, writing <code>nom//acc</code> will expand to ''{{glossary|nominative}}/{{glossary|accusative}}'', and writing <code>nom//acc//voc//dat</code> will expand to ''{{glossary|nominative}}/{{glossary|accusative}}/{{glossary|vocative}}/{{glossary|dative}}''

Navigation menu