Template:c: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 13: Line 13:
|-
|-
|<code>A</code>
|<code>A</code>
|citation form of the [[Characters|letter]] in upper case = page of the character activated by the link  
|citation form of the [[:Category:Character|letter]] in upper case = page of the character activated by the link  
|-
|-
|<code>A2</code>
|<code>A2</code>
|actual variant of the [[Characters|letter]] to be displayed
|actual variant of the [[:Category:Character|letter]] to be displayed
|-
|-
|<code>d</code>
|<code>d</code>
Line 40: Line 40:


===Example===
===Example===
In order to display the sequence <span class="word_inscription">[[ualaunal]]</span> in sinistroverse Lepontic script, with the variant ''A<sub>2</sub>'' (i.e. {{c|L}}{{c|A|A2}}{{c|N}}{{c|U}}{{c|A|A2}}{{c|L}}{{c|A|A2}}{{c|U}}), the following has to be coded:
In order to display the word {{w||enθus}} in sinistroverse North Italic script, in primary character variants except for an '''U<sub>2</sub>''', i.e. {{c|S}}{{c|U|U2}}{{c|Θ}}{{c|N}}{{c|E}}, the following has to be coded:
<pre>
<pre>{{c|S}}{{c|U|U2}}{{c|Θ}}{{c|N}}{{c|E}}</pre>
{{c|L}}{{c|A|A2}}{{c|N}}{{c|U}}{{c|A|A2}}{{c|L}}{{c|A|A2}}{{c|U}}
 
</pre>
For the same word, but only the '''S''' turned against the sinistroverse writing direction, i.e. {{c|S||d}}{{c|U|U2}}{{c|Θ}}{{c|N}}{{c|E}}:
For the same word, but in dextroverse direction and without defining properties (i.e. {{c||U|d}}{{c||A2|d}}{{c||L|d}}{{c||A2|d}}{{c||U|d}}{{c||N|d}}{{c||A2|d}}{{c||L|d}}):
<pre>{{c|S||d}}{{c|U|U2}}{{c|Θ}}{{c|N}}{{c|E}}</pre>
 
For the same word, but written in dextroverse direction, i.e. {{c|E||d}}{{c|N||d}}{{c|Θ||d}}{{c|U|U2|d}}{{c|S||d}}:
<pre>{{c|E||d}}{{c|N||d}}{{c|Θ||d}}{{c|U|U2|d}}{{c|S||d}}</pre>
 
For the same as in the three above examples, but without defining properties for the occurrence of the characters (i.e. with empty first parameters):
<pre>
<pre>
{{c||U|d}}{{c||A2|d}}{{c||L|d}}{{c||A2|d}}{{c||U|d}}{{c||N|d}}{{c||A2|d}}{{c||L|d}}
{{c||S}}{{c||U2}}{{c||Θ}}{{c||N}}{{c||E}}
{{c||S|d}}{{c||U2}}{{c||Θ}}{{c||N}}{{c||E}}
{{c||E|d}}{{c||N|d}}{{c||Θ|d}}{{c||U2|d}}{{c||S|d}}
</pre>
</pre>


__NOTOC__
__NOTOC__
[[Category:Text Module]]
[[Category:Text Module]]
</noinclude><includeonly>[[Image:{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}{{#ifeq:{{{3}}}|d|d|}}.svg|x12px|baseline|link={{#if:{{{1|}}}|{{{1}}}|Characters}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}} {{#ifeq:{{{3}}}|d|d|s}}]]{{#if:{{{1|}}}|[[character_variant::{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}{{#ifeq:{{{3}}}|d|d|s}}| ]][[character::{{{1|}}}| ]]}}</includeonly>
</noinclude><includeonly>{{#vardefine: cvar|{{{2|}}}}}{{#ifeq: {{#var: cvar}}||{{#vardefine: cvar|{{{1|}}}}}}}{{#vardefine: cdir|s}}{{#ifeq:{{{3|}}}|d|{{#vardefine: cdir|d}}}}{{#vardefine: cfile|{{#var: cvar}}{{#ifeq: {{#var: cdir}}|d|d}}.png}}[[Image:{{#var: cfile}}|x12px|baseline|link={{#if:{{{1|}}}|{{{1}}}|Category:Character}}|{{#var: cvar}} {{#var: cdir}}]]{{#if:{{{1|}}}|[[character_variant::{{#var: cvar}}{{#var: cdir}}| ]][[character::{{{1|}}}| ]][[index::{{{1|}}}| ]]}}</includeonly>

Latest revision as of 08:05, 19 December 2013

Usage

This template serves to display North Italic letters. For each character of a text in North Italic script, the template must be included separately. For example, in order to render the character A2 d (that is, a dextroverse A2):

{{c|A|A2|d}}

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

c name of the template
A citation form of the letter in upper case = page of the character activated by the link
A2 actual variant of the letter to be displayed
d dextroverse direction of the character

Specifying the actual variant of the letter can be omitted if it is identical to the citation form;
specifying the direction of writing can be omitted if it is sinistroverse;
e.g. A s (sinistroverse citation form = main variant of A):

{{c|A}}

If no property value is to be defined (for example, outside of inscriptions), the field for the citation form is to be left blank; only the actual variant to be displayed is to be specified. In the following examples, these are A s and A2 d):

{{c||A}}
{{c||A2|d}}

Result

  • The attested variant of the letter will be displayed as an image with a link to the citation form of the character.
  • If the citation form is specified, the following properties will be defined:

Example

In order to display the word enθus in sinistroverse North Italic script, in primary character variants except for an U2, i.e. S sU2 sΘ sN sE s, the following has to be coded:

{{c|S}}{{c|U|U2}}{{c|Θ}}{{c|N}}{{c|E}}

For the same word, but only the S turned against the sinistroverse writing direction, i.e. S dU2 sΘ sN sE s:

{{c|S||d}}{{c|U|U2}}{{c|Θ}}{{c|N}}{{c|E}}

For the same word, but written in dextroverse direction, i.e. E dN dΘ dU2 dS d:

{{c|E||d}}{{c|N||d}}{{c|Θ||d}}{{c|U|U2|d}}{{c|S||d}}

For the same as in the three above examples, but without defining properties for the occurrence of the characters (i.e. with empty first parameters):

{{c||S}}{{c||U2}}{{c||Θ}}{{c||N}}{{c||E}}
{{c||S|d}}{{c||U2}}{{c||Θ}}{{c||N}}{{c||E}}
{{c||E|d}}{{c||N|d}}{{c||Θ|d}}{{c||U2|d}}{{c||S|d}}