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 |
||
(68 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
[[Category:Page Module]] | [[Category:Page Module]] | ||
</noinclude><includeonly>{{#vardefine: | </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% | |||
! colspan="2" class="field_category" | [[:Category:Inscription|Inscription]] | |||
|- | |||
{{#if: {{{name|}}} | ! [[Property:name|Proper name]]: | {{#if: {{{name|}}} | ! [[Property:name|Proper name]]: | ||
{{!}} {{#arraymap:{{{name|}}}|,|x|[[name::x]]}} | {{!}} {{#arraymap:{{{name|}}}|,|x|[[name::x]]}} | ||
{{!}}- |}} | {{!}}- |}} | ||
! [[Property:text_plain|Transliteration]]: | ! width="100" | [[Property:text_plain|Transliteration]]: | ||
| {{#vardefine: text | {{{reading|}}} }}{{#vardefine: text | {{#replace: {{#var: text}}|:| | | {{#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]]: | ||
| {{{reading_original|}}} | | {{{reading_original|}}} | ||
|- | |- | ||
{{#if: {{{reading_variant|}}} | ! Variant Reading: | |||
{{!}} {{{reading_variant|}}} | |||
{{!}}- |}} | |||
! colspan="2" | | ! colspan="2" | | ||
---- | ---- | ||
|- | |- | ||
! [[ | ! [[:Category:Object|Object]]: | ||
| [[object::{{{object|}}}]] {{#ifeq: {{{object|}}}|unknown||({{#show: {{{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|sort=sortform }}) }} }} | ||
|- | |- | ||
! [[Property:position|Position]]: | ! [[Property:position|Position]]: | ||
Line 37: | Line 36: | ||
{{!}} {{#arraymap:{{{orientation|}}}|,|x|[[orientation::x]]°}} | {{!}} {{#arraymap:{{{orientation|}}}|,|x|[[orientation::x]]°}} | ||
{{!}}- | }} | {{!}}- | }} | ||
{{#if: {{{frame_middle|}}} | ! Frame: | {{#if: {{{frame_middle|}}} | ! Frame: | ||
{{!}} {{#ifeq: {{{frame_left|}}} | unknown |?| {{#ifeq: {{{frame_left|}}} | none || {{#ifeq: {{{frame_left|}}} ||| [[Image:Frame_left_{{{frame_left|}}}.png|x18px|link=Property:frame_left|{{{frame_left|}}}]] }} }} }}{{#ifeq: {{{frame_middle|}}} | unknown |? | {{!}} {{#ifeq: {{{frame_left|}}}|unknown|<span title="Frame left: unknown">?</span>|{{#ifeq: {{{frame_left|}}}|none||{{#ifeq: {{{frame_left|}}}|||[[Image:Frame_left_{{{frame_left|}}}.png|x18px|middle|link=Property:frame_left|Frame left: {{{frame_left|}}}]] }} }} }}{{#ifeq: {{{frame_middle|}}}|unknown|<span title="Frame middle: unknown"> ?? ?? </span>|[[Image:Frame_middle_{{{frame_middle|}}}.png|x18px|middle|link=Property:frame_middle|Frame middle: {{{frame_middle|}}}]][[Image:Frame_middle_{{{frame_middle|}}}.png|x18px|middle|link=Property:frame_middle|Frame middle: {{{frame_middle|}}}]] }}{{#ifeq: {{{frame_right|}}}|unknown|<span title="Frame right: unknown">?</span>|{{#ifeq: {{{frame_right|}}}|none||{{#ifeq: {{{frame_right|}}}|||[[Image:Frame_right_{{{frame_right|}}}.png|x18px|middle|link=Property:frame_right|Frame right: {{{frame_right|}}}]] }} }} }} ([[frame_left::{{{frame_left|}}}]], [[frame_middle::{{{frame_middle|}}}]], [[frame_right::{{{frame_right|}}}]]) | ||
{{!}}- | }} | {{!}}- | }} | ||
! [[Property:script|Script]]: | ! [[Property:script|Script]]: | ||
| [[script::{{{script|}}}]] | | [[script::{{{script|}}}]] {{#ifeq: {{{alphabet|}}}||| ([[alphabet::{{{alphabet|}}}]]) }} | ||
|- | |- | ||
! [[Property:direction|Direction of writing]]: | |||
| [[direction::{{{direction|}}}]] | |||
! [[Property: | |||
| [[ | |||
|- | |- | ||
{{#ifeq: {{{ | {{#if: {{{letter_height_min|}}} | {{#ifeq: {{{letter_height_min|}}} |0|| ! [[Property:letter_height_min|Letter height]]: | ||
{{!}} [[ | {{!}} [[letter_height_min::{{{letter_height_min|}}}]] {{#if:{{{letter_height_max|}}}|– [[letter_height_max::{{{letter_height_max|}}}]]|[[letter_height_max::{{{letter_height_min|}}}| ]]}} | ||
{{!}}- }} | {{!}}- }} }} | ||
{{#ifeq: {{{line_number|}}} |0|| ! [[Property:line_number|Number of | {{#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_max|}}}| }} | |||
{{!}}- }} }} [[letter_number_max::{{{letter_number_max|{{{letter_number_min|}}}}}}| ]] | |||
{{#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]]: | |||
{{!}} [[line_number::{{{line_number|}}}]] | {{!}} [[line_number::{{{line_number|}}}]] | ||
{{!}}- }} }} | |||
{{#if: {{{craftsmanship|}}}| ! [[Property:craftsmanship|Craftsmanship]]: | |||
{{!}} {{#arraymap:{{{craftsmanship|}}}|,|x|[[craftsmanship::x]]}} | |||
{{!}}- }} | {{!}}- }} | ||
! [[Property: | ! [[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]]: | |||
{{!}} {{#arraymap:{{#var: culture }}|,|x|[[culture_archaeological::x]]}} {{#var: from_object }} | |||
{{!}}- }} | |||
! [[Property:date|Date of inscription]]: | |||
| {{#ifeq: {{#var: date }}|||[[date::{{#var: date }}]][[sortdate::{{#var: sortdate }}| ]] {{#var: from_object }} }} | |||
|- | |- | ||
! [[Property:date_derivation|Date derived from]]: | |||
! [[Property: | |||
| {{#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]}}}} | | {{#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]}}}} | ||
|- | |- | ||
Line 79: | Line 75: | ||
---- | ---- | ||
|- | |- | ||
! [[Property:type_inscription|Type]]: | {{#ifeq: {{{type_inscription|}}} ||| ! [[Property:type_inscription|Type]]: | ||
{{!}} {{#arraymap:{{{type_inscription|}}}|,|x|[[type_inscription::x]]}} | |||
{{!}}- }} | |||
! [[Property:language|Language]]: | ! [[Property:language|Language]]: | ||
| | | {{#arraymap:{{{language|}}}|,|x|[[language::x]]}} | ||
|- | |- | ||
! [[Property:meaning|Meaning]]: | ! [[Property:meaning|Meaning]]: | ||
Line 91: | Line 87: | ||
---- | ---- | ||
|- | |- | ||
! Alternative | ! [[Concordance|Alternative sigla]]: | ||
| {{#vardefine: separator|}}{{#ifeq: {{{sigla_pid|}}}|||{{#var:separator}}{{bib|PID}} [[sigla_pid::{{{ | | {{#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|}}}||| | ||
! [[ | {{!}}- | ||
| {{#vardefine: sources | {{{ | ! [[Bibliography|Sources]]: | ||
{{!}} {{#ifeq:{{{source|}}}|unpublished|[unpublished]|{{#vardefine: sources | {{{source|}}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|: |:}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|; |;}} }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{ #while: | |||
| {{ #ifexpr: {{ #var: ok }} = 1 | true }} | | {{ #ifexpr: {{ #var: ok }} = 1 | true }} | ||
|<nowiki/>{{#vardefine: entry | {{#explode: {{#var: sources }}| | |<nowiki/>{{#vardefine: entry | {{#explode: {{#var: sources }}|;| {{#var: i }} }} }}{{#ifeq: {{#var: entry }}||{{#vardefine: ok | 0 }}|{{#vardefine: link | {{#explode: {{#var: entry }}|:|0}} }}{{#vardefine: text | {{#explode: {{#var: entry }}|:|1}} }}{{#ifeq: {{#var: i }}|0||<br>}}{{bib|{{#var: link }}}}: {{#var: text}} }}{{#vardefine: i | {{ #expr: {{ #var: i }} + 1 }} }} }} }} }} | ||
|} | |} | ||
{{gallery}}[[Category:Inscription|{{#var: sortform}}]] | {{gallery}}[[Category:Inscription|{{#var: sortform}}]] | ||
</includeonly> | </includeonly> |
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.