Template:m: Difference between revisions
From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
Martin Braun (talk | contribs) No edit summary |
Martin Braun (talk | contribs) No edit summary |
||
Line 30: | Line 30: | ||
*If the citation form is specified, the following properties will be defined: | *If the citation form is specified, the following properties will be defined: | ||
**[[Property:morpheme]] for the citation form, | **[[Property:morpheme]] for the citation form, | ||
*The '''link form''' will be indexed. | *The '''link form''' will be indexed. | ||
Line 46: | Line 45: | ||
__NOTOC__ | __NOTOC__ | ||
[[Category:Text Module]] | [[Category:Text Module]] | ||
</noinclude><includeonly>{{#vardefine: link | {{{1|}}} }}{{#vardefine: display | {{{2|{{{1|}}}}}} }}{{#ifeq: {{#var: link }}||<span class="word">{{#ifexist: {{#var: display }}|[[{{#var: display }}]][[index::{{#var: display }}| ]]|{{#var: display }}}}</span>|<span class="word_inscription">[[{{#var: link }}|{{#var: display }} | </noinclude><includeonly>{{#vardefine: link | {{{1|}}} }}{{#vardefine: display | {{{2|{{{1|}}}}}} }}{{#ifeq: {{#var: link }}||<span class="word">{{#ifexist: {{#var: display }}|[[{{#var: display }}]][[index::{{#var: display }}| ]]|{{#var: display }}}}</span>|<span class="word_inscription">[[{{#var: link }}|{{#var: display }}]][[morpheme::{{#var: link }}| ]][[index::{{#var: link }}| ]]}}</includeonly> |
Revision as of 04:22, 12 August 2013
Usage
This template serves to display morphemes, primarily on pages that belong to the dictionary proper. 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 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 fiels 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}}
Results
- The display form will be displayed with a link to the citation form of the morpheme.
- If the citation form is specified, the following properties will be defined:
- Property:morpheme for the citation form,
- The link form will be indexed.
Example
In order to display the morpheme sequence u̯al-au̯n-al, the following has to be coded:
{{m|u̯al-|u̯al}}-{{m|au̯n-|au̯n}}-{{m|-al|al}}
For the same word u̯al-au̯n-al, but without defining properties:
{{m||u̯al-}}{{m||au̯n}}{{m||-al}}