Template:Location: Difference between revisions

From Seven Sages of Rome
No edit summary
Tag: Reverted
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<div class="row">
{{#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}}|}}}}
<div class="col">
{| class=wikitable border=1
{{#if:{{{Has Coordinates|}}}|{{#display_map:{{{Has Coordinates}}}|zoom=6|service = leaflet}}|}}
!colspan=2 style="text-align:left"|Location
 
|-
{{TableAttribute|type=attr|display_name=Coordinates|value={{{Has Coordinates|}}}|property=Has Coordinates}}
|-
{{TableAttribute|type=attr|display_name=Type|value={{{Has Location Type|}}}|property=Has Location Type}}
|-
{{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]][[Has Location::{{PAGENAME}}]]|?Has Standardised Title Of Narrative=Title of text|?Has Language=Language|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}}
Line 20: Line 30:
  |limit=5000
  |limit=5000
}}
}}
</div>
<div class="col">
{| class=wikitable border=1
!colspan=2 style="text-align:left"|Location
|-
{{TableAttribute|type=attr|display_name=Coordinates|value={{{Has Coordinates|}}}|property=Has Coordinates}}
|-
{{TableAttribute|type=attr|display_name=Type|value={{{Has Location Type|}}}|property=Has Location Type}}
|-
{{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}}
|-
|}
</div>
</div>
[[Category:Location]]{{#switch: {{{Has Location Type|}}} | Country = [[Category:Country]] | City = [[Category:City]] }}</includeonly>
[[Category:Location]]{{#switch: {{{Has Location Type|}}} | Country = [[Category:Country]] | City = [[Category:City]] }}</includeonly>

Latest revision as of 10:23, 20 August 2024