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 |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
===Usage=== | ===Usage=== | ||
[[description::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 {{p|a|a(ː)}}): | [[description::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 {{p|a|a(ː)}}): | ||
Line 13: | Line 13: | ||
|<code>a</code>||citation form of the phoneme, i.e. the name of the page | |<code>a</code>||citation form of the phoneme, i.e. the name of the page | ||
|- | |- | ||
|<code>a(ː)</code>||display form of the | |<code>a(ː)</code>||display form of the phoneme; it can be omitted if the display and citation forms are identical, e.g.: | ||
|} | |} | ||
Line 20: | Line 20: | ||
</pre> | </pre> | ||
If no property value is to be defined (for example, in the main text or when speaking about non- | 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 {{p||a(ː)}} and {{p||a}}: | ||
<pre> | <pre> | ||
{{p||a(ː)}} | {{p||a(ː)}} | ||
Line 30: | Line 30: | ||
*If the citation form is specified: | *If the citation form is specified: | ||
**a link to its page will be included, | **a link to its page will be included, | ||
*the [[Property:phoneme]] is defined for the phoneme. | **the [[Property:phoneme]] is defined for the phoneme. | ||
===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__ | |||
[[Category:Text Module]] | [[Category:Text Module]] | ||
</noinclude><includeonly | </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}}