Template:object: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 29: Line 29:
|-
|-
! 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]]|}}
| {{#vardefine: separator|}}{{#if: {{{size_height|}}} |[[Property:size_height|height]] [[size_height::{{{size_height|}}}]]{{#vardefine: separator|, }}|}}{{#if: {{{size_width|}}}{{#var:separator}}[[Property:size_width|width]] [[size_width::{{{size_width|}}}]]{{#vardefine: separator|, }}|}}{{#if: {{{size_depth|}}} |{{#var:separator}}[[Property:size_depth|depth]] [[size_depth::{{{size_depth|}}}]]|}}
|-
! [[Property:condition|Condition]]:
! [[Property:condition|Condition]]:
| {{#arraymap:{{{condition|}}}|,|x|[[condition::x]]}}
| {{#arraymap:{{{condition|}}}|,|x|[[condition::x]]}}
Line 82: Line 83:
| {{#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}}| ]]
| {{#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]]:
! [[Bibliography|Sources]]:
| {{#vardefine: sources | {{{source|}}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|: |:}} }}{{#vardefine: sources | {{#replace: {{#var: sources }}|; |;}} }}{{#vardefine: i | 0 }}{{#vardefine: ok | 1 }}{{ #while:
| {{#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 }}

Revision as of 23:56, 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.