Template:inscription: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
Line 7: Line 7:
[[Category:Page Module]]
[[Category:Page Module]]


</noinclude><includeonly>{{#vardefine: disambiguation | {{#arraymap:{{{disambiguation|}}}|,|x|[[disambiguation::x]]}} }}{{#vardefine: own |0}}{{#vardefine: date | {{{date|}}} }}{{#ifeq: {{#var: date }}|| {{#vardefine: own |1}}{{#vardefine: date | {{#show:{{{object}}}|?date}} }} }}{{#vardefine: minus |}}{{#vardefine: sortdate | {{{sortdate|}}}}}{{#ifeq: {{#var: sortdate}}||{{#vardefine: sortdate | {{#show:{{{object}}}|?sortdate}}}}}}{{#vardefine: sortdate | {{#replace: {{#var: sortdate}}|<nowiki> </nowiki>|}} }}{{#vardefine: sortdate | {{#replace: {{#var: sortdate}}|&nbsp;|}} }}{{#vardefine: i | {{#pos:{{#var: sortdate }}|BC}} }}{{#ifeq: {{#var: i}} | | | {{#vardefine: sortdate | {{#sub:{{#var: sortdate}}|0|{{#var: i}}}}}}{{#vardefine: minus |-}} }}{{#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]]}} }}
</noinclude><includeonly>{{#vardefine: disambiguation | {{#arraymap:{{{disambiguation|}}}|,|x|[[disambiguation::x]]}} }}{{#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]]}} }}
{{#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}}
*[[Property:sortform|Sortform]]: {{#var: sortform}}{{#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" width={{var|image_width}}
! style="background:#e0e0e0; padding:0 5px;" | [[:Category:Inscription|Inscription]]
|-
{{#if: {{{name|}}} | ! [[Property:name|Proper name]]:
{{#if: {{{name|}}} | ! [[Property:name|Proper name]]:
{{!}} {{#arraymap:{{{name|}}}|,|x|[[name::x]]}}
{{!}} {{#arraymap:{{{name|}}}|,|x|[[name::x]]}}
Line 28: Line 29:
----
----
|-
|-
! [[Property:object|Object]]:
! [[:Category:Object|Object]]:
| [[object::{{{object|}}}]] {{#ifeq: {{{object|}}}|unknown||({{#show: {{{object|}}} | ?type_object }})[[coordinate::{{#show:{{{object}}}|?coordinate_n}} N, {{#show:{{{object}}}|?coordinate_e}} E| ]][[coordinate_n::{{#show:{{{object}}}|?coordinate_n}}| ]][[coordinate_e::{{#show:{{{object}}}|?coordinate_e}}| ]]{{#vardefine: object | {{{object|}}} }}{{#vardefine: count | {{#ask: [[Category:Inscription]][[object::{{#var: object }}]]|format=count }} }}{{#ifexpr: {{#var: count }} > 1 | <br>(Inscriptions: {{#ask: [[Category:Inscription]][[object::{{#var: object }}]]|format=list }}) }} }}
| [[object::{{{object|}}}]] {{#ifeq: {{{object|}}}|unknown||({{#show: {{{object|}}} | ?type_object }})[[coordinate::{{#show:{{{object}}}|?coordinate_n}} N, {{#show:{{{object}}}|?coordinate_e}} E| ]][[coordinate_n::{{#show:{{{object}}}|?coordinate_n}}| ]][[coordinate_e::{{#show:{{{object}}}|?coordinate_e}}| ]]{{#vardefine: object | {{{object|}}} }}{{#vardefine: count | {{#ask: [[Category:Inscription]][[object::{{#var: object }}]]|format=count }} }}{{#ifexpr: {{#var: count }} > 1 | <br>(Inscriptions: {{#ask: [[Category:Inscription]][[object::{{#var: object }}]]|format=list }}) }} }}
|-
|-
Line 40: Line 41:
{{!}} {{#ifeq: {{{frame_left|}}} | unknown |?| {{#ifeq: {{{frame_left|}}} | none || {{#ifeq: {{{frame_left|}}} ||| [[Image:Frame_left_{{{frame_left|}}}.png|x18px|link=Property:frame_left|{{{frame_left|}}}]] }} }} }}{{#ifeq: {{{frame_middle|}}} | unknown |?| {{#ifeq: {{{frame_middle|}}} | none || {{#ifeq: {{{frame_middle|}}} ||| [[Image:Frame_middle_{{{frame_middle|}}}.png|x18px|link=Property:frame_middle|{{{frame_middle|}}}]][[Image:Frame_middle_{{{frame_middle|}}}.png|x18px|link=Property:frame_middle|{{{frame_middle|}}}]] }} }} }}{{#ifeq: {{{frame_right|}}} | unknown |?| {{#ifeq: {{{frame_right|}}} | none || {{#ifeq: {{{frame_right|}}} ||| [[Image:Frame_right_{{{frame_right|}}}.png|x18px|link=Property:frame_right|{{{frame_right|}}}]] }} }} }} &nbsp;([[Property:frame_left|left]]: [[frame_left::{{{frame_left|}}}]], [[Property:frame_middle|middle]]: [[frame_middle::{{{frame_middle|}}}]], [[Property:frame_right|right]]: [[frame_right::{{{frame_right|}}}]])
{{!}} {{#ifeq: {{{frame_left|}}} | unknown |?| {{#ifeq: {{{frame_left|}}} | none || {{#ifeq: {{{frame_left|}}} ||| [[Image:Frame_left_{{{frame_left|}}}.png|x18px|link=Property:frame_left|{{{frame_left|}}}]] }} }} }}{{#ifeq: {{{frame_middle|}}} | unknown |?| {{#ifeq: {{{frame_middle|}}} | none || {{#ifeq: {{{frame_middle|}}} ||| [[Image:Frame_middle_{{{frame_middle|}}}.png|x18px|link=Property:frame_middle|{{{frame_middle|}}}]][[Image:Frame_middle_{{{frame_middle|}}}.png|x18px|link=Property:frame_middle|{{{frame_middle|}}}]] }} }} }}{{#ifeq: {{{frame_right|}}} | unknown |?| {{#ifeq: {{{frame_right|}}} | none || {{#ifeq: {{{frame_right|}}} ||| [[Image:Frame_right_{{{frame_right|}}}.png|x18px|link=Property:frame_right|{{{frame_right|}}}]] }} }} }} &nbsp;([[Property:frame_left|left]]: [[frame_left::{{{frame_left|}}}]], [[Property:frame_middle|middle]]: [[frame_middle::{{{frame_middle|}}}]], [[Property:frame_right|right]]: [[frame_right::{{{frame_right|}}}]])
{{!}}- | }}
{{!}}- | }}
! [[Property:direction|Direction of Writing]]:
! [[Property:direction|Direction of writing]]:
| [[direction::{{{direction|}}}]]
| [[direction::{{{direction|}}}]]
|-
|-
Line 46: Line 47:
| [[script::{{{script|}}}]]
| [[script::{{{script|}}}]]
|-
|-
{{#ifeq: {{{letter_height_min|}}} |0|| ! [[Property:letter_height_min|Letter Height]]:
{{#ifeq: {{{letter_height_min|}}} |0|| ! [[Property:letter_height_min|Letter height]]:
{{!}} [[letter_height_min::{{{letter_height_min|}}}]] {{#if:{{{letter_height_max|}}}|- [[letter_height_max::{{{letter_height_max|}}}]]|[[letter_height_max::{{{letter_height_min|}}}| ]]}}
{{!}} [[letter_height_min::{{{letter_height_min|}}}]] {{#if:{{{letter_height_max|}}}|- [[letter_height_max::{{{letter_height_max|}}}]]|[[letter_height_max::{{{letter_height_min|}}}| ]]}}
{{!}}- }}
{{!}}- }}
! [[Property:letter_number_min|Number of Letters]]:
! [[Property:letter_number_min|Number of letters]]:
| [[letter_number_min::{{{letter_number_min|}}}]] {{#if:{{{letter_number_max|}}}|- [[letter_number_max::{{{letter_number_max|}}}]] | }}
| [[letter_number_min::{{{letter_number_min|}}}]] {{#if:{{{letter_number_max|}}}|- [[letter_number_max::{{{letter_number_max|}}}]] | }}
|-
|-
{{#ifeq: {{{word_number|}}} |0|| ! [[Property:word_number|Number of Words]]:
{{#ifeq: {{{word_number|}}} |0|| ! [[Property:word_number|Number of words]]:
{{!}} [[word_number::{{{word_number|}}}]]
{{!}} [[word_number::{{{word_number|}}}]]
{{!}}- }}
{{!}}- }}
{{#ifeq: {{{line_number|}}} |0|| ! [[Property:line_number|Number of Lines]]:
{{#ifeq: {{{line_number|}}} |0|| ! [[Property:line_number|Number of lines]]:
{{!}} [[line_number::{{{line_number|}}}]]
{{!}} [[line_number::{{{line_number|}}}]]
{{!}}- }}
{{!}}- }}
Line 67: Line 68:
----
----
|-  
|-  
! [[Property:culture_archaeological‎‎|Archaeological Culture]]:
! [[Property:culture_archaeological‎‎|Archaeological culture]]:
| {{#arraymap:{{{culture_archaeological|}}}|,|x|[[culture_archaeological‎::x]]}}{{#ifeq: {{{culture_archaeological|}}}|| {{#arraymap:{{#show:{{{object}}}|?culture_archaeological}}|,|x|[[culture_archaeological‎::x]]}} {{#ifeq: {{#show:{{{object}}}|?culture_archaeological}}|||[from object]}}}}
| {{#ifeq: {{{culture_archaeological|}}}||{{#arraymap: {{#show:{{{object|}}}|?culture_archaeological}}|,|x|[[culture_archaeological‎::x]]}} [from object]|{{#arraymap:{{{culture_archaeological|}}}|,|x|[[culture_archaeological‎::x]]}} }}
|-
|-
! [[Property:date|Date of Inscription]]:
! [[Property:date|Date of inscription]]:
| [[date::{{#var: date }}]] {{#ifeq: {{#var: own }}|1|{{#ifeq: {{#show:{{{object}}}|?date}}|||[from object]}}}}[[sortdate::{{#var: minus}}{{#var: sortdate}}| ]]
| {{#ifeq: {{{date|}}}||[[date::{{#show:{{{object|}}}|?date}}]] [from object]|[[date::{{{date|}}}]]}}{{#ifeq: {{{sortdate|}}}||[[sortdate::{{#show:{{{object|}}}|?sortdate}}| ]]]|[[sortdate::{{{sortdate|}}}| ]]}}
|-
|-
! [[Property:date_derivation‎|Date derived from]]:
! [[Property:date_derivation‎|Date derived from]]:
| {{#arraymap:{{{date_derivation‎|}}}|,|x|[[date_derivation‎::x]]}}{{#ifeq: {{{date_derivation‎|}}}|| {{#arraymap:{{#show:{{{object}}}|?date_derivation‎}}|,|x|[[date_derivation‎::x]]}} {{#ifeq: {{#show:{{{object}}}|?date_derivation‎}}|||[from object]}}}}
| {{#ifeq: {{{date_derivation|}}}||{{#arraymap: {{#show:{{{object|}}}|?date_derivation}}|,|x|[[date_derivation‎::x]]}} [from object]|{{#arraymap:{{{date_derivation|}}}|,|x|[[date_derivation‎::x]]}} }}
|-
|-
! colspan="2" |  
! colspan="2" |  
Line 83: Line 84:
|-
|-
! [[Property:language|Language]]:
! [[Property:language|Language]]:
| {{#ifeq: {{{linguistic_ascription|}}}|||[[Property:linguistic_ascription|{{{linguistic_ascription|}}}]]&nbsp;}}[[linguistic_ascription::{{{linguistic_ascription|}}}| ]]{{#arraymap:{{{language|}}}|,|x|[[language::x]]}}
| {{#arraymap:{{{language|}}}|,|x|[[language::x]]}}
|-
|-
! [[Property:meaning|Meaning]]:
! [[Property:meaning|Meaning]]:
Line 91: Line 92:
----
----
|-
|-
! Alternative Sigla:
! 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}}| ]]
|-
|-

Revision as of 23:41, 30 August 2013

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.