Template:site: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
No edit summary
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
[[description::This template serves to display pages about '''archaeological sites''' where Lepontic and other inscriptions have been found.]]
[[description::This template serves to display pages about '''archaeological sites''' where Raetic and other inscriptions have been found.]]
These are best created or edited with the [[Form:site]].
These are best created or edited with the [[Form:site]].
See [[:Category:Site]] for a list of all {{#ask:[[Category:Site]]|format=count}} site pages.
 
See the [[:Category:Site]] for a list of all {{#ask:[[Category:Site]]|format=count}} site pages.


[[Category:Page Module]]
[[Category:Page Module]]


</noinclude><includeonly>[[checklevel::{{{checklevel|}}}| ]]{{#vardefine: checklevel | {{{checklevel|}}} }}{{#ifeq: {{#var: checklevel }} || {{#vardefine: checklevel | 0 }} }}{{#vardefine: problem | {{#arraymap:{{{problem|}}}|,|x|[[problem::x]]}} }}
</noinclude><includeonly>{{#vardefine: sortform | {{{sortform|}}} }}{{#ifeq: {{#var:sortform}}|| {{#vardefine: sortform | {{FULLPAGENAME}} }} }}[[sortform::{{#var:sortform}}| ]][[checklevel::{{{checklevel|}}}| ]]{{#vardefine: checklevel | {{{checklevel|}}} }}{{#ifeq: {{#var: checklevel }} || {{#vardefine: checklevel | 0 }} }}{{#arraymap:{{{problem|}}}|,|x|[[problem::x| ]]}}
<div class="formedit">[[Special:EditData/site/{{FULLPAGENAME}}|edit with form]]</div>
<div class="formedit">[[Special:EditData/site/{{FULLPAGENAME}}|edit with form]]</div>
{{#ifexpr: {{#var: checklevel }} > 0.1 | <div class="cshow">[[Lexicon_Leponticum:Checklist|Checklevel]]: {{#var: checklevel }}<br>Problems: {{#var: problem }}</div> | }}
{| class="table_data" width=100%
{| class="table_data"
! colspan="2" class="field_category" | [[:Category:Site|Site]]
{{#if: {{{postal_code|}}} | ! [[Property:postal_code|Postal Code]]: |}}
| {{{postal_code|}}}
|-
{{#if: {{{name_alt|}}} | ! [[Property:name_alt|Alternative Names]]: | }}
| {{{name_alt|}}}
|-
|-
{{#if: {{{name_alt|}}} | ! Alternative names:
{{!}} {{{name_alt|}}}
{{!}}- | }}
{{#if: {{{community|}}} | ! [[Property:community|Community]]:  
{{#if: {{{community|}}} | ! [[Property:community|Community]]:  
{{!}} [[community::{{{community|}}}| ]] {{#ifexist: {{{community}}} | [[{{{community}}}]] | {{{community}}} }} | }}
{{!}} [[community::{{{community|}}}| ]] {{#ifexist: {{{community}}} | [[{{{community}}}]] | {{{community}}} }}
|-
{{!}}- | }}
! {{#ifeq: {{#show:{{FULLPAGENAME}}|?country}} | Switzerland | [[Property:province|Canton]]: | {{#ifeq: {{#show:{{FULLPAGENAME}}|?country}} | Germany | [[Property:province|State]]: | {{#ifeq: {{#show:{{FULLPAGENAME}}|?country}} | France | [[Property:province|Department]]: | [[Property:province|Province]]: }} }} }}
! width="100" | {{#ifeq: {{#show:{{FULLPAGENAME}}|?country}} | Switzerland | [[Property:province|Canton]]: | {{#ifeq: {{#show:{{FULLPAGENAME}}|?country}} | Germany | [[Property:province|State]]: | {{#ifeq: {{#show:{{FULLPAGENAME}}|?country}} | France | [[Property:province|Department]]: | [[Property:province|Province]]: }} }} }}
| [[province::{{{province|}}}]]
| [[province::{{{province|}}}]]
|-
|-
Line 29: Line 28:
|-
|-
! [[Property:coordinate|Coordinates]]:
! [[Property:coordinate|Coordinates]]:
| {{#if: {{{coordinate_n|}}} | [http://stable.toolserver.org/geohack/geohack.php?language=en&params={{{coordinate_n}}}_N_{{{coordinate_e}}}_E [[coordinate::{{{coordinate_n}}} N, {{{coordinate_e}}} E]]] | }}[[coordinate_n::{{{coordinate_n|}}}| ]][[coordinate_e::{{{coordinate_e|}}}| ]]
| {{#if: {{{coordinate_n|}}} |{{coord|{{{coordinate_n|}}}|{{{coordinate_e|}}}|{{PAGENAME}} }}| }}
|-
! [[Property:website|Website]]:
| {{#if: {{{website|}}} | {{{website|}}} <br> |}}{{#ifeq: {{{country|}}}|Italy|[http://it.wikipedia.org/w/index.php?search={{urlencode:{{FULLPAGENAME}}}} search for "{{FULLPAGENAME}}" on it.wikipedia.org]|[http://en.wikipedia.org/w/index.php?search={{urlencode:{{FULLPAGENAME}}}} search for "{{FULLPAGENAME}}" on en.wikipedia.org]}}
|-
|-
! colspan="2" |  
! colspan="2" |  
----
----
|-
|-
{{#if: {{{name_ancient|}}} | ! [[Property:name_ancient|Ancient Name]]: | }}
! [[:Category:Object|Objects]]:
| {{{name_ancient|}}}
| {{#ask:[[site::{{FULLPAGENAME}}]][[Category:Object]]|?material=|sort=sortform|format=list}}
|-
|-
{{#if: {{{group_ethnic|}}} | ! [[Property:group_ethnic|Ethnic Group]]: | }}
{{#ifeq: {{#ask:[[Category:Museum]][[site::{{FULLPAGENAME}}]]|format=count}} |0|| ! [[:Category:Museum|Museums]]:
| {{{group_ethnic|}}}
{{!}} {{#ask:[[Category:Museum]][[site::{{FULLPAGENAME}}]]|format=list}}
|-
{{!}}- }}
! [[:Category:Object|Objects]]:
{{#ifeq: {{#ask:[[Category:Site]][[community::{{FULLPAGENAME}}]]|format=count}} |0|| ! [[:Category:Site|Incorporated sites]]:
| {{#ask:[[site::{{FULLPAGENAME}}]][[Category:Object]]|?type_object=|sort=sortform|format=list}}
{{!}} {{#ask:[[Category:Site]][[community::{{FULLPAGENAME}}]]|format=list}}
{{#ifeq: {{#ask:[[Category:Museum]][[town::{{FULLPAGENAME}}]]|format=count}} | 0 | |  
{{!}}- }}
{{!}}-
{{#ifeq: {{#ask:[[Category:Field name]][[site::{{FULLPAGENAME}}]]|format=count}} |0|| ! [[:Category:Field name|Field names]]:
! [[:Category:Museum|Museums]]:
{{!}} {{#ask:[[Category:Field name]][[site::{{FULLPAGENAME}}]]|format=list}} }}
{{!}} {{#ask:[[Category:Museum]][[town::{{FULLPAGENAME}}]]|format=list}} }}
{{#ifeq: {{#ask:[[Category:Site]][[community::{{FULLPAGENAME}}]]|format=count}} | 0 | |  
{{!}}-
! [[:Category:Site|Incorporated Sites]]:
{{!}} {{#ask:[[Category:Site]][[community::{{FULLPAGENAME}}]]|format=list}} }}
|}
|}
{{#display_point: {{#show: {{FULLPAGENAME}} | ?coordinate_n }}, {{#show: {{FULLPAGENAME}} | ?coordinate_e }}|zoom=8|width={{var|image_width}}|height={{var|image_height}}|types=physical,satellite,normal|type=physical}}
== Map ==
{{#display_point: {{{coordinate_n|}}}, {{{coordinate_e|}}}|zoom=8|width={{var|image_width}}|height={{var|image_height}}|types=physical,satellite,normal|type=physical}}


{{gallery}} [[Category:Site]][[sortform::{{FULLPAGENAME}}| ]]
{{gallery}}[[Category:Site|{{#var:sortform}}]]{{#if: {{{sigla|}}}|[[sigla_group::{{{sigla|}}}| ]]}}
</includeonly>
</includeonly>

Latest revision as of 23:36, 30 November 2015

This template serves to display pages about archaeological sites where Raetic and other inscriptions have been found. These are best created or edited with the Form:site.

See the Category:Site for a list of all 82 site pages.