Template:object: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 7: Line 7:
[[Category:Page Module]]
[[Category:Page Module]]


</noinclude><includeonly>{{#vardefine: disambiguation | {{#arraymap:{{{disambiguation|}}}|,|x|[[disambiguation::x]]}} }}{{#vardefine: sortform | {{#replace: {{FULLPAGENAME}}| |·}} }}{{#vardefine: sortform | {{#replace: {{#var: sortform}}|-|·}} }}{{#vardefine: number | {{#explode:{{#var: sortform}}|·|1}} }}{{#vardefine: sortform |{{#explode:{{#var: sortform}}|·|0}}_{{#pad:{{#var: number}}|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: disambiguation | {{#arraymap:{{{disambiguation|}}}|,|x|[[disambiguation::x]]}} }}{{#vardefine: sortform | {{#replace: {{FULLPAGENAME}}| |·}} }}{{#vardefine: sortform | {{#replace: {{#var: sortform}}|-|·}} }}{{#vardefine: number | {{#explode:{{#var: sortform}}|·|1}} }}{{#vardefine: sortform |{{#explode:{{#var: sortform}}|·|0}}_{{padleft:{{#var: number}}|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/object/{{FULLPAGENAME}}|edit with form]]</div>
<div class="formedit">[[Special:EditData/object/{{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: disambiguation }}|||
*[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }}</div>}}
{| class="table_data" width=100%
{| class="table_data" width=100%
! colspan="2" class="field_category" | [[:Category:Object|Object]]
! colspan="2" class="field_category" | [[:Category:Object|Object]]
Line 26: Line 21:
{{!}} {{#arraymap:{{{type|}}}|,|x|[[type::x]]}}
{{!}} {{#arraymap:{{{type|}}}|,|x|[[type::x]]}}
{{!}}- | }}
{{!}}- | }}
! colspan="2" |
----
|-
! [[Property:material|Material]]:
! [[Property:material|Material]]:
| [[material::{{{material|}}}]]
| [[material::{{{material|}}}]]
Line 38: Line 30:
! [[Property:condition|Condition]]:
! [[Property:condition|Condition]]:
| {{#arraymap:{{{condition|}}}|,|x|[[condition::x]]}}
| {{#arraymap:{{{condition|}}}|,|x|[[condition::x]]}}
|-
! colspan="2" |
----
|-
|-
{{#if: {{{culture_archaeological|}}} | ! [[Property:culture_archaeological|Archaeological culture]]:
{{#if: {{{culture_archaeological|}}} | ! [[Property:culture_archaeological|Archaeological culture]]:
{{!}} {{#arraymap:{{{culture_archaeological|}}}|,|x|[[culture_archaeological::x]]}}
{{!}} {{#arraymap:{{{culture_archaeological|}}}|,|x|[[culture_archaeological::x]]}}
{{!}}- | }}
{{!}}- | }}
! [[Property:date|Date]]: {{#vardefine: sortdate|{{{sortdate|}}}}}{{#vardefine: date|{{{date|{{{sortdate|}}}}}}}}{{#ifeq: {{#var: sortdate}}|0|{{#vardefine: sortdate|}}}}{{#ifeq: {{#var: date}}|0|{{#vardefine: date|}}}}
{{#if: {{{sortdate|}}}|[[sortdate::{{#var: sortdate}}| ]]|[[sortdate::0| ]]}}{{#vardefine: date|{{{date|{{{sortdate|}}}}}}}}{{#ifeq: {{#var: date}}|0|{{#vardefine: date|}}}}{{#ifeq: {{#var: date}}||| ! [[Property:date|Date]]:
| {{#ifeq: {{#var: date}}|||[[date::{{#var: date}}]]}}{{#ifeq: {{#var: sortdate}}|||[[sortdate::{{#var: sortdate}}| ]]}} {{#ifgroup:editor| {{#ifeq: {{#var: date}}||| {{#ifeq: {{{sortdate|}}}|| <br><span style="color:red;">A display date has been entered without declaring a sorting date!</span> }} }} }}
{{!}} [[date::{{#var: date}}]]
|-
{{!}}-
! [[Property:date_derivation|Date derived from]]:
{{#if: {{{date_derivation|}}} | ! [[Property:date_derivation|Date derived from]]:
| {{#arraymap:{{{date_derivation|}}}|,|x|[[date_derivation::x]]}}
{{!}} {{#arraymap:{{{date_derivation|}}}|,|x|[[date_derivation::x]]}}
|-
{{!}}- | }} }}
! colspan="2" |  
! colspan="2" |  
----
----
Line 67: Line 56:
|-
|-
! [[Property:date_find|Find date]]: {{#vardefine: sortdate_find|{{{sortdate_find|}}}}}{{#vardefine: date_find|{{{date_find|{{{sortdate_find|}}}}}}}}{{#ifeq: {{#var: sortdate_find}}|0|{{#vardefine: sortdate_find|}}}}{{#ifeq: {{#var: date_find}}|0|{{#vardefine: date_find|}}}}
! [[Property:date_find|Find date]]: {{#vardefine: sortdate_find|{{{sortdate_find|}}}}}{{#vardefine: date_find|{{{date_find|{{{sortdate_find|}}}}}}}}{{#ifeq: {{#var: sortdate_find}}|0|{{#vardefine: sortdate_find|}}}}{{#ifeq: {{#var: date_find}}|0|{{#vardefine: date_find|}}}}
| {{#ifeq: {{#var: date_find}}|||[[date_find::{{#var: date_find}}]]}}{{#ifeq: {{#var: sortdate_find}}|||[[sortdate_find::{{#var: sortdate_find}}| ]]}}  
| {{#ifeq: {{#var: date_find}}|||[[date_find::{{#var: date_find}}]]}}{{#ifeq: {{#var: sortdate_find}}|||[[sortdate_find::{{#var: sortdate_find}}| ]]}}
|-
|-
{{#if: {{{find_circumstances|}}} | ! [[Property:find_circumstances|Find circumstances]]:
{{#if: {{{find_circumstances|}}} | ! [[Property:find_circumstances|Find circumstances]]:
Line 83: Line 72:
{{#ifeq: {{#ask:[[Category:Inscription]][[object::{{PAGENAME}}]]|format=count}}|1| ! [[:Category:Inscription|Inscription]]:
{{#ifeq: {{#ask:[[Category:Inscription]][[object::{{PAGENAME}}]]|format=count}}|1| ! [[:Category:Inscription|Inscription]]:
{{!}} {{#ask:[[Category:Inscription]][[object::{{PAGENAME}}]]|?text_plain=|format=list}}|! [[:Category:Inscription|Inscriptions]]:
{{!}} {{#ask:[[Category:Inscription]][[object::{{PAGENAME}}]]|?text_plain=|format=list}}|! [[:Category:Inscription|Inscriptions]]:
{{!}} {{#ask:[[Category:Inscription]][[object::{{PAGENAME}}]]|?text_plain=|format=ul}} }}
{{!}} {{#ask:[[Category:Inscription]][[object::{{PAGENAME}}]]|?text_plain=|format=ul|sort=sortform}} }}
{{#if: {{{source|}}} |
{{#if: {{{source|}}} |
{{!}}-
{{!}}-

Latest revision as of 16:37, 29 April 2020

This template serves to display pages about archaeological objects that carry inscriptions. These are best created or edited with the Form:object.

See the Category:Object for a list of all 294 object pages.