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) (Undo revision 17786 by Martin Braun (talk)) Tag: Undo |
||
(25 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
[[Category:Page Module]] | [[Category:Page Module]] | ||
</noinclude><includeonly>{{#vardefine: disambiguation | {{# | </noinclude><includeonly>{{#vardefine: disamb |{{{disambiguation|}}} }}{{#ifeq: {{#var: disamb }}||{{#ifeq: {{#explode:{{PAGENAME}}|.|1}}|||{{#vardefine: disamb |{{#explode:{{PAGENAME}}|.|0}} }} }} }}[[disambiguation::{{#var: disamb }}| ]]{{#vardefine: sortform |{{#replace: {{FULLPAGENAME}}|.|·}} }}{{#vardefine: sortform |{{#replace: {{#var: sortform}}|-|·}} }}{{#vardefine: sortform |{{#replace: {{#var: sortform}}| |·}} }}{{#vardefine: number |{{#explode:{{#var: sortform}}|·|1}} }}{{#vardefine: subnumber |{{#explode:{{#var: sortform}}|·|2}} }}[[sigla_group::{{#explode:{{#var: sortform}}|·|0}}| ]]{{#vardefine: sortform |{{#explode:{{#var: sortform}}|·|0}}_{{padleft:{{#var: number}}|3|0}}_{{padleft:{{#var: subnumber}}|3|0}} }}[[sortform::{{#var: sortform}}| ]][[checklevel::{{{checklevel|}}}| ]]{{#vardefine: checklevel | {{{checklevel|}}} }}{{#ifeq: {{#var: checklevel }} || {{#vardefine: checklevel | 0 }} }}{{#vardefine: problem|{{#arraymap:{{{problem|}}}|;|x|[[problem::x]]}} }} | ||
<div class="formedit">[[Special:EditData/inscription/{{FULLPAGENAME}}|edit with form]]</div> | |||
{| class="table_data" width=100% | {| class="table_data" width=100% | ||
! colspan="2" class="field_category" | [[:Category:Inscription|Inscription]] | ! colspan="2" class="field_category" | [[:Category:Inscription|Inscription]] | ||
Line 22: | Line 16: | ||
{{!}}- |}} | {{!}}- |}} | ||
! width="100" | [[Property:text_plain|Transliteration]]: | ! width="100" | [[Property:text_plain|Transliteration]]: | ||
| {{#vardefine: text |{{{reading|}}} }}{{#vardefine: text |{{#replace: {{#var: text}}| space |_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|Original script]]: | ! [[:Category:Character|Original script]]: | ||
Line 34: | Line 28: | ||
|- | |- | ||
! [[:Category:Object|Object]]: | ! [[:Category:Object|Object]]: | ||
| [[object::{{{object|}}}]] {{#ifeq: {{{object|}}}|unknown||({{#show: {{{object|}}} | ?material }}){{#vardefine: n | {{#show:{{{object|}}}|?coordinate_n}} }}{{#ifeq: {{#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 }}) }} }} | | [[object::{{{object|}}}]] {{#ifeq: {{{object|}}}|unknown||({{#show: {{{object|}}} | ?material }}){{#vardefine: n | {{#show:{{{object|}}}|?coordinate_n}} }}{{#ifeq: {{#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|sort=sortform }}) }} }} | ||
|- | |- | ||
! [[Property:position|Position]]: | ! [[Property:position|Position]]: | ||
Line 55: | Line 49: | ||
{{!}}- }} }} | {{!}}- }} }} | ||
{{#if: {{{letter_number_min|}}} | {{#ifeq: {{{letter_number_min|}}} |0|| ! [[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_min::{{{letter_number_min|}}}]] {{#if:{{{letter_number_max|}}}|– {{{letter_number_max|}}}| }} | ||
{{!}}- }} }} | {{!}}- }} }} [[letter_number_max::{{{letter_number_max|{{{letter_number_min|}}}}}}| ]] | ||
{{#if: {{{sign_number|}}} | {{#ifeq: {{{sign_number|}}} |0|| ! [[Property: | {{#if: {{{sign_number|}}} | {{#ifeq: {{{sign_number|}}} |0|| ! [[Property:character_number_min|Number of characters]]: | ||
{{!}} | {{!}} {{{sign_number|}}} {{#if:{{{sign_number_max|}}}|– {{{sign_number_max|}}} | }} | ||
{{!}}- }} }} | {{!}}- }} }} [[character_number_min::{{{sign_number|{{{letter_number_min|}}}}}}| ]][[character_number_max::{{{sign_number_max|{{{sign_number|{{{letter_number_min|}}}}}}}}}| ]] | ||
{{ | |||
{{ | |||
{{#if: {{{line_number|}}} | {{#ifeq: {{{line_number|}}} |0|| ! [[Property:line_number|Number of lines]]: | {{#if: {{{line_number|}}} | {{#ifeq: {{{line_number|}}} |0|| ! [[Property:line_number|Number of lines]]: | ||
{{!}} [[line_number::{{{line_number|}}}]] | {{!}} [[line_number::{{{line_number|}}}]] | ||
{{!}}- }} }} | {{!}}- }} }} | ||
{{#if: {{{craftsmanship|}}}| ! [[Property:craftsmanship|Craftsmanship]]: | {{#if: {{{craftsmanship|}}}| ! [[Property:craftsmanship|Craftsmanship]]: | ||
{{!}} {{#arraymap:{{{craftsmanship|}}}|,|x|[[craftsmanship::x]]}} | {{!}} {{#arraymap:{{{craftsmanship|}}}|,|x|[[craftsmanship::x]]}} | ||
Line 77: | Line 62: | ||
! [[Property:condition|Current condition]]: | ! [[Property:condition|Current condition]]: | ||
| {{#arraymap:{{{condition|}}}|,|x|[[condition::x]]}} | | {{#arraymap:{{{condition|}}}|,|x|[[condition::x]]}} | ||
|- {{#vardefine: from_object |1}}{{#if: {{{culture_archaeological|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{sortdate|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{date|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{date_derivation|}}}| {{#vardefine: from_object |0}} }}{{#ifeq: {{#var: from_object}}|1|{{#vardefine: culture| {{#show:{{{object|}}}|?culture_archaeological}} }}{{#vardefine: sortdate| {{#show:{{{object|}}}|?sortdate}} }}{{#vardefine: date| {{#show:{{{object|}}}|?date}} }}{{#vardefine: derivation| {{#show:{{{object|}}}|?date_derivation}} }}{{#vardefine: from_object| [from object] }}|{{#vardefine: culture| {{{culture_archaeological|}}} }}{{#vardefine: sortdate| {{{sortdate|}}} }}{{#vardefine: date| {{{date|{{{sortdate|}}}}}} }}{{#vardefine: derivation| {{{date_derivation|}}} }}{{#vardefine: from_object|}} }}{{#ifeq: {{#var: sortdate}}|0|{{#vardefine: sortdate|}}}}{{#ifeq: {{#var: date}}|0|{{#vardefine: date|}}}} | |||
{{#ifeq: {{#var: culture }}||| ! [[Property:culture_archaeological|Archaeological culture]]: | |||
|- {{#vardefine: from_object |1}}{{#if: {{{culture_archaeological|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{sortdate|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{date|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{date_derivation|}}}| {{#vardefine: from_object |0}} }}{{#ifeq: {{#var: from_object}}|1|{{#vardefine: culture| {{#show:{{{object|}}}|?culture_archaeological}} }}{{#vardefine: sortdate| {{#show:{{{object|}}}|?sortdate}} }}{{#vardefine: date| {{#show:{{{object|}}}|?date}} }}{{#vardefine: derivation| {{#show:{{{object|}}}|?date_derivation}} }}{{#vardefine: from_object| [from object] }}|{{#vardefine: culture| {{{culture_archaeological|}}} }}{{#vardefine: sortdate| {{{sortdate|}}} }}{{#vardefine: date| {{{date|{{{sortdate|}}}}}} }}{{#vardefine: derivation| {{{date_derivation|}}} }}{{#vardefine: from_object|}} }}{{#ifeq: {{#var: culture }}||| | |||
! [[Property:culture_archaeological|Archaeological culture]]: | |||
{{!}} {{#arraymap:{{#var: culture }}|,|x|[[culture_archaeological::x]]}} {{#var: from_object }} | {{!}} {{#arraymap:{{#var: culture }}|,|x|[[culture_archaeological::x]]}} {{#var: from_object }} | ||
{{!}}- }} | {{!}}- }} | ||
! [[Property:date|Date of inscription]]: | ! [[Property:date|Date of inscription]]: | ||
| [[date::{{ | | {{#ifeq: {{#var: date }}|||[[date::{{#var: date }}]][[sortdate::{{#var: sortdate }}| ]] {{#var: from_object }} }} | ||
|- | |- | ||
! [[Property:date_derivation|Date derived from]]: | ! [[Property:date_derivation|Date derived from]]: | ||
| | | {{#arraymap:{{{date_derivation|}}}|,|x|[[date_derivation::x]]}}{{#ifeq: {{{date_derivation|}}}|| {{#arraymap:{{#show:{{{object}}}|?date_derivation}}|,|x|[[date_derivation::x]]}} {{#ifeq: {{#show:{{{object}}}|?date_derivation}}|||[from object]}}}} | ||
|- | |- | ||
! colspan="2" | | ! colspan="2" | | ||
Line 106: | Line 88: | ||
|- | |- | ||
! [[Concordance|Alternative sigla]]: | ! [[Concordance|Alternative sigla]]: | ||
| {{#vardefine: separator|}}{{#ifeq: {{{sigla_pid|}}}|||{{#var:separator}}{{bib|PID}} {{#arraymap:{{{sigla_pid|}}}|,|x|[[sigla_pid::x]]}}{{#vardefine:separator|<br>}}}}{{#ifeq: {{{sigla_ir|}}}|||{{#var:separator}}{{bib|IR}} {{#arraymap:{{{sigla_ir|}}}|,|x|[[sigla_ir::x]]}}{{#vardefine: separator|<br>}}}}{{#ifeq: {{{sigla_mancini|}}}|||{{#var:separator}}{{bib|LIR}} {{#arraymap:{{{sigla_mancini|}}}|,|x|[[sigla_mancini::x]]}}{{#vardefine: separator|<br>}}}}{{#ifeq: {{#var:separator}}||none}}{{#vardefine: | | {{#vardefine: separator|}}{{#ifeq: {{{sigla_pid|}}}|||{{#var:separator}}{{bib|PID}} {{#arraymap:{{{sigla_pid|}}}|,|x|[[sigla_pid::x]]}}{{#vardefine:separator|<br>}} }}{{#ifeq: {{{sigla_ir|}}}|||{{#var:separator}}{{bib|IR}} {{#arraymap:{{{sigla_ir|}}}|,|x|[[sigla_ir::x]]}}{{#vardefine: separator|<br>}} }}{{#ifeq: {{{sigla_mancini|}}}|||{{#var:separator}}{{bib|LIR}} {{#arraymap:{{{sigla_mancini|}}}|,|x|[[sigla_mancini::x]]}}{{#vardefine: separator|<br>}} }}{{#ifeq: {{{sigla_mlr|}}}|||{{#var:separator}}{{bib|MLR}} {{#arraymap:{{{sigla_mlr|}}}|,|x|[[sigla_mlr::x]]}}{{#vardefine: separator|<br>}} }}{{#ifeq: {{{sigla_tm|}}}|||{{#var:separator}}{{bib|Trismegistos|TM}} {{#arraymap:{{{sigla_tm|}}}|,|x|[https://www.trismegistos.org/tm/detail.php?tm=[[sigla_tm::x]] [[sigla_tm::x]]]}}{{#vardefine: separator|<br>}} }}{{#ifeq: {{#var:separator}}||none}}{{#vardefine: pid |{{#explode:{{{sigla_pid|}}}|,|0}} }}{{#vardefine: pid_a |{{#explode:{{#var: pid}}| |0}} }}{{#vardefine: pid |{{padleft:{{#var: pid_a}}|3|0}}_{{#explode:{{#var: pid}}| |1}} }}[[sortform_pid::{{#var: pid}}| ]]{{#vardefine: ir |{{#explode:{{{sigla_ir|}}}|,|0}} }}{{#vardefine: ir |{{#replace:{{#var: ir}}|.|<nowiki> </nowiki>}} }}{{#vardefine: ir_a |{{#explode:{{#var: ir}}| |0}} }}{{#vardefine: ir |{{padleft:{{#var: ir_a}}|3|0}}_{{#explode:{{#var: ir}}| |1}} }}[[sortform_ir::{{#var: ir}}| ]]{{#vardefine: lir |{{#explode:{{{sigla_mancini|}}}|,|0}} }}{{#vardefine: lir |{{#replace:{{#var: lir}}|-|_}} }}{{#vardefine: lir |{{#replace:{{#var: lir}}| |_}} }}{{#vardefine: lir |{{#replace:{{#var: lir}}|.|_}} }}{{#vardefine: lir_letters |{{#explode:{{#var: lir}}|_|0}} }}{{#vardefine: lir_number |{{#explode:{{#var: lir}}|_|1}} }}{{#vardefine: lir |{{padright:{{#var: lir_letters}}|3|0}}_{{padleft:{{#var: lir_number}}|3|0}}_{{#explode:{{#var: lir}}|_|2}} }}[[sortform_mancini::{{#var: lir}}| ]]{{#vardefine: mlr |{{#explode:{{{sigla_mlr|}}}|,|0}} }}{{#vardefine: mlr |{{#replace:{{#var: mlr}}|sub iudice nr.|sub}} }}{{#vardefine: mlr_a |{{#explode:{{#var: mlr}}| |0}} }}{{#vardefine: mlr_b |{{#explode:{{#var: mlr}}| |1}} }}{{#ifeq: {{#var: mlr_a}}|sub|{{#vardefine: mlr_b|{{padleft:{{#var: mlr_b}}|3|0}}}} }}{{#vardefine: mlr|{{padleft:{{#var: mlr_a}}|3|0}}_{{#var: mlr_b}} }}[[sortform_mlr::{{#var: mlr}}| ]]{{#vardefine: tm |{{#explode:{{{sigla_tm|}}}|,|0}} }}{{#vardefine: tm |{{padleft:{{#var: tm}}|7|0}} }}[[sortform_tm::{{#var: tm}}| ]] | ||
{{#ifeq:{{{source|}}}||| | {{#ifeq:{{{source|}}}||| | ||
{{!}}- | {{!}}- |
Latest revision as of 16:43, 6 November 2021
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.