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 8: | Line 8: | ||
</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: 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]]}} }} | ||
<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 | | ||
*[[ | *[[Property:checklevel|Checklevel]]: {{#var: checklevel }} | ||
*[[Property:problem|Problems]]: {{#var: problem }}| }} | *[[Property:problem|Problems]]: {{#var: problem }}| }} | ||
*[[Property:sortform|Sortform]]: {{#var: sortform}} | *[[Property:sortform|Sortform]]: {{#var: sortform}} | ||
*[[Property:sortdate|Sortdate]]: {{#var: minus}}{{#var: sortdate}}{{#ifeq: {{#var: disambiguation }}||| | *[[Property:sortdate|Sortdate]]: {{#var: minus}}{{#var: sortdate}}{{#ifeq: {{#var: disambiguation }}||| | ||
*[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }}</div> | *[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }}</div>}} | ||
{| class="table_data" | {| class="table_data" | ||
{{#if: {{{name|}}} | ! [[Property:name|Proper name]]: | {{#if: {{{name|}}} | ! [[Property:name|Proper name]]: |
Revision as of 17:20, 14 July 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 objects' page for a list of all 294 object pages.