Template:Location: Difference between revisions

From Seven Sages of Rome
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
<noinclude>
<noinclude>
</noinclude>
</noinclude>
<includeonly>
<includeonly>{{#if:{{{Has Coordinates|}}}|{{#display_map:{{{Has Coordinates}}}|zoom=6|service = leaflet}}|}}
<div class="row">
{| class=wikitable border=1
<div class="col">
!colspan=2 style="text-align:left"|Location
{{#if:{{{Has Coordinates|}}}|{{#display_map:{{{Has Coordinates}}}|zoom=6|service = leaflet}}|}}
|-
 
{{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}}
|-
|}
=== {{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 28:
  |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>

Revision as of 11:06, 7 June 2024