Template:museum: Difference between revisions

From Thesaurus Inscriptionum Raeticarum
Jump to navigationJump to search
No edit summary
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 6: Line 6:
[[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>[[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/museum/{{FULLPAGENAME}}|edit with form]]</div>
<div class="formedit">[[Special:EditData/museum/{{FULLPAGENAME}}|edit with form]]</div>
<div class="cshow">{{#ifexpr: {{#var: checklevel }} != 0 |
{| class="table_data" width=100%
*[[Property:checklevel|Checklevel]]: {{#var: checklevel }}
! colspan="2" class="field_category" | [[:Category:Museum|Museum]]
*[[Property:problem|Problems]]: {{#var: problem }}| }}{{#ifeq: {{#var: disambiguation }}|||
|-
*[[Property:disambiguation|Disambiguation pages]]: {{#var: disambiguation }} }}</div>}}
{{#if: {{{name|}}} | ! [[Property:name|Alternative names]]: | }}
{| class="table_data"
{{#if: {{{name|}}} | ! [[Property:name|Official Name]]: | }}
| {{#arraymap:{{{name|}}}|,|x|[[name::x]]}}
| {{#arraymap:{{{name|}}}|,|x|[[name::x]]}}
|-
{{#if: {{{name_alt|}}} | ! Alternative Name: | }}
| {{{name_alt|}}}
|-
{{#if: {{{name_engl|}}} | ! English Name: | }}
| {{{name_engl|}}}
|-
|-
{{#if: {{{type_museum|}}} | ! [[Property:type_museum|Type]]: | }}
{{#if: {{{type_museum|}}} | ! [[Property:type_museum|Type]]: | }}
Line 27: Line 19:
----
----
|-
|-
! Address:
! width="100" | Address:
|-
| {{#if: {{{building|}}}|{{{building|}}}<nowiki>, </nowiki>}}{{{street|}}}<br>{{{postal_code|}}} [[site::{{{town|}}}]]<br>[[province::{{{province|}}}]], {{#if: {{{region|}}}|[[region::{{{region|}}}]],}} [[country::{{{country|}}}]]
{{#if: {{{building|}}} | ! <span style="margin-left:10px;">Building:</span> | }}
| {{{building|}}}
|-
{{#if: {{{street|}}} | ! <span style="margin-left:10px;">Street:</span> | }}
| {{{street|}}}
|-
! <span style="margin-left:10px;">[[Property:site|Town]]:</span>
| [[site::{{{town|}}}]]
|-
! <span style="margin-left:10px;">[[Property:postal_code|Postal Code]]:</span>
| {{{postal_code|}}}
|-
! <span style="margin-left:10px;">{{#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]]: }} }} }} </span>
| [[province::{{{province|}}}]]
|-
{{#if: {{{region|}}} | ! <span style="margin-left:10px;">[[Property:region|Region]]:</span> |}}
| [[region::{{{region|}}}]]
|-
! <span style="margin-left:10px;">[[Property:country|Country]]:</span>
| [[country::{{{country|}}}]]
|-
{{#if: {{{website|}}} | ! Website: | }}
| {{{website|}}}
|-
|-
{{#if: {{{website|}}} | ! Website:
{{!}} {{{website|}}}
{{!}}-  | }}
! colspan="2" |  
! colspan="2" |  
----
----
|-
|-
! [[:Category:Object|Objects Hosted]]:
! [[:Category:Object|Objects hosted]]:
| {{#ask:[[location::{{FULLPAGENAME}}]][[Category:Object]]|?type_object=|format=list}}
| {{#ask:[[location::{{FULLPAGENAME}}]][[Category:Object]]|?inventory_number=|format=list|sort=sortform|limit=1000}}
|}
|}
== Map ==
== Map ==
{{#ifeq: {{{coordinate_n|}}}||{{#vardefine: coordinate | {{#geocode:{{#show:{{FULLPAGENAME}}|?town}}, {{#show:{{FULLPAGENAME}}|?country}}|format=float}} }}[[coordinate::{{#var: coordinate }}| ]]{{#vardefine: coordinate | {{#replace: {{#var: coordinate }}| E|}} }}{{#vardefine: coordinate | {{#replace: {{#var: coordinate }}| N|}} }}[[coordinate_n::{{#explode: {{#var: coordinate }}|,| 0 }}| ]][[coordinate_e::{{#explode: {{#var: coordinate }}|,| 1 }}| ]]{{#display_point:{{#show:{{FULLPAGENAME}}|?building}}, {{#show:{{FULLPAGENAME}}|?street}}, {{#show:{{FULLPAGENAME}}|?town}}, {{#show:{{FULLPAGENAME}}|?country}}~{{#show:{{FULLPAGENAME}}|?town}}~{{#show:{{FULLPAGENAME}}|?street}}
[[coordinate::{{{coordinate_n|}}}, {{{coordinate_e|}}}| ]][[coordinate_n::{{{coordinate_n|}}}| ]][[coordinate_e::{{{coordinate_e|}}}| ]]
|types=hybrid,satellite
{{#display_point: {{{coordinate_n|}}}, {{{coordinate_e|}}}|zoom=13|width={{var|image_width}}|height={{var|image_height}}|types=physical,satellite,normal|type=normal}}
|width={{var|image_width}}
|height={{var|image_height}}
|autozoom=off|zoom=13}}|[[coordinate_n::{{{coordinate_n|}}}| ]][[coordinate_e::{{{coordinate_e|}}}| ]][[coordinate::{{{coordinate_n|}}}, {{{coordinate_e|}}}| ]]{{#display_point:{{#show:{{FULLPAGENAME}}|?coordinate_n}} N, {{#show:{{FULLPAGENAME}}|?coordinate_e}} E~{{#show:{{FULLPAGENAME}}|?town}}~{{#show:{{FULLPAGENAME}}|?street}}
|types=hybrid,satellite
|width={{var|image_width}}
|height={{var|image_height}}
|autozoom=off|zoom=13}} }}


{{gallery}}
{{gallery}}
[[Category:Museum]][[sortform::{{FULLPAGENAME}}| ]]
[[Category:Museum]][[sortform::{{FULLPAGENAME}}| ]]
</includeonly>
</includeonly>

Latest revision as of 22:26, 30 November 2015

This template serves to display pages about museums and other sites where Raetic inscriptions are on display. These are best created or edited with the Form:museum.

See the Category:Museum for a list of all 32 museum pages.