Template:inscription: Difference between revisions
From Lexicon Leponticum
Jump to navigationJump to search
Martin Braun (talk | contribs) (+rig) |
Martin Braun (talk | contribs) No edit summary |
||
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]]: |
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.