Template:Location: Difference between revisions
From The Seven Sages of Rome
No edit summary |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
<div class="col-lg-6"> | <div class="col-lg-6"> | ||
{{#if:{{{Has | {{#if:{{{Has Wikidata Identifier|}}}{{{Has Location Type|}}}{{{Is Located In|}}}| | ||
<section class="cc-card"> | <section class="cc-card"> | ||
<h2 class="cc-card-heading">Metadata</h2> | <h2 class="cc-card-heading">Metadata</h2> | ||
<div class="cc-card-body"> | <div class="cc-card-body"> | ||
{{TableAttributeNew|type=text|display_name=Also known as|value={{{Has Alias|}}}|property=Has Alias}} | |||
{{TableAttributeNew|type=text|display_name=Wikidata Identifier|value={{{Has Wikidata Identifier|}}}|property=Has Wikidata Identifier}} | |||
{{TableAttributeNew|type=text|display_name=Type|value={{{Has Location Type|}}}|property=Has Location Type}} | {{TableAttributeNew|type=text|display_name=Type|value={{{Has Location Type|}}}|property=Has Location Type}} | ||
{{TableAttributeNew|type=attr|display_name=Located in|value={{{Is Located In|}}}|property=Is Located In|form=Location}} | {{TableAttributeNew|type=attr|display_name=Located in|value={{{Is Located In|}}}|property=Is Located In|form=Location}} | ||
| Line 32: | Line 34: | ||
{{#if:{{{Has Note|}}}|{{NoteCard|Note={{{Has Note}}}}}|}} | {{#if:{{{Has Note|}}}|{{NoteCard|Note={{{Has Note}}}}}|}} | ||
{{#if:{{#ask:[[Category:Manuscript]][[Has Location::{{PAGENAME}}]]}}| | |||
<section class="cc-card"> | <section class="cc-card"> | ||
<h2 class="cc-card-heading">{{PAGENAME}} is the location of the following manuscripts</h2> | <h2 class="cc-card-heading">{{PAGENAME}} is the location of the following manuscripts</h2> | ||
| Line 44: | Line 47: | ||
</div> | </div> | ||
</section> | </section> | ||
|}} | |||
{{#if:{{#if:{{#ask:[[Has Library::{{FULLPAGENAME}}]]|?-Has subobject=Print}}| | |||
<section class="cc-card"> | <section class="cc-card"> | ||
<h2 class="cc-card-heading">Copies of the following prints are stored in {{PAGENAME}}</h2> | <h2 class="cc-card-heading">Copies of the following prints are stored in {{PAGENAME}}</h2> | ||
| Line 59: | Line 64: | ||
</div> | </div> | ||
</section> | </section> | ||
|}} | |||
</div> | </div> | ||
<div class="col-lg-6"> | <div class="col-lg-6"> | ||
{{#if:{{#ask:[[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]]}}| | |||
<section class="cc-card"> | <section class="cc-card"> | ||
<h2 class="cc-card-heading">{{PAGENAME}} is the place of production of the following manuscripts</h2> | <h2 class="cc-card-heading">{{PAGENAME}} is the place of production of the following manuscripts</h2> | ||
| Line 68: | Line 75: | ||
{{#if:{{#ask:[[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]]}}|{{#set:Is Manuscript Place Of Production=True}}|{{#set:Is Manuscript Place Of Production=False}}}}{{#ask: | {{#if:{{#ask:[[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]]}}|{{#set:Is Manuscript Place Of Production=True}}|{{#set:Is Manuscript Place Of Production=False}}}}{{#ask: | ||
[[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]] | [[Category:Manuscript]][[Has Place Of Production::{{PAGENAME}}]] | ||
|?Has | |?Has Language=Language | ||
|?Has Date Range Of Production=Date | |||
|format=datatables | |format=datatables | ||
|default=No manuscripts found | |default=No manuscripts found | ||
| Line 74: | Line 82: | ||
</div> | </div> | ||
</section> | </section> | ||
|}} | |||
{{#if:{{#ask:[[Category:Print]][[Has Place Of Printing::{{PAGENAME}}]]}}| | |||
<section class="cc-card"> | <section class="cc-card"> | ||
<h2 class="cc-card-heading">{{PAGENAME}} is the printing location of the following prints</h2> | <h2 class="cc-card-heading">{{PAGENAME}} is the printing location of the following prints</h2> | ||
| Line 80: | Line 90: | ||
{{#if:{{#ask:[[Category:Print]][[Has Place Of Printing::{{PAGENAME}}]]}}|{{#set:Is Printing Location=True}}|{{#set:Is Printing Location=False}}}}{{#ask: | {{#if:{{#ask:[[Category:Print]][[Has Place Of Printing::{{PAGENAME}}]]}}|{{#set:Is Printing Location=True}}|{{#set:Is Printing Location=False}}}}{{#ask: | ||
[[Category:Print]][[Has Place Of Printing::{{PAGENAME}}]] | [[Category:Print]][[Has Place Of Printing::{{PAGENAME}}]] | ||
|?Has | |?Has Language=Language | ||
|?Has Date Range Of Print=Date | |||
|format=datatables | |format=datatables | ||
|default=No prints found | |default=No prints found | ||
| Line 86: | Line 97: | ||
</div> | </div> | ||
</section> | </section> | ||
|}} | |||
{{#if:{{#ask:[[Category:Version]][[Has Place Of Text Composition::{{PAGENAME}}]]}}| | |||
<section class="cc-card"> | <section class="cc-card"> | ||
<h2 class="cc-card-heading">{{PAGENAME}} is the place of text composition of the following versions</h2> | <h2 class="cc-card-heading">{{PAGENAME}} is the place of text composition of the following versions</h2> | ||
| Line 92: | Line 105: | ||
{{#if:{{#ask:[[Category:Version]][[Has Place Of Text Composition::{{PAGENAME}}]]}}|{{#set:Is Place Of Text Composition Of Version=True}}|{{#set:Is Place Of Text Composition Of Version=False}}}}{{#ask: | {{#if:{{#ask:[[Category:Version]][[Has Place Of Text Composition::{{PAGENAME}}]]}}|{{#set:Is Place Of Text Composition Of Version=True}}|{{#set:Is Place Of Text Composition Of Version=False}}}}{{#ask: | ||
[[Category:Version]][[Has Place Of Text Composition::{{PAGENAME}}]] | [[Category:Version]][[Has Place Of Text Composition::{{PAGENAME}}]] | ||
|?Has | |?Has Language=Language | ||
|?Has Date Range Of Text Composition=Date | |||
|format=datatables | |format=datatables | ||
|default=No versions found | |default=No versions found | ||
| Line 98: | Line 112: | ||
</div> | </div> | ||
</section> | </section> | ||
|}} | |||
</div> | </div> | ||