Template:inscription: 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>{{# | </noinclude><includeonly>{{#vardefine: disamb |{{{disambiguation|}}} }}{{#ifeq: {{#var: disamb }}||{{#ifeq: {{#explode:{{PAGENAME}}|.|1}}|||{{#vardefine: disamb |{{#explode:{{PAGENAME}}|.|0}} }} }} }}[[disambiguation::{{#var: disamb }}| ]]{{#vardefine: sortform |{{#replace: {{FULLPAGENAME}}|.|·}} }}{{#vardefine: sortform |{{#replace: {{#var: sortform}}|-|·}} }}{{#vardefine: sortform |{{#replace: {{#var: sortform}}| |·}} }}{{#vardefine: number |{{#explode:{{#var: sortform}}|·|1}} }}{{#vardefine: subnumber |{{#explode:{{#var: sortform}}|·|2}} }}[[sigla_group::{{#explode:{{#var: sortform}}|·|0}}| ]]{{#vardefine: sortform |{{#explode:{{#var: sortform}}|·|0}}_{{#pad:{{#var: number}}|3|0|left}}_{{#pad:{{#var: subnumber}}|3|0|left}} }}[[sortform::{{#var: sortform}}| ]][[checklevel::{{{checklevel|}}}| ]]{{#vardefine: checklevel | {{{checklevel|}}} }}{{#ifeq: {{#var: checklevel }} || {{#vardefine: checklevel | 0 }} }}{{#vardefine: problem|{{#arraymap:{{{problem|}}}|;|x|[[problem::x]]}} }} | ||
{{#ifeq: {{#explode:{{PAGENAME}}|.|1}}|||{{#vardefine: | |||
{{#ifgroup:editor|<div class="formedit">[[Special:EditData/inscription/{{FULLPAGENAME}}|edit with form]]</div> | {{#ifgroup:editor|<div class="formedit">[[Special:EditData/inscription/{{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:checklevel|Checklevel]]: {{#var: checklevel }} | ||
*[[Property:problem|Problems]]: {{#var: problem }}| }} | *[[Property:problem|Problems]]: {{#var: problem }}| }} | ||
*[[Property:sortform|Sortform]]: {{#var: sortform}}{{#ifeq: {{#var: | *[[Property:sortform|Sortform]]: {{#var: sortform}}{{#ifeq: {{#var: disamb }}||| | ||
*[[Property:disambiguation|Disambiguation | *[[Property:disambiguation|Disambiguation page]]: {{#var: disamb }} }} | ||
</div> }} | </div> }} | ||
{| class="table_data" width=100% | {| class="table_data" width=100% | ||
Line 81: | Line 80: | ||
! colspan="2" | | ! colspan="2" | | ||
---- | ---- | ||
|- {{#vardefine: from_object |1}}{{#if: {{{culture_archaeological|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{sortdate|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{date|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{date_derivation|}}}| {{#vardefine: from_object |0}} }}{{#ifeq: {{#var: from_object}}|1|{{#vardefine: culture| {{#show:{{{object|}}}|?culture_archaeological}} }}{{#vardefine: sortdate| {{#show:{{{object|}}}|?sortdate}} }}{{#vardefine: date| {{#show:{{{object|}}}|?date}} }}{{#vardefine: derivation| {{#show:{{{object|}}}|?date_derivation}} }}{{#vardefine: from_object| [from object] }}|{{#vardefine: culture| {{{culture_archaeological|}}} }}{{#vardefine: sortdate| {{{sortdate|}}} }}{{#vardefine: date| {{{date|{{{sortdate|}}}}}} }}{{#vardefine: derivation| {{{date_derivation|}}} }}{{#vardefine: from_object|}} }} | |- {{#vardefine: from_object |1}}{{#if: {{{culture_archaeological|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{sortdate|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{date|}}}| {{#vardefine: from_object |0}} }}{{#if: {{{date_derivation|}}}| {{#vardefine: from_object |0}} }}{{#ifeq: {{#var: from_object}}|1|{{#vardefine: culture| {{#show:{{{object|}}}|?culture_archaeological}} }}{{#vardefine: sortdate| {{#show:{{{object|}}}|?sortdate}} }}{{#vardefine: date| {{#show:{{{object|}}}|?date}} }}{{#vardefine: derivation| {{#show:{{{object|}}}|?date_derivation}} }}{{#vardefine: from_object| [from object] }}|{{#vardefine: culture| {{{culture_archaeological|}}} }}{{#vardefine: sortdate| {{{sortdate|}}} }}{{#vardefine: date| {{{date|{{{sortdate|}}}}}} }}{{#vardefine: derivation| {{{date_derivation|}}} }}{{#vardefine: from_object|}} }}{{#ifeq: {{#var: sortdate}}|0|{{#vardefine: sortdate|}}}}{{#ifeq: {{#var: date}}|0|{{#vardefine: date|}}}} | ||
{{#ifeq: {{#var: culture }}||| ! [[Property:culture_archaeological|Archaeological culture]]: | {{#ifeq: {{#var: culture }}||| ! [[Property:culture_archaeological|Archaeological culture]]: | ||
{{!}} {{#arraymap:{{#var: culture }}|,|x|[[culture_archaeological::x]]}} {{#var: from_object }} | {{!}} {{#arraymap:{{#var: culture }}|,|x|[[culture_archaeological::x]]}} {{#var: from_object }} | ||
{{!}}- }} | {{!}}- }} | ||
! [[Property:date|Date of inscription]]: | ! [[Property:date|Date of inscription]]: | ||
| [[date::{{#var: date }}]][[sortdate::{{#var: sortdate }}| ]] | | {{#ifeq: {{#var: date }}|||[[date::{{#var: date }}]][[sortdate::{{#var: sortdate }}| ]] {{#var: from_object }} }} | ||
|- | |- | ||
! [[Property:date_derivation|Date derived from]]: | ! [[Property:date_derivation|Date derived from]]: |
Revision as of 20:12, 8 March 2014
This template serves to display pages about inscriptions. These are best created or edited with the Form:inscription.
See the Category:Inscription for a list of all 389 inscription pages.