Template:inscription: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 22: Line 22:
{{!}}- |}}
{{!}}- |}}
! width="100" | [[Property:text_plain|Transliteration]]:
! width="100" | [[Property:text_plain|Transliteration]]:
| {{#vardefine: text |{{{reading|}}} }}{{#vardefine: text |{{#replace: {{#var: text}}| space |_space!&#32;_}} }}{{#vardefine: text |{{#replace: {{#var: text}}| : |_punctuation!&#58;_}} }}{{#vardefine: text |{{#replace: {{#var: text}}| / |_newline!/_}} }}{{#vardefine: text |{{#replace: {{#var: text}}| |_}} }}{{#vardefine: text |{{#replace: {{#var: text}}|__|_}} }}{{#vardefine: n | 1 }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{#vardefine: plain |}}{{#while: | {{ #ifexpr: {{ #var: ok }} > 0 | true }} | <nowiki/>{{#vardefine: word |{{#explode: {{#var: text}} |_| {{#var: i }} }} }}{{#vardefine: link |{{#explode: {{#var: word}} |!|0}} }}{{#vardefine: linktext |{{#explode: {{#var: word}} |!|1}} }}{{#ifeq: {{#var: linktext }}||{{#vardefine: linktext |{{#var: link }} }} }}{{#ifeq: {{#var: link }}|punctuation|{{#vardefine: linktext |&#32;{{#var: linktext }}&#32;}} }}{{#ifeq: {{#var: link }}|newline|{{#vardefine: linktext |&#32;{{#var: linktext }}&#32;}} }}{{#ifexist: {{#var: link }}|[[{{#var: link }}{{!}}{{#var: linktext }}]]|{{#var: linktext }}}}{{#vardefine: plain |{{#var: plain}}{{#var: linktext}} }}{{#ifeq: {{#var: link }}|||[[word::{{#var: link }}| ]][[index::{{#var: link }}| ]]}}{{#vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}{{#ifeq: {{#explode: {{#var: text}}|_|{{#var: i }} }}||{{#vardefine: ok |0}} }} }}{{#vardefine: plain | {{#replace: {{#var: plain }}|&#32;|<nowiki> </nowiki>}} }}{{#vardefine: plain | {{#replace: {{#var: plain }}|&#58;|:}} }}[[text_plain::{{#var: plain }}| ]]
| {{#vardefine: text |{{{reading|}}} }}{{#vardefine: text |{{#replace: {{#var: text}}| space |_space!&#32;_}} }}{{#vardefine: text |{{#replace: {{#var: text}}| : |_punctuation!&#58;_}} }}{{#vardefine: text |{{#replace: {{#var: text}}| / |_newline!/_}} }}{{#vardefine: text |{{#replace: {{#var: text}}| |_}} }}{{#vardefine: text |{{#replace: {{#var: text}}|__|_}} }}{{#vardefine: n | 1 }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{#vardefine: plain |}}{{#while: | {{ #ifexpr: {{ #var: ok }} > 0 | true }} | <nowiki/>{{#vardefine: word |{{#explode: {{#var: text}} |_| {{#var: i }} }} }}{{#vardefine: link |{{#explode: {{#var: word}} |!|0}} }}{{#vardefine: linktext |{{#explode: {{#var: word}} |!|1}} }}{{#ifeq: {{#var: linktext }}||{{#vardefine: linktext |{{#var: link }} }} }}{{#ifeq: {{#var: link }}|punctuation|{{#vardefine: linktext |&#32;{{#var: linktext }}&#32;}} }}{{#ifeq: {{#var: link }}|newline|{{#vardefine: linktext |&#32;{{#var: linktext }}&#32;}} }}{{#ifexist: {{#var: link }}|[[{{#var: link }}{{!}}{{#var: linktext }}]]|{{#var: linktext }}}}{{#vardefine: plain |{{#var: plain}}{{#var: linktext}} }}{{#ifeq: {{#var: link }}|||[[word::{{#var: link }}| ]][[index::{{#var: link }}| ]]}}{{#vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}{{#ifeq: {{#explode: {{#var: text}}|_|{{#var: i }} }}||{{#vardefine: ok |0}} }} }}{{#vardefine: plain | {{#replace: {{#var: plain }}|&#32;|<nowiki> </nowiki>}} }}[[text_plain::{{#var: plain }}| ]]
|-
|-
! [[:Category:Character|Original script]]:
! [[:Category:Character|Original script]]:
Line 66: Line 66:
{{!}} [[line_number::{{{line_number|}}}]]
{{!}} [[line_number::{{{line_number|}}}]]
{{!}}- }} }}
{{!}}- }} }}
{{#if: {{{inscription_width|}}} | ! [[Property:inscription_width|Inscription width]]:
{{#if: {{{inscription_width|}}} | {{#ifeq: {{{inscription_width|}}} |0|| ! [[Property:inscription_width|Inscription width]]:
{{!}} [[inscription_width::{{{inscription_width|}}}]]
{{!}} [[inscription_width::{{{inscription_width|}}}]]
{{!}}- }}
{{!}}- }} }}
{{#if: {{{inscription_height|}}} | ! [[Property:inscription_height|Inscription height]]:
{{#if: {{{inscription_height|}}} | {{#ifeq: {{{inscription_height|}}} |0|| ! [[Property:inscription_height|Inscription height]]:
{{!}} {{#ifeq: {{{line_number|}}}|1|[[inscription_height::{{{inscription_height|{{{letter_height_max|}}}}}}]]|[[inscription_height::{{{inscription_height|}}}]]}}
{{!}} [[inscription_height::{{{inscription_height|}}}]] }}
{{!}}- }}
{{!}}- | {{#ifeq: {{{line_number|}}}|1|[[inscription_height::{{{letter_height_max|{{{letter_height_min|}}}}}}| ]] }}
{{#if: {{{craftsmanship|}}}| ! [[Property:craftsmanship|Craftsmanship]]:
{{#if: {{{craftsmanship|}}}| ! [[Property:craftsmanship|Craftsmanship]]:
{{!}} {{#arraymap:{{{craftsmanship|}}}|,|x|[[craftsmanship::x]]}}
{{!}} {{#arraymap:{{{craftsmanship|}}}|,|x|[[craftsmanship::x]]}}

Revision as of 10:39, 31 January 2014

This template serves to display pages about inscriptions. These are best created or edited with the Form:inscription.

See the Category:Inscription for a list of all 389 inscription pages.