Template:inscription: 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 |
||
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! _}} }}{{#vardefine: text |{{#replace: {{#var: text}}| : |_punctuation!:_}} }}{{#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 }} }} }}{{#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 }}| |<nowiki> </nowiki>}} }}{{#vardefine: plain | {{#replace: {{#var: plain }}|:|:}} }}[[text_plain::{{#var: plain }}| ]] | | {{#vardefine: text |{{{reading|}}} }}{{#vardefine: text |{{#replace: {{#var: text}}| space |_space! _}} }}{{#vardefine: text |{{#replace: {{#var: text}}| : |_punctuation!:_}} }}{{#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 | {{#var: linktext }} }} }}{{#ifeq: {{#var: link }}|newline|{{#vardefine: linktext | {{#var: linktext }} }} }}{{#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 }}| |<nowiki> </nowiki>}} }}{{#vardefine: plain | {{#replace: {{#var: plain }}|:|:}} }}[[text_plain::{{#var: plain }}| ]] | ||
|- | |- | ||
! [[:Category:Character|Original script]]: | ! [[:Category:Character|Original script]]: | ||
Line 51: | Line 51: | ||
| [[script::{{{script|}}}]] {{#ifeq: {{{alphabet|}}}||| ([[alphabet::{{{alphabet|}}}]]) }} | | [[script::{{{script|}}}]] {{#ifeq: {{{alphabet|}}}||| ([[alphabet::{{{alphabet|}}}]]) }} | ||
|- | |- | ||
{{#ifeq: {{{letter_height_min|}}} |0|| ! [[Property:letter_height_min|Letter height]]: | {{#if: {{{letter_height_min|}}} | {{#ifeq: {{{letter_height_min|}}} |0|| ! [[Property:letter_height_min|Letter height]]: | ||
{{!}} [[letter_height_min::{{{letter_height_min|}}}]] {{#if:{{{letter_height_max|}}}|– [[letter_height_max::{{{letter_height_max|}}}]]|[[letter_height_max::{{{letter_height_min|}}}| ]]}} | {{!}} [[letter_height_min::{{{letter_height_min|}}}]] {{#if:{{{letter_height_max|}}}|– [[letter_height_max::{{{letter_height_max|}}}]]|[[letter_height_max::{{{letter_height_min|}}}| ]]}} | ||
{{!}}- }} | {{!}}- }} }} | ||
{{#if: {{{letter_number_min|}}}| ! [[Property:letter_number_min|Number of letters]]: | {{#if: {{{letter_number_min|}}} | {{#ifeq: {{{letter_number_min|}}} |0|| ! [[Property:letter_number_min|Number of letters]]: | ||
{{!}} [[letter_number_min::{{{letter_number_min|}}}]] {{#if:{{{letter_number_max|}}}|– [[letter_number_max::{{{letter_number_max|}}}]] | }} | {{!}} [[letter_number_min::{{{letter_number_min|}}}]] {{#if:{{{letter_number_max|}}}|– [[letter_number_max::{{{letter_number_max|}}}]] | }} | ||
{{!}}- }} | {{!}}- }} }} | ||
{{#if: {{{sign_number|}}}| ! [[Property:sign_number|Number of signs]]: | {{#if: {{{sign_number|}}} | {{#ifeq: {{{sign_number|}}} |0|| ! [[Property:sign_number|Number of signs]]: | ||
{{!}} [[sign_number::{{{sign_number|}}}]] | {{!}} [[sign_number::{{{sign_number|}}}]] {{#if:{{{sign_number_max|}}}|– [[sign_number_max::{{{sign_number_max|}}}]] | }} | ||
{{!}}- }} | {{!}}- }} }} | ||
{{#if: {{{word_number|}}}| ! [[Property:word_number|Number of words]]: | {{#if: {{{word_number|}}} | {{#ifeq: {{{word_number|}}} |0|| ! [[Property:word_number|Number of words]]: | ||
{{!}} [[word_number::{{{word_number|}}}]] | {{!}} [[word_number::{{{word_number|}}}]] | ||
{{!}}- }} }} | |||
{{#if: {{{line_number|}}} | {{#ifeq: {{{line_number|}}} |0|| ! [[Property:line_number|Number of lines]]: | |||
{{!}} [[line_number::{{{line_number|}}}]] | |||
{{!}}- }} }} | |||
{{#if: {{{inscription_width|}}} | ! [[Property:inscription_width|Inscription width]]: | |||
{{!}} [[inscription_width::{{{inscription_width|}}}]] | |||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{ | {{#if: {{{inscription_height|}}} | ! [[Property:inscription_height|Inscription height]]: | ||
{{!}} [[ | {{!}} {{#ifeq: {{{line_number|}}}|1|[[inscription_height::{{{inscription_height|{{{letter_height_max|}}}}}}]]|[[inscription_height::{{{inscription_height|}}}]]}} | ||
{{!}}- }} | {{!}}- }} | ||
{{#if: {{{craftsmanship|}}}| ! [[Property:craftsmanship|Craftsmanship]]: | {{#if: {{{craftsmanship|}}}| ! [[Property:craftsmanship|Craftsmanship]]: | ||
Line 106: | Line 112: | ||
{{!}}- | {{!}}- | ||
! [[Bibliography|Sources]]: | ! [[Bibliography|Sources]]: | ||
{{!}} {{#ifeq:{{{source|}}}|unpublished|unpublished|{{#vardefine: sources | {{{source|}}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|: |:}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|; |;}} }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{ #while: | {{!}} {{#ifeq:{{{source|}}}|unpublished|[unpublished]|{{#vardefine: sources | {{{source|}}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|: |:}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|; |;}} }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{ #while: | ||
| {{ #ifexpr: {{ #var: ok }} = 1 | true }} | | {{ #ifexpr: {{ #var: ok }} = 1 | true }} | ||
|<nowiki/>{{#vardefine: entry | {{#explode: {{#var: sources }}|;| {{#var: i }} }} }}{{#ifeq: {{#var: entry }}||{{#vardefine: ok | 0 }}|{{#vardefine: link | {{#explode: {{#var: entry }}|:|0}} }}{{#vardefine: text | {{#explode: {{#var: entry }}|:|1}} }}{{#ifeq: {{#var: i }}|0||<br>}}{{bib|{{#var: link }}}}: {{#var: text}} }}{{#vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }} }} }} }} | |<nowiki/>{{#vardefine: entry | {{#explode: {{#var: sources }}|;| {{#var: i }} }} }}{{#ifeq: {{#var: entry }}||{{#vardefine: ok | 0 }}|{{#vardefine: link | {{#explode: {{#var: entry }}|:|0}} }}{{#vardefine: text | {{#explode: {{#var: entry }}|:|1}} }}{{#ifeq: {{#var: i }}|0||<br>}}{{bib|{{#var: link }}}}: {{#var: text}} }}{{#vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }} }} }} }} |
Revision as of 10:19, 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.