Template:object: Difference between revisions
From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
Martin Braun (talk | contribs) No edit summary |
Martin Braun (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
[[Category:Page Module]] | [[Category:Page Module]] | ||
</noinclude><includeonly>{{#vardefine: disambiguation | {{#arraymap:{{{disambiguation|}}}|,|x|[[disambiguation::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}}_{{#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]]}} }} | ||
{{#ifgroup:editor|<div class="formedit">[[Special:EditData/object/{{FULLPAGENAME}}|edit with form]]</div> | {{#ifgroup:editor|<div class="formedit">[[Special:EditData/object/{{FULLPAGENAME}}|edit with form]]</div> | ||
<div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 | | <div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 | | ||
Line 29: | Line 29: | ||
|- | |- | ||
! Size: | ! Size: | ||
| {{#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|}}}]]|}} | | {{#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]]: | ||
Line 80: | Line 80: | ||
---- | ---- | ||
|- | |- | ||
! Alternative Sigla: | ! [[Concordance|Alternative Sigla]]: | ||
| {{#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}}| ]] | ||
|- | |- | ||
! [[Bibliography|Sources]]: | ! [[Bibliography|Sources]]: | ||
| {{#vardefine: sources | {{{source|}}} }}{{#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> |
Revision as of 00:04, 26 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.