Template:inscription: Difference between revisions

From Lexicon Leponticum
Jump to navigationJump to search
(+rig)
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|_space!&nbsp;_}} }}{{#vardefine: text |{{#replace: {{#var: text}}|:|_punctuation!&#58;_}} }}{{#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 |&#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 }}| ]]
| {{#vardefine: text |{{{reading|}}} }}{{#vardefine: text |{{#replace: {{#var: text}}|space|▲space!&nbsp;}} }}{{#vardefine: text |{{#replace: {{#var: text}}|:|▲punctuation!&#58;}} }}{{#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 |&#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|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.