Template:object: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
 
(32 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: minus |}}{{#vardefine: sortdate | {{{sortdate|}}} }}{{#vardefine: sortdate | {{#replace: {{#var: sortdate}} |<nowiki> </nowiki>|}} }}{{#vardefine: i | {{#pos:{{#var: sortdate }}|BC}} }}{{#ifeq: {{#var: i}} | | | {{#vardefine: sortdate | {{#sub:{{#var: sortdate}}|0|{{#var: i}} }} }}{{#vardefine: minus |-}} }}[[sortdate::{{#var: minus}}{{#var: sortdate}}| ]]{{#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 |
{| class="table_data" width=100%
*[[Property:checklevel|Checklevel]]: {{#var: checklevel }}
! colspan="2" class="field_category" | [[:Category:Object|Object]]
*[[Property:problem|Problems]]: {{#var: problem }}| }}
|-
*[[Property:sortform|Sortform]]: {{#var: sortform}}
*[[Property:sortdate|Sortdate]]: {{#var: minus}}{{#var: sortdate}}{{#ifeq: {{#var: disambiguation }}|||
*[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }}</div>}}
{| class="table_data"
{{#if: {{{name|}}} | ! [[Property:name|Proper name]]:
{{#if: {{{name|}}} | ! [[Property:name|Proper name]]:
{{!}} {{#arraymap:{{{name|}}}|,|x|[[name::x]]}}
{{!}} {{#arraymap:{{{name|}}}|,|x|[[name::x]]}}
{{!}}- | }}
{{!}}- | }}
! [[Property:type_object|Classification]]:
! width="100" | [[Property:type_object|Classification]]:
| [[type_object::{{{type_object|}}}]] {{#ifeq: {{#ask: [[{{FULLPAGENAME}}]][[type_object::unidentifiable]][[material::pottery]][[condition::fragmentary]]|format=count}}|1|potsherd}}
| [[type_object::{{{type_object|}}}]]
|-
|-
{{#if: {{{type|}}} | ! [[Property:type|Archaeological Type]]:
{{#if: {{{type|}}} | ! [[Property:type|Archaeological type]]:
{{!}} {{#arraymap:{{{type|}}}|,|x|[[type::x]]}}
{{!}} {{#arraymap:{{{type|}}}|,|x|[[type::x]]}}
{{!}}- | }}
{{!}}- | }}
{{#if: {{{description|}}} | ! [[Property:description|Description]]:
{{!}} [[description::{{{description|}}}]]
{{!}}- | }}
! colspan="2" |
----
|-
! [[Property:material|Material]]:
! [[Property:material|Material]]:
| [[material::{{{material|}}}]]
| [[material::{{{material|}}}]]
|-
|-
{{#if: {{{composition|}}} | ! [[Property:composition|Material Composition]]:
{{#if: {{{dimension|}}} | ! Size:
{{!}} {{#arraymap:{{{composition|}}}|,|x|[[composition::x]]}}
{{!}} {{{dimension|{{{dimension_max|}}}}}}[[dimension::{{{dimension_max|}}}| ]]
{{!}}- | }}
{{!}}- | }}
{{#if: {{{shape|}}} | ! [[Property:shape|Shape]]:
{{!}} {{#arraymap:{{{shape|}}}|,|x|[[shape::x]]}}
{{!}}- | }}
! Size:
|-
{{#if: {{{size_height|}}} | ! <span style="margin-left:10px;">Extension ([[Property:size_height|h]]|}}{{#if: {{{size_width|}}} |×[[Property:size_width|w]]|}}{{#if: {{{size_depth|}}} |×[[Property:size_depth|d]]|}}{{#if: {{{size_height|}}} |): |}}
| [[size_height::{{{size_height|}}}]] {{#if:{{{size_width|}}}|× [[size_width::{{{size_width|}}}]] | }} {{#if:{{{size_height|}}}|{{#if:{{{size_depth|}}}|× [[size_depth::{{{size_depth|}}}]] | }} | }}
|-
|-
{{#if: {{{size_diameter|}}} | ! <span style="margin-left:10px;">[[Property:size_diameter|Diameter (max.)]]:
{{!}} [[size_diameter::{{{size_diameter|}}}]]
{{!}}- | }}
{{#if: {{{size_diameter_base|}}} | ! <span style="margin-left:10px;">[[Property:size_diameter_base|Diameter (base)]]:
{{!}} [[size_diameter_base::{{{size_diameter_base|}}}]]
{{!}}- | }}
{{#if: {{{size_depth|}}} | {{#if: {{{size_diameter|}}} | ! <span style="margin-left:10px;">[[Property:size_depth|Thickness]]:
{{!}} {{#if: {{{size_depth|}}} | [[size_depth::{{{size_depth|}}}]] | }}
{{!}}- | }} | }}
{{#if: {{{weight|}}} | ! [[Property:weight|Weight]]:
{{!}} [[weight::{{{weight|}}}]]
{{!}}- | }}
{{#if: {{{colour|}}} | ! [[Property:colour|Colour]]:
{{!}} [[colour::{{{colour|}}}]]
{{!}}- | }}
{{#if: {{{surface_treatment|}}} | ! [[Property:surface_treatment|Surface Treatment]]:
{{!}} {{#arraymap:{{{surface_treatment|}}}|,|x|[[surface_treatment::x]]}}
{{!}}- | }}
{{#if: {{{ornament_manner|}}} | ! Ornament:
{{!}} &nbsp;
{{!}}- | }}
{{#if: {{{ornament_manner|}}} | ! <span style="margin-left:10px;">[[Property:ornament_manner|Manner]]:
{{!}} {{#arraymap:{{{ornament_manner|}}}|,|x|[[ornament_manner::x]]}}
{{!}}- | }}
{{#if: {{{ornament_design|}}} | ! <span style="margin-left:10px;">[[Property:ornament_design|Design]]:
{{!}} {{#arraymap:{{{ornament_design|}}}|,|x|[[ornament_design::x]]}}
{{!}}- | }}
! [[Property:condition|Condition]]:
! [[Property:condition|Condition]]:
| {{#arraymap:{{{condition|}}}|,|x|[[condition::x]]}}
| {{#arraymap:{{{condition|}}}|,|x|[[condition::x]]}}
|-
|-
{{#if: {{{autopsy|}}} | ! [[Property:autopsy|Autopsy by]]:
{{#if: {{{culture_archaeological|}}} | ! [[Property:culture_archaeological|Archaeological culture]]:
{{!}} {{#arraymap:{{{autopsy|}}}|,|x|[[autopsy::x]]}}
{{!}} {{#arraymap:{{{culture_archaeological|}}}|,|x|[[culture_archaeological::x]]}}
{{!}}- | }}
{{#if: {{{date_autopsy|}}} | ! [[Property:date_autopsy|Date of Autopsy]]:
{{!}} {{#arraymap:{{{date_autopsy|}}}|,|x|[[date_autopsy::x]]}}
{{!}}- | }}
{{!}}- | }}
! colspan="2" |  
{{#if: {{{sortdate|}}}|[[sortdate::{{#var: sortdate}}| ]]|[[sortdate::0| ]]}}{{#vardefine: date|{{{date|{{{sortdate|}}}}}}}}{{#ifeq: {{#var: date}}|0|{{#vardefine: date|}}}}{{#ifeq: {{#var: date}}||| ! [[Property:date|Date]]:
----
{{!}} [[date::{{#var: date}}]]
|-
{{!}}-
! [[Property:culture_archaeological|Archaeological Culture]]:
{{#if: {{{date_derivation|}}} | ! [[Property:date_derivation|Date derived from]]:
| {{#arraymap:{{{culture_archaeological|}}}|,|x|[[culture_archaeological::x]]}}
{{!}} {{#arraymap:{{{date_derivation|}}}|,|x|[[date_derivation::x]]}}
|-
{{!}}- | }} }}
! [[Property:date|Date]]:
| [[date::{{{date|}}}]]
|-
! [[Property:date_derivation‎|Date derived from]]:
| {{#arraymap:{{{date_derivation‎|}}}|,|x|[[date_derivation‎::x]]}}
|-
! colspan="2" |  
! colspan="2" |  
----
----
Line 99: Line 46:
| [[site::{{{site|}}}| ]]{{#show:{{{site|}}}|?=|mainlabel=-|?community=fraction of|?province=|?region=|?country=|format=list}}
| [[site::{{{site|}}}| ]]{{#show:{{{site|}}}|?=|mainlabel=-|?community=fraction of|?province=|?region=|?country=|format=list}}
|-
|-
{{#if: {{{field_name|}}} | ! [[Property:field_name|Field Name]]:
{{#if: {{{field_name|}}} | ! [[Property:field_name|Field name]]:
{{!}} {{#arraymap:{{{field_name|}}}|,|x|[[field_name::x]]}}
{{!}} {{#arraymap:{{{field_name|}}}|,|x|[[field_name::x]]}}
{{!}}- | }}
{{!}}- | }}
{{#if: {{{find_context|}}} | ! [[Property:find_context|Archaeological context]]:
{{#if: {{{find_context|}}} | ! [[Property:find_context|Archaeological context]]:
{{!}} {{#arraymap:{{{find_context|}}}|,|y|[[find_context::y]]}}{{#if: {{{find_context|}}} | {{#vardefine: site | {{{site|}}} }}{{#vardefine: field_name | {{{field_name|}}} }}{{#vardefine: find_context | {{{find_context|}}} }}{{#vardefine: count | {{#ask: [[Category:Object]][[site::{{#var: site }}]][[find_context::{{#var: find_context }}]]|format=count }} }}{{#ifexpr: {{#var: count }} > 1 | <br>(Objects: {{#ask: [[Category:Object]][[site::{{#var: site }}]][[find_context::{{#var: find_context }}]]|format=list }}) }} }}
{{!}} {{#arraymap:{{{find_context|}}}|,|y|[[find_context::y]]}}{{#if: {{{find_context|}}} | {{#vardefine: site | {{{site|}}} }}{{#vardefine: field_name | {{{field_name|}}} }}{{#vardefine: find_context | {{{find_context|}}} }}{{#vardefine: count | {{#ask: [[Category:Object]][[site::{{#var: site }}]][[find_context::{{#var: find_context }}]]|format=count }} }}{{#ifexpr: {{#var: count }} > 1 | <br>(Objects: {{#ask: [[Category:Object]][[site::{{#var: site }}]][[find_context::{{#var: find_context }}]]|sort=sortform|format=list|limit=1000}}) }} }}
{{!}}- | }}
{{!}}- | }}
! [[Property:coordinate|Coordinates]] (approx.):
! [[Property:coordinate|Coordinates]] (approx.):
| {{#if: {{{coordinate_n|}}} | [http://stable.toolserver.org/geohack/geohack.php?language=en&params={{{coordinate_n}}}_N_{{{coordinate_e}}}_E [[coordinate::{{{coordinate_n}}} N, {{{coordinate_e}}} E]]][[coordinate_n::{{{coordinate_n|}}}| ]][[coordinate_e::{{{coordinate_e|}}}| ]] | [http://stable.toolserver.org/geohack/geohack.php?language=en&params={{#show:{{{site}}}|?coordinate_n}}_N_{{#show:{{{site}}}|?coordinate_e}}_E [[coordinate::{{#show:{{{site}}}|?coordinate_n}} N, {{#show:{{{site}}}|?coordinate_e}} E]]][[coordinate_n::{{#show:{{{site}}}|?coordinate_n}}| ]][[coordinate_e::{{#show:{{{site}}}|?coordinate_e}}| ]] [from site] }}
| {{#if: {{{coordinate_n|}}}|{{coord|{{{coordinate_n|}}}|{{{coordinate_e|}}}|{{PAGENAME}}}}}}{{#ifeq: {{{coordinate_n|}}}||{{#vardefine: n | {{#show:{{{site|}}}|?coordinate_n}} }}{{#ifeq: {{#var: n }}||none|{{#vardefine: e | {{#show:{{{site|}}}|?coordinate_e}} }}{{coord|{{#var: n }}|{{#var: e }}|{{PAGENAME}}}} [from site]}} }}
|-
|-
! [[Property:date_find|Find Date]]:
! [[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|}}}}
| [[date_find::{{{date_find|{{{sortdate_find|}}}}}}]][[sortdate_find::{{{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]]:
{{!}} {{#arraymap:{{{find_circumstances|}}}|,|x|[[find_circumstances::x]]}}
{{!}} {{#arraymap:{{{find_circumstances|}}}|,|x|[[find_circumstances::x]]}}
{{!}}- | }}
{{!}}- | }}
{{#if: {{{finder|}}} | ! [[Property:finder|Finder]]:
! [[Property:location|Current location]]:
{{!}} {{#arraymap:{{{finder|}}}|,|x|[[finder::x]]}}
| [[location::{{{location|}}}]] {{#if: {{{accessibility|}}} | ([[accessibility::{{{accessibility|}}}]]) }}
{{!}}- | }}
! [[Property:location|Current Location]]:
| [[location::{{{location|}}}]]
|-
|-
{{#if: {{{inventory_number|}}} | ! <span style="margin-left:10px;">[[Property:inventory_number|Inventory Nr.]]</span>:
{{#if: {{{inventory_number|}}} | ! <span style="margin-left:10px;">[[Property:inventory_number|Inventory Nr.]]</span>:
{{!}} {{#arraymap:{{{inventory_number|}}}|,|x|[[inventory_number::x]]}}
{{!}} {{#arraymap:{{{inventory_number|}}}|;|x|[[inventory_number::x]]}}
{{!}}- | }}
{{!}}- | }}
! colspan="2" |  
! colspan="2" |  
----
----
|-
|-
{{#ifeq: {{#ask:[[Category:Inscription]][[object::{{FULLPAGENAME}}]]|format=count}}|1| ! [[:Category:Inscription|Inscription]]:
{{#ifeq: {{#ask:[[Category:Inscription]][[object::{{PAGENAME}}]]|format=count}}|1| ! [[:Category:Inscription|Inscription]]:
{{!}} {{#ask:[[Category:Inscription]][[object::{{FULLPAGENAME}}]]|?text_plain=|format=list}}|! [[:Category:Inscription|Inscriptions]]:
{{!}} {{#ask:[[Category:Inscription]][[object::{{PAGENAME}}]]|?text_plain=|format=list}}|! [[:Category:Inscription|Inscriptions]]:
{{!}} {{#ask:[[Category:Inscription]][[object::{{FULLPAGENAME}}]]|?text_plain=|format=ul}} }}
{{!}} {{#ask:[[Category:Inscription]][[object::{{PAGENAME}}]]|?text_plain=|format=ul|sort=sortform}} }}
|-
{{#if: {{{source|}}} |
{{#if: {{{stamp|}}} | ! [[Property:stamp|Stamp]]:
{{!}}-
{{!}} {{#arraymap:{{{stamp|}}}|,|x|[[stamp::x]]}}
! colspan="2" {{!}}
{{!}}- | }}
! colspan="2" |
----
----
|-
{{!}}-
! [[Property:source|Sources]]:
! [[Bibliography|Sources]]:
| {{#vardefine: sources | {{{source_detail|}}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|: |:}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|, |,}} }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{#while:
{{!}} {{#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 }}|,| {{#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 }} }} }}
   |<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:Object|{{#var: sortform}}]]</includeonly>
{{gallery}}[[Category:Object|{{#var: sortform}}]]</includeonly>

Latest revision as of 17: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.