Template:c: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 40: Line 40:


===Example===
===Example===
In order to display the sequence {{w||ualaunal}} 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 sequence {{w||ualaunal}} in sinistroverse North Italic 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:
<pre>
<pre>
{{c|L}}{{c|A|A2}}{{c|N}}{{c|U}}{{c|A|A2}}{{c|L}}{{c|A|A2}}{{c|U}}
{{c|L}}{{c|A|A2}}{{c|N}}{{c|U}}{{c|A|A2}}{{c|L}}{{c|A|A2}}{{c|U}}
Line 51: Line 51:
__NOTOC__
__NOTOC__
[[Category:Text Module]]
[[Category:Text Module]]
</noinclude><includeonly>{{#vardefine: cdir|s}}{{#ifeq:{{{3|}}}|d|{{#vardefine: cdir|d}}}}{{#vardefine: cfile|{{{2|{{{1|}}}}}}{{#ifeq: {{#var: cdir}}|d|d|}}.png}}{{#vardefine: cvar|{{{2|{{{1|}}}}}} {{#var: cdir}}}}[[Image:{{#var: cfile}}|x12px|baseline|link={{#if:{{{1|}}}|{{{1}}}|Category:Character}}|{{#var: cvar}}]]{{#if:{{{1|}}}|[[character_variant::{{#var: cvar}}| ]][[character::{{{1|}}}| ]][[index::{{{1|}}}| ]]}}</includeonly>
</noinclude><includeonly>{{#vardefine: cdir|s}}{{#ifeq:{{{3|}}}|d|{{#vardefine: cdir|d}}}}{{#vardefine: cfile|{{{2|{{{1|}}}}}}{{#ifeq: {{#var: cdir}}|d|d|}}.png}}{{#vardefine: cvar|{{{2|{{{1|}}}}}}{{#var: cdir}}}}[[Image:{{#var: cfile}}|x12px|baseline|link={{#if:{{{1|}}}|{{{1}}}|Category:Character}}|{{#var: cvar}}]]{{#if:{{{1|}}}|[[character_variant::{{#var: cvar}}| ]][[character::{{{1|}}}| ]][[index::{{{1|}}}| ]]}}</includeonly>

Revision as of 05:41, 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 A2d (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. As (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 As and A2d):

{{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 sequence ualaunal in sinistroverse North Italic script, with the variant A2 (i.e. LsA2sNsUsA2sLsA2sUs), the following has to be coded:

{{c|L}}{{c|A|A2}}{{c|N}}{{c|U}}{{c|A|A2}}{{c|L}}{{c|A|A2}}{{c|U}}

For the same word, but in dextroverse direction and without defining properties (i.e. UdA2dLdA2dUdNdA2dLd):

{{c||U|d}}{{c||A2|d}}{{c||L|d}}{{c||A2|d}}{{c||U|d}}{{c||N|d}}{{c||A2|d}}{{c||L|d}}