Template:Location: Difference between revisions
From Seven Sages of Rome
(Created page with "<noinclude> </noinclude> <includeonly> {| class=wikitable border=1 !colspan=2 style="text-align:left"|Location |- |}") |
No edit summary |
||
(62 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<div class="row"> | |||
<div class="col-6"> | |||
{| class=wikitable border=1 | {| class=wikitable border=1 | ||
!colspan=2 style="text-align:left"|Location | !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 class="col-6"> | |||
{{#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}}|{{#display_map:{{{Has Coordinates}}}|zoom=6|service = leaflet}}}}|{{#if:{{{Has GeoJson|}}}|{{#display_map:geojson={{{Has GeoJson|}}}|zoom=6|service = leaflet}}|}}}} | |||
</div> | |||
</div> | |||
{{#if:{{{Has Note|}}}|<h2>Note</h2>{{{Has Note|}}}|}} | |||
=== {{PAGENAME}} is the location of the following manuscripts === | |||
{{#if:{{#ask:[[Category:Manuscript]][[Has Location::{{PAGENAME}}]]}}|{{#set:Is Manuscript Location=True}}|}} | |||
{{#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 === | |||
{{#if:{{#ask:[[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]]}}|{{#set:Is Manuscript Place Of Production=True}}|}} | |||
{{#ask:[[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]]|?Has Reference Number=Reference Number|default=No manuscripts found}} | |||
=== {{PAGENAME}} is the printing location of the following prints === | |||
{{#if:{{#ask:[[Category:Print]][[Has Place Of Printing::{{PAGENAME}}]]}}|{{#set:Is Printing Location=True}}|}} | |||
{{#ask:[[Category:Print]][[Has Place Of Printing::{{PAGENAME}}]]|?Has Reference Number=Reference Number|default=No prints found}} | |||
=== Copies of the following prints are stored in {{PAGENAME}} === | |||
{{#ask: | |||
[[Has Library::{{FULLPAGENAME}}]] | |||
|?-Has subobject=Print | |||
|?Has Shelfmark=Shelfmark | |||
|?Has Note=Note | |||
|mainlabel=- | |||
|sort=Has Shelfmark | |||
|default=No print copies are stored at this location | |||
}} | |||
=== {{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}}|}} | |||
{{#ask:[[Category:Version]][[Has Place Of Text Composition::{{PAGENAME}}]]|?Has Reference Number=Reference Number|default=No versions found}} | |||
=== 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]] }}__NOTOC__</includeonly> |
Latest revision as of 19:44, 13 November 2024