Template:p: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>__NOTOC__
<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 20: Line 20:
</pre>
</pre>


If no property value is to be defined (for example, in the main text or when speaking about non-Lepontic 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}}:
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 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__
[[Category:Text Module]]
[[Category:Text Module]]
</noinclude><includeonly><span class="phoneme">{{#if:{{{1}}} | [[{{{1}}}|{{{2|{{{1}}}}}}]][[phoneme::{{{1}}}| ]] | {{{2}}} }}</span></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 16: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}}