Template:inscription: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
(Undo revision 17786 by Martin Braun (talk))
Tag: Undo
 
(10 intermediate revisions by the same user not shown)
Line 7: Line 7:
[[Category:Page Module]]
[[Category:Page Module]]


</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}}_{{#pad:{{#var: number}}|3|0|left}}_{{#pad:{{#var: subnumber}}|3|0|left}} }}[[sortform::{{#var: sortform}}| ]][[checklevel::{{{checklevel|}}}| ]]{{#vardefine: checklevel | {{{checklevel|}}} }}{{#ifeq: {{#var: checklevel }} || {{#vardefine: checklevel | 0 }} }}{{#vardefine: problem|{{#arraymap:{{{problem|}}}|;|x|[[problem::x]]}} }}
</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]]}} }}
{{#ifgroup:editor|<div class="formedit">[[Special:EditData/inscription/{{FULLPAGENAME}}|edit with form]]</div>
<div class="formedit">[[Special:EditData/inscription/{{FULLPAGENAME}}|edit with form]]</div>
<div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 |
*[[Property:checklevel|Checklevel]]: {{#var: checklevel }}
*[[Property:problem|Problems]]: {{#var: problem }}| }}
*[[Property:sortform|Sortform]]: {{#var: sortform}}{{#ifeq: {{#var: disamb }}|||
*[[Property:disambiguation|Disambiguation page]]: {{#var: disamb }} }}
</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 54: Line 48:
{{!}} [[letter_height_min::{{{letter_height_min|}}}]] {{#if:{{{letter_height_max|}}}|– [[letter_height_max::{{{letter_height_max|}}}]]|[[letter_height_max::{{{letter_height_min|}}}| ]]}}
{{!}} [[letter_height_min::{{{letter_height_min|}}}]] {{#if:{{{letter_height_max|}}}|– [[letter_height_max::{{{letter_height_max|}}}]]|[[letter_height_max::{{{letter_height_min|}}}| ]]}}
{{!}}- }} }}
{{!}}- }} }}
{{#if: {{{inscription_width|}}} | {{#ifeq: {{{inscription_width|}}} |0|| ! [[Property:inscription_width|Inscription width]]:
{{!}} [[inscription_width::{{{inscription_width|}}}]]
{{!}}- }} }}
{{#if: {{{inscription_height|}}} | {{#ifeq: {{{inscription_height|}}} |0|| ! [[Property:inscription_height|Inscription height]]:
{{!}} [[inscription_height::{{{inscription_height|}}}]]
{{!}}- }} | {{#ifeq: {{{line_number|}}}|1|[[inscription_height::{{{letter_height_max|{{{letter_height_min|}}}}}}| ]] }} }}
{{#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_max::{{{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:sign_number|Number of signs]]:
{{#if: {{{sign_number|}}} | {{#ifeq: {{{sign_number|}}} |0|| ! [[Property:character_number_min|Number of characters]]:
{{!}} [[sign_number::{{{sign_number|{{{letter_number_min|}}}}}}]] {{#if:{{{sign_number_max|}}}|– [[sign_number_max::{{{sign_number_max|}}}]] | }}
{{!}} {{{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: {{{word_number|}}} | {{#ifeq: {{{word_number|}}} |0|| ! [[Property:word_number|Number of words]]:
{{!}} [[word_number::{{{word_number|}}}]]
{{!}}- }} }}
{{#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|}}}]]
Line 77: Line 62:
! [[Property:condition|Current condition]]:
! [[Property:condition|Current condition]]:
| {{#arraymap:{{{condition|}}}|,|x|[[condition::x]]}}
| {{#arraymap:{{{condition|}}}|,|x|[[condition::x]]}}
|-
! colspan="2" |
----
|- {{#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|}}}}
|- {{#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]]:
{{#ifeq: {{#var: culture }}||| ! [[Property:culture_archaeological|Archaeological culture]]:
Line 88: Line 70:
|-
|-
! [[Property:date_derivation|Date derived from]]:
! [[Property:date_derivation|Date derived from]]:
| {{#arraymap:{{#var: derivation }}|,|x|[[date_derivation::x]]}} {{#ifeq: {{#var: derivation }}|||{{#var: 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]}}}}
|-
|-
! 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: {{{sigla_mlr|}}}|||{{#var:separator}}{{bib|MLR}} {{#arraymap:{{{sigla_mlr|}}}|,|x|[[sigla_mlr::x]]}}{{#vardefine: separator|<br>}} }}{{#ifeq: {{#var:separator}}||none}}{{#vardefine: pid |{{#explode:{{{sigla_pid|}}}|,|0}} }}{{#vardefine: pid_a |{{#explode:{{#var: pid}}| |0}} }}{{#vardefine: pid |{{#pad:{{#var: pid_a}}|3|0|left}}_{{#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 |{{#pad:{{#var: ir_a}}|3|0|left}}_{{#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 |{{#pad:{{#var: lir_letters}}|3|0|right}}_{{#pad:{{#var: lir_number}}|3|0|left}}_{{#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|{{#pad:{{#var: mlr_b}}|3|0|left}}}} }}{{#vardefine: mlr|{{#pad:{{#var: mlr_a}}|3|0|left}}_{{#var: mlr_b}} }}[[sortform_mlr::{{#var: mlr}}| ]]
| {{#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.