Template:inscription: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 20: Line 20:
{{!}} {{#arraymap:{{{name|}}}|,|x|[[name::x]]}}
{{!}} {{#arraymap:{{{name|}}}|,|x|[[name::x]]}}
{{!}}- |}}
{{!}}- |}}
! width="200" | [[Property:text_plain|Transliteration]]:
! width="100" | [[Property:text_plain|Transliteration]]:
| {{#vardefine: text | {{{reading|}}} }}{{#vardefine: text | {{#replace: {{#var: text}}|:|_separator!&#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 }} }} }}{{#ifexist: {{#var: link }} |[[{{#var: link }}{{!}}{{#var: linktext }}]] |{{#var: linktext }} }}[[index::{{#var: link }}| ]]{{#vardefine: plain |{{#var: plain}} {{#var: linktext}} }}{{#ifeq: {{#var: link }} |&#58;|| {{#ifeq: {{#var: link }} ||| [[word::{{#var: link }}| ]]}} }}{{#vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}&nbsp; {{#ifeq: {{#explode: {{#var: text}} |_| {{#var: i }} }} || {{#vardefine: ok |0}} }} }}{{#vardefine: plain | {{#replace: {{#var: plain }}|&#58;|:}} }}[[text_plain::{{#var: plain }}| ]]
| {{#vardefine: text | {{{reading|}}} }}{{#vardefine: text | {{#replace: {{#var: text}}|:|_separator!&#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 }} }} }}{{#ifexist: {{#var: link }} |[[{{#var: link }}{{!}}{{#var: linktext }}]] |{{#var: linktext }} }}[[index::{{#var: link }}| ]]{{#vardefine: plain |{{#var: plain}} {{#var: linktext}} }}{{#ifeq: {{#var: link }} |&#58;|| {{#ifeq: {{#var: link }} ||| [[word::{{#var: link }}| ]]}} }}{{#vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }}&nbsp; {{#ifeq: {{#explode: {{#var: text}} |_| {{#var: i }} }} || {{#vardefine: ok |0}} }} }}{{#vardefine: plain | {{#replace: {{#var: plain }}|&#58;|:}} }}[[text_plain::{{#var: plain }}| ]]
|-
|-
Line 30: Line 30:
|-
|-
! [[:Category:Object|Object]]:
! [[:Category:Object|Object]]:
| [[object::{{{object|}}}]] {{#ifeq: {{{object|}}}|unknown||({{#show: {{{object|}}} | ?type_object }})[[coordinate::{{#show:{{{object}}}|?coordinate_n}} N, {{#show:{{{object}}}|?coordinate_e}} E| ]][[coordinate_n::{{#show:{{{object}}}|?coordinate_n}}| ]][[coordinate_e::{{#show:{{{object}}}|?coordinate_e}}| ]]{{#vardefine: object | {{{object|}}} }}{{#vardefine: count | {{#ask: [[Category:Inscription]][[object::{{#var: object }}]]|format=count }} }}{{#ifexpr: {{#var: count }} > 1 | <br>(Inscriptions: {{#ask: [[Category:Inscription]][[object::{{#var: object }}]]|format=list }}) }} }}
| [[object::{{{object|}}}]] {{#ifeq: {{{object|}}}|unknown||({{#show: {{{object|}}} | ?type_object }}){{#vardefine: n | {{#show:{{{object|}}}|?coordinate_n}} }}{{#if: {{#var: n }}|||{{#vardefine: e | {{#show:{{{object|}}}|?coordinate_e}} }}[[coordinate::{{#var: n }} N, {{#var: e }} E| ]][[coordinate_n::{{#var: n }}| ]][[coordinate_e::{{#var: e }}| ]]}}{{#vardefine: object | {{{object|}}} }}{{#vardefine: count | {{#ask: [[Category:Inscription]][[object::{{#var: object }}]]|format=count }} }}{{#ifexpr: {{#var: count }} > 1 | <br>(Inscriptions: {{#ask: [[Category:Inscription]][[object::{{#var: object }}]]|format=list }}) }} }}
|-
|-
! [[Property:position|Position]]:
! [[Property:position|Position]]:

Revision as of 05:03, 31 August 2013

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.