Template:Location: Difference between revisions
From The Seven Sages of Rome
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
</noinclude> | </noinclude> | ||
<includeonly><div class="noexcerpt"> | <includeonly><div class="noexcerpt"> | ||
<div | <div> | ||
{{#invoke:Breadcrumb|breadcrumb|CategoryLink=Locations|CategoryName=Location|PAGENAME={{PAGENAME}}}}{{#if:{{{Has Display Title|}}}|{{DISPLAYTITLE:{{{Has Display Title|}}}}}|}} | {{#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}}|}}}} | ||
Line 21: | Line 21: | ||
{| class="wikitable w-100 mb-4" | {| class="wikitable w-100 mb-4" | ||
|- | |- | ||
! colspan="2" | | ! colspan="2" | {{PAGENAME}} is part of the following geographical cluster | ||
|- | |- | ||
|{{#ask: | |{{#ask: | ||
[[Category:Location]] | [[Category:Location]] | ||
|format=tree | |format=tree | ||
|parent=Is Located In | |parent=Is Located In | ||
|root={{#invoke:RootFinder|search|{{PAGENAME}}|Is Located In}} | |||
|limit=5000 | |limit=5000 | ||
}} | }} | ||
|} | |} | ||
{| | {{#if:{{{Has Note|}}}|{{NoteCard|Note={{{Has Note}}}}}|}} | ||
| | |||
|} | |||
{| class="wikitable w-100 mb-4" | {| class="wikitable w-100 mb-4" | ||
|- | |- | ||
Line 53: | Line 48: | ||
|?Has Note=Note | |?Has Note=Note | ||
|mainlabel=- | |mainlabel=- | ||
|format=datatable | |||
|default=No print copies are stored at this location | |default=No print copies are stored at this location | ||
}} | }} | ||
Line 63: | Line 59: | ||
! colspan="2" | {{PAGENAME}} is the place of production of the following manuscripts | ! 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}} | |{{#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|format=datatable|default=No manuscripts found}} | ||
|} | |} | ||
{| class="wikitable w-100 mb-4" | {| class="wikitable w-100 mb-4" | ||
Line 69: | Line 65: | ||
! colspan="2" | {{PAGENAME}} is the printing location of the following prints | ! 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}} | |{{#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|format=datatable|default=No prints found}} | ||
|} | |} | ||
{| class="wikitable w-100 mb-4" | {| class="wikitable w-100 mb-4" | ||
Line 75: | Line 71: | ||
! colspan="2" | {{PAGENAME}} is the place of text composition of the following versions | ! 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}} | |{{#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|format=datatable|default=No versions found}} | ||
|} | |} | ||
</div> | </div> | ||
</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> | </div><div>[[Category:Location]]{{#set:Is Entity Type=Location}}{{#switch: {{{Has Location Type|}}} | Country = [[Category:Country]] | City = [[Category:City]] }}__NOTOC__</div></div></includeonly> |
Latest revision as of 08:21, 27 March 2025