Template:Location: Difference between revisions
From The Seven Sages of Rome
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#invoke:Breadcrumb|breadcrumb|CategoryLink=Locations|CategoryName=Location|PAGENAME={{PAGENAME}}}}{{#if:{{{Has Display Title|}}}|{{DISPLAYTITLE:{{{Has Display Title|}}}}}|}} | <includeonly><div class="noexcerpt">{{#invoke:Breadcrumb|breadcrumb|CategoryLink=Locations|CategoryName=Location|PAGENAME={{PAGENAME}}}}{{#if:{{{Has Display Title|}}}|{{DISPLAYTITLE:{{{Has Display Title|}}}}}|}} | ||
{{#if:{{{Has Coordinates|}}}|{{#if:{{{Has GeoJson|}}}|{{#display_map:{{{Has Coordinates}}}|center={{{Has Coordinates}}}|geojson={{{Has GeoJson|}}}|zoom=6|service=leaflet|height=250px}}|{{#display_map:{{{Has Coordinates}}}|zoom=6|service=leaflet|height=250px}}}}|{{#if:{{{Has GeoJson|}}}|{{#display_map:geojson={{{Has GeoJson|}}}|zoom=6|service=leaflet|height=250px}}|}}}} | {{#if:{{{Has Coordinates|}}}|{{#if:{{{Has GeoJson|}}}|{{#display_map:{{{Has Coordinates}}}|center={{{Has Coordinates}}}|geojson={{{Has GeoJson|}}}|zoom=6|service=leaflet|height=250px}}|{{#display_map:{{{Has Coordinates}}}|zoom=6|service=leaflet|height=250px}}}}|{{#if:{{{Has GeoJson|}}}|{{#display_map:geojson={{{Has GeoJson|}}}|zoom=6|service=leaflet|height=250px}}|}}}} | ||
<div class="container-fluid"> | |||
<div class="row"> | |||
<!-- Left Column --> | |||
<div class="col-md-6"> | |||
{| class=wikitable border=1 | {| class=wikitable border=1 | ||
|- | |||
! colspan="2" | Metadata | |||
|- | |- | ||
{{TableAttribute|type=text|display_name=Coordinates|value={{{Has Coordinates|}}}|property=Has Coordinates}} | {{TableAttribute|type=text|display_name=Coordinates|value={{{Has Coordinates|}}}|property=Has Coordinates}} | ||
Line 12: | Line 18: | ||
|- | |- | ||
|} | |} | ||
{| class="wikitable w-100 mb-4" | |||
|- | |||
= | ! colspan="2" | The following places are located in {{PAGENAME}} | ||
|- | |||
{ | |{{#ask: | ||
[[Category:Location]] | |||
{{ | |format=tree | ||
{ | |root={{PAGENAME}} | ||
= | |parent=Is Located In | ||
{{#if:{{#ask:[[Category: | |limit=5000 | ||
{{#ask:[[Category: | }} | ||
== | |} | ||
{{#ask: | {| class="wikitable w-100 mb-4" | ||
|- | |||
! colspan="2" | Note | |||
|- | |||
|{{{Has Note|}}} | |||
|} | |||
{| class="wikitable w-100 mb-4" | |||
|- | |||
! colspan="2" | {{PAGENAME}} is the location of the following manuscripts | |||
|- | |||
|{{#if:{{#ask:[[Category:Manuscript]][[Has Location::{{PAGENAME}}]]}}|{{#set:Is Manuscript Location=True}}|{{#set:Is Manuscript Location=False}}}}{{#ask:[[Category:Manuscript]][[Has Location::{{PAGENAME}}]]|?Has Standardised Title Of Narrative=Title of text|?Has Language=Language|default=No manuscripts found}} | |||
|} | |||
{| class="wikitable w-100 mb-4" | |||
|- | |||
! colspan="2" | Copies of the following prints are stored in {{PAGENAME}} | |||
|- | |||
|{{#ask: | |||
[[Has Library::{{FULLPAGENAME}}]] | [[Has Library::{{FULLPAGENAME}}]] | ||
|?-Has subobject=Print | |?-Has subobject=Print | ||
Line 32: | Line 54: | ||
|default=No print copies are stored at this location | |default=No print copies are stored at this location | ||
}} | }} | ||
=== {{PAGENAME}} is the place of | |} | ||
{{#if:{{#ask:[[Category: | </div> | ||
{{#ask:[[Category: | <!-- Right Column --> | ||
== | <div class="col-md-6"> | ||
{{#ask: | {| class="wikitable w-100 mb-4" | ||
|- | |||
! colspan="2" | {{PAGENAME}} is the place of production of the following manuscripts | |||
|- | |||
|{{#if:{{#ask:[[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]]}}|{{#set:Is Manuscript Place Of Production=True}}|{{#set:Is Manuscript Place Of Production=False}}}}{{#ask:[[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]]|?Has Reference Number=Reference Number|default=No manuscripts found}} | |||
|} | |||
} | {| class="wikitable w-100 mb-4" | ||
[[Category:Location]]{{#set:Is Entity Type=Location}}{{#switch: {{{Has Location Type|}}} | Country = [[Category:Country]] | City = [[Category:City]] }}__NOTOC__</includeonly> | |- | ||
! colspan="2" | {{PAGENAME}} is the printing location of the following prints | |||
|- | |||
|{{#if:{{#ask:[[Category:Print]][[Has Place Of Printing::{{PAGENAME}}]]}}|{{#set:Is Printing Location=True}}|{{#set:Is Printing Location=False}}}}{{#ask:[[Category:Print]][[Has Place Of Printing::{{PAGENAME}}]]|?Has Reference Number=Reference Number|default=No prints found}} | |||
|} | |||
{| class="wikitable w-100 mb-4" | |||
|- | |||
! colspan="2" | {{PAGENAME}} is the place of text composition of the following versions | |||
|- | |||
|{{#if:{{#ask:[[Category:Version]][[Has Place Of Text Composition::{{PAGENAME}}]]}}|{{#set:Is Place Of Text Composition Of Version=True}}|{{#set:Is Place Of Text Composition Of Version=False}}}}{{#ask:[[Category:Version]][[Has Place Of Text Composition::{{PAGENAME}}]]|?Has Reference Number=Reference Number|default=No versions found}} | |||
|} | |||
</div> | |||
</div> | |||
</div><div>[[Category:Location]]{{#set:Is Entity Type=Location}}{{#switch: {{{Has Location Type|}}} | Country = [[Category:Country]] | City = [[Category:City]] }}__NOTOC__</div></div></includeonly> |
Revision as of 18:02, 23 March 2025