Template:p: 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 33: | Line 33: | ||
===Examples=== | ===Examples=== | ||
(1) {{p|d|d/t}}: | (1) {{p|d|d/t}}{{p|a}}: | ||
<pre> | <pre> | ||
{{p|d|d/t}} | {{p|d|d/t}}{{p|a}} | ||
</pre> | </pre> | ||
(2) {{p|ts|t<sup>s</sup>}}: | (2) {{p|ts|t<sup>s</sup>}}{{p|u|o}}: | ||
<pre> | <pre> | ||
{{p|ts|t<sup>s</sup>}} | {{p|ts|t<sup>s</sup>}}{{p|u|o}} | ||
</pre> | </pre> | ||
__NOTOC__ | __NOTOC__ | ||
[[Category:Text Module]] | [[Category:Text Module]] | ||
</noinclude><includeonly>{{#vardefine: | </noinclude><includeonly>{{#vardefine: define | {{{1|}}} }}{{#vardefine: display | {{{2|{{{1|}}}}}} }}{{#ifeq: {{#var: define }}||{{#vardefine: index | {{{2|}}} }}{{#vardefine: display |{{{3|{{{2|}}}}}} }}|{{#vardefine: index | {{#var: define }} }} }}{{#ifeq: {{#var: define }}||<span class="phoneme">|<span class="phoneme_word">}}{{#ifexist: {{#var: index }}|[[{{#var: index }}{{!}}{{#var: display }}]]|{{#var: display }} }}</span>[[phoneme::{{#var: define }}| ]][[index::{{#var: index }}| ]]</includeonly> |
Latest revision as of 15:01, 23 July 2015
Usage
This template serves to display phonemes. For each phoneme, the template must be included separately. For example, in order to render the phoneme a (here with unknown quantity a(ː)):
{{p|a|a(ː)}}
has to be written. The individual fields have the following functions:
p |
name of the template |
a |
citation form of the phoneme, i.e. the name of the page |
a(ː) |
display form of the phoneme; it can be omitted if the display and citation forms are identical, e.g.: |
{{p|a}}
If no property value is to be defined (for example, in the main text or when speaking about non-Raetic phonemes), the field for the citation form is to be left blank; only the display form is to be specified. In the following examples, these are a(ː) and a:
{{p||a(ː)}} {{p||a}}
Results
- The display form of the phoneme will be displayed.
- If the citation form is specified:
- a link to its page will be included,
- the Property:phoneme is defined for the phoneme.
Examples
(1) d/ta:
{{p|d|d/t}}{{p|a}}
(2) tso:
{{p|ts|t<sup>s</sup>}}{{p|u|o}}