Template:m

From Thesaurus Inscriptionum Raeticarum
Revision as of 17:21, 2 March 2014 by Martin Braun (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Usage

This template serves to display morphemes. For each morpheme, the template must be included separately. For example, in order to render the morpheme "al":

{{m|-al|al}}

has to be written. The individual fields have the following functions:

m name of the template
-al citation form of the morpheme, i.e. the name of the morpheme page
al display form of the morpheme; it can be omitted if the display and citation forms are identical, e.g.:
{{m|-al}}

If no property value is to be defined (for example, outside of form fields reserved for morphological analysis), the field for the citation form is to be left blank; only the display form is to be specified. In the following example, this is "-al":

{{m||-al}}

Additionally, if such a morpheme is to be indexed and linked differently than it is to be displayed, a third parameter can be given as display form. E.g.

{{m||-al|al}}

will produce "al", i.e. indexing and linking to "-al" but displaying "al".


Results

  • The attested form (display form) will be displayed in translation with a link to the citation form (pagename) of the morpheme.
  • If the citation form is specified, the Property:word will be defined.
  • Property:index will be defined for the citation form, or for the second parameter, if no citation form is defined.

Example

In order to display the morpheme sequence "þeris-na", the following has to be coded:

{{m|þeris-|þeris}}-{{m|-na|na}}

For the same word "þeris-na", but without defining properties:

{{m||þeris-|þeris}}-{{m||-na|na}}