Template:inscription: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 8: Line 8:


</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}}_{{#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]]}} }}
{{#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 77: Line 71:
! [[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]]:

Revision as of 21:17, 30 November 2015

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.