Template:Location: Difference between revisions

From Seven Sages of Rome
No edit summary
No edit summary
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
</noinclude>
</noinclude>
<includeonly>{{#if:{{{Has Coordinates|}}}|{{#display_map:{{{Has Coordinates}}}|zoom=6|service = leaflet}}|}}
<includeonly>
{{#if:{{{Has Coordinates|}}}|{{#if:{{{Has GeoJson|}}}|{{#display_map:{{{Has Coordinates}}}|center={{{Has Coordinates}}}|geojson={{{Has GeoJson|}}}|zoom=6|service = leaflet}}|{{#display_map:{{{Has Coordinates}}}|zoom=6|service = leaflet}}}}|{{#if:{{{Has GeoJson|}}}|{{#display_map:geojson={{{Has GeoJson|}}}|zoom=6|service = leaflet}}|}}}}
{| class=wikitable border=1
{| class=wikitable border=1
!colspan=2 style="text-align:left"|Location
!colspan=2 style="text-align:left"|Location
|-
|-
{{TableAttribute|attr|Coordinates|{{{Has Coordinates|}}}|Has Coordinates}}
{{TableAttribute|type=attr|display_name=Coordinates|value={{{Has Coordinates|}}}|property=Has Coordinates}}
|-
|-
{{TableAttribute|attr|Type|{{{Has Location Type|}}}|Has Location Type}}
{{TableAttribute|type=attr|display_name=Type|value={{{Has Location Type|}}}|property=Has Location Type}}
|-
|-
{{TableAttribute|attr|General Notes (Internal)|{{{Has Internal Notes|}}}|Has Internal Notes}}
{{TableAttribute|type=attr|display_name=Located in|value={{{Is Located In|}}}|property=Is Located In|form=Location}}
|-
{{TableAttribute|type=attr|display_name=General Notes (Internal)|value={{{Has Internal Notes|}}}|property=Has Internal Notes}}
|-
|-
|}
|}
{{#if:{{{Has Note|}}}|<h2>Note</h2>{{{Has Note|}}}|}}
=== {{PAGENAME}} is the location of the following manuscripts ===
=== {{PAGENAME}} is the location of the following manuscripts ===
{{#ask:[[Category:Manuscript]][[Location::{{PAGENAME}}]]|?Has Reference Number=Reference Number|default=No manuscripts found}}
{{#ask:[[Category:Manuscript]][[Has Location::{{PAGENAME}}]]|?Has Standardised Title Of Narrative=Title of text|?Has Language=Language|default=No manuscripts found}}
=== {{PAGENAME}} is the place of production of the following manuscripts ===
=== {{PAGENAME}} is the place of production of the following manuscripts ===
{{#ask:[[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]]|?Has Reference Number=Reference Number|default=No manuscripts found}}
{{#ask:[[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]]|?Has Reference Number=Reference Number|default=No manuscripts found}}
=== {{PAGENAME}} is the place of text composition of the following versions ===
=== {{PAGENAME}} is the place of text composition of the following versions ===
{{#ask:[[Catgeory:Version]][[Has Place Of Text Composition::{{PAGENAME}}]]|?Has Reference Number=Reference Number|default=No versions found}}
{{#ask:[[Category:Version]][[Has Place Of Text Composition::{{PAGENAME}}]]|?Has Reference Number=Reference Number|default=No versions found}}
[[Category:Location]]</includeonly>
=== The following places are located in {{PAGENAME}} ===
{{#ask:
[[Category:Location]]
|format=tree
|root={{PAGENAME}}
|parent=Is Located In
|limit=5000
}}
[[Category:Location]]{{#switch: {{{Has Location Type|}}} | Country = [[Category:Country]] | City = [[Category:City]] }}</includeonly>

Revision as of 10:23, 20 August 2024