Template:inscription: Difference between revisions
From Lexicon Leponticum
Jump to navigationJump to search
Martin Braun (talk | contribs) No edit summary |
Martin Braun (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
{{!}}- |}} | {{!}}- |}} | ||
! width="100" | [[Property:text_plain|Reading in transliteration]]: | ! width="100" | [[Property:text_plain|Reading in transliteration]]: | ||
| {{#vardefine: text |{{{reading|}}} }}{{#vardefine: text |{{#replace: {{#var: text}}|space| | | {{#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: 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>}} }}[[text_plain::{{#var: plain }}| ]] | ||
|- | |- | ||
! [[:Category:Character|Reading in original script]]: | ! [[:Category:Character|Reading in original script]]: | ||
Line 96: | Line 96: | ||
|- | |- | ||
! Alternative sigla: | ! Alternative sigla: | ||
| {{#vardefine: n|0}}{{#if: {{{whatmough|}}}|{{bib|Whatmough 1933|Whatmough 1933 (PID)}}: {{#arraymap:{{{whatmough|}}}|,|x|[[whatmough::x]]}}{{#vardefine: n|1}}| }}{{#if: {{{tibiletti_bruno|}}}|{{#ifeq: {{#var: n}}|1|<br>| }}{{bib|Tibiletti Bruno 1981}}: {{#arraymap:{{{tibiletti_bruno|}}}|,|x|[[tibiletti_bruno::x]]}}{{#vardefine: n|1}}| }}{{#if: {{{solinas|}}}|{{#ifeq: {{#var: n}}|1|<br>| }}{{bib|Solinas 1995}}: {{#arraymap:{{{solinas|}}}|,|x|[[solinas::x]]}}{{#vardefine: n|1}}| }}{{#if: {{{motta|}}}| | | {{#vardefine: n|0}}{{#if: {{{whatmough|}}}|{{bib|Whatmough 1933|Whatmough 1933 (PID)}}: {{#arraymap:{{{whatmough|}}}|,|x|[[whatmough::x]]}}{{#vardefine: n|1}}| }}{{#if: {{{tibiletti_bruno|}}}|{{#ifeq: {{#var: n}}|1|<br>| }}{{bib|Tibiletti Bruno 1981}}: {{#arraymap:{{{tibiletti_bruno|}}}|,|x|[[tibiletti_bruno::x]]}}{{#vardefine: n|1}}| }}{{#if: {{{rig|}}}|{{#ifeq: {{#var: n}}|1|<br>| }}{{bib|RIG}}: {{#arraymap:{{{rig|}}}|,|x|[[rig::x]]}}{{#vardefine: n|1}}| }}{{#if: {{{solinas|}}}|{{#ifeq: {{#var: n}}|1|<br>| }}{{bib|Solinas 1995}}: {{#arraymap:{{{solinas|}}}|,|x|[[solinas::x]]}}{{#vardefine: n|1}}| }}{{#if: {{{motta|}}}| | ||
{{#ifeq: {{#var: n}}|1|<br>| }}{{bib|Motta 2000}}: {{#arraymap:{{{motta|}}}|,|x|[[motta::x]]}}{{#vardefine: n|1}}| }}{{#if: {{{morandi|}}}|{{#ifeq: {{#var: n}}|1|<br>| }}{{bib|Morandi 2004}}: {{#arraymap:{{{morandi|}}}|,|x|[[morandi::x]]}}{{#vardefine: n|1}}| }}{{#ifeq: {{#var: n}}|0|none| }} | {{#ifeq: {{#var: n}}|1|<br>| }}{{bib|Motta 2000}}: {{#arraymap:{{{motta|}}}|,|x|[[motta::x]]}}{{#vardefine: n|1}}| }}{{#if: {{{morandi|}}}|{{#ifeq: {{#var: n}}|1|<br>| }}{{bib|Morandi 2004}}: {{#arraymap:{{{morandi|}}}|,|x|[[morandi::x]]}}{{#vardefine: n|1}}| }}{{#ifeq: {{#var: n}}|0|none| }} | ||
|- | |- |
Latest revision as of 00:00, 24 August 2024
This template serves to display pages about inscriptions. These are best created or edited with the Form:inscription.
See the inscriptions' page for a list of all 512 inscription pages.