Template:Location: Difference between revisions

From Seven Sages of Rome
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 21: Line 21:
</div>
</div>
</div>
</div>
<tabber>
 
|-|{{PAGENAME}} is the location of the following manuscripts=
{{#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}}|}}
{{#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}}
{{#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 ===
{{#if:{{#ask:[[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]]}}|{{#set:Is Manuscript Place Of Production=True}}|}}
{{#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}}
{{#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=
=== {{PAGENAME}} is the printing location of the following prints ===
{{#if:{{#ask:[[Category:Print]][[Has Place Of Printing::{{PAGENAME}}]]}}|{{#set:Is Printing Location=True}}|}}
{{#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 manuscripts found}}
{{#ask:[[Category:Print]][[Has Place Of Printing::{{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 ===
{{#if:{{#ask:[[Category:Version]][[Has Place Of Text Composition::{{PAGENAME}}]]}}|{{#set:Is Place Of Text Composition Of Version=True}}|}}
{{#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}}
{{#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}}=
=== The following places are located in {{PAGENAME}} ===
{{#ask:
{{#ask:
  [[Category:Location]]
  [[Category:Location]]
Line 42: Line 43:
  |limit=5000
  |limit=5000
}}
}}
</tabber>
{{#if:{{{Has Note|}}}|<h2>Note</h2>{{{Has Note|}}}|}}
[[Category:Location]]{{#switch: {{{Has Location Type|}}} | Country = [[Category:Country]] | City = [[Category:City]] }}__NOTOC__</includeonly>
[[Category:Location]]{{#switch: {{{Has Location Type|}}} | Country = [[Category:Country]] | City = [[Category:City]] }}__NOTOC__</includeonly>

Revision as of 14:50, 30 October 2024