Template:object: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 20: Line 20:
{{!}}- | }}
{{!}}- | }}
! [[Property:type_object|Classification]]:
! [[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]]:
{{!}} {{#arraymap:{{{type|}}}|,|x|[[type::x]]}}
{{!}}- | }}
{{#if: {{{description|}}} | ! [[Property:description|Description]]:
{{!}} [[description::{{{description|}}}]]
{{!}}- | }}
! colspan="2" |  
! colspan="2" |  
----
----
Line 34: Line 28:
| [[material::{{{material|}}}]]
| [[material::{{{material|}}}]]
|-
|-
{{#if: {{{composition|}}} | ! [[Property:composition|Material Composition]]:
{{!}} {{#arraymap:{{{composition|}}}|,|x|[[composition::x]]}}
{{!}}- | }}
{{#if: {{{shape|}}} | ! [[Property:shape|Shape]]:
{{!}} {{#arraymap:{{{shape|}}}|,|x|[[shape::x]]}}
{{!}}- | }}
! Size:
! Size:
|-
| {{#vardefine: separator|}}{{#if: {{{size_height|}}} |[[Property:size_height|height]]{{#vardefine: separator|, }}|}}{{#if: {{{size_width|}}}{{#var:separator}}[[Property:size_width|width]]{{#vardefine: separator|, }}|}}{{#if: {{{size_depth|}}} |{{#var:separator}}[[Property:size_depth|depth]]|}}
{{#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]]:
{{!}} {{#arraymap:{{{autopsy|}}}|,|x|[[autopsy::x]]}}
{{!}}- | }}
{{#if: {{{date_autopsy|}}} | ! [[Property:date_autopsy|Date of Autopsy]]:
{{!}} {{#arraymap:{{{date_autopsy|}}}|,|x|[[date_autopsy::x]]}}
{{!}}- | }}
! colspan="2" |  
! colspan="2" |  
----
----
Line 111: Line 63:
| [[date_find::{{{date_find|{{{sortdate_find|}}}}}}]][[sortdate_find::{{{sortdate_find|}}}| ]]
| [[date_find::{{{date_find|{{{sortdate_find|}}}}}}]][[sortdate_find::{{{sortdate_find|}}}| ]]
|-
|-
{{#if: {{{find_circumstances|}}} | ! [[Property:find_circumstances|Find Circumstances]]:
{{!}} {{#arraymap:{{{find_circumstances|}}}|,|x|[[find_circumstances::x]]}}
{{!}}- | }}
{{#if: {{{finder|}}} | ! [[Property:finder|Finder]]:
{{!}} {{#arraymap:{{{finder|}}}|,|x|[[finder::x]]}}
{{!}}- | }}
! [[Property:location|Current Location]]:
! [[Property:location|Current Location]]:
| [[location::{{{location|}}}]]
| [[location::{{{location|}}}]]
Line 130: Line 76:
{{!}} {{#ask:[[Category:Inscription]][[object::{{FULLPAGENAME}}]]|?text_plain=|format=ul}} }}
{{!}} {{#ask:[[Category:Inscription]][[object::{{FULLPAGENAME}}]]|?text_plain=|format=ul}} }}
|-
|-
{{#if: {{{stamp|}}} | ! [[Property:stamp|Stamp]]:
{{!}} {{#arraymap:{{{stamp|}}}|,|x|[[stamp::x]]}}
{{!}}- | }}
! colspan="2" |  
! colspan="2" |  
----
----
|-
|-
! [[Property:source|Sources]]:
! Alternative Sigla:
| {{#vardefine: sources | {{{source_detail|}}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|: |:}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|, |,}} }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{#while:
| {{#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: {{#var:separator}}||none}}{{#vardefine: pid| {{#explode:{{{sigla_pid|}}}| |0}} }}{{#vardefine: pid|{{#pad:{{#var: pid}}|3|0|left}}_{{#explode:{{{sigla_pid|}}}| |1}} }}[[sortform_pid::{{#var: pid}}| ]]{{#vardefine: ir| {{#explode:{{{sigla_ir|}}}| |0}} }}{{#vardefine: ir|{{#pad:{{#var: ir}}|3|0|left}}_{{#explode:{{{sigla_ir|}}}| |1}} }}[[sortform_ir::{{#var: ir}}| ]]
|-
! [[Property:index|Sources]]:
| {{#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>

Revision as of 23:53, 25 August 2013

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.