Template:Authority: Difference between revisions
From SILVER
No edit summary |
No edit summary |
||
(39 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|format=XML | |format=XML | ||
|use xpath | |use xpath | ||
|data=Label=/rdf:RDF/foaf:Person/skos:prefLabel[@xml:lang='{{USERLANGUAGECODE}}'], | |data=Label=/rdf:RDF/{{#ifeq:{{{Type|}}}|Person|foaf:Person|foaf:Organization}}/skos:prefLabel[@xml:lang='{{USERLANGUAGECODE}}'], | ||
Definition=/rdf:RDF/foaf:Person/skos:definition, | Definition=/rdf:RDF/{{#ifeq:{{{Type|}}}|Person|foaf:Person|foaf:Organization}}/skos:definition, | ||
CloseMatch1=/rdf:RDF/{{#ifeq:{{{Type|}}}|Person|foaf:Person|foaf:Organization}}/skos:exactMatch[1]/@rdf:resource, | |||
CloseMatch2=/rdf:RDF/{{#ifeq:{{{Type|}}}|Person|foaf:Person|foaf:Organization}}/skos:exactMatch[2]/@rdf:resource, | |||
CloseMatch2=/rdf:RDF/foaf:Person/skos:exactMatch[2]/@rdf:resource, | CloseMatch3=/rdf:RDF/{{#ifeq:{{{Type|}}}|Person|foaf:Person|foaf:Organization}}/skos:exactMatch[3]/@rdf:resource, | ||
CloseMatch3=/rdf:RDF/foaf:Person/skos:exactMatch[3]/@rdf:resource, | }}<div class="btn btn-light">[[Mints]]</div><br/>{{#iferror:{{#external_value:Definition}}|{{PAGENAME}}|{{#external_value:Definition}}}} | ||
<div class=row> | |||
<div class="col-md-6"> | |||
<div class="card"> | |||
<div class="mw-collapsible"> | |||
<div class="card-header bg-light"><div class="card-title"><h5>Die Studies</h5></div></div> | |||
<div class="card-body mw-collapsible-content"> | |||
{{#ask:[[Category:Die Study]] [[Authority::{{FULLPAGENAME}}]] | |||
|?Image | |||
|?Metal | |||
|?Weight of silver if 20000 coins per die=Weight | |||
|?Median weight | |||
|link=none | |||
|format=template | |||
|introtemplate=Mint table intro | |||
|template=Mint table | |||
|outrotemplate=Mint table outro | |||
|named args=yes | |||
|default=Currently no content has been found. | |||
|limit=1000 | |||
|sort=Date from,Metal,Median weight | |||
|order=asc,desc,desc | |||
}} | |||
</div> | |||
</div> | |||
</div> | |||
<div class="card"> | |||
<div class="mw-collapsible"> | |||
<div class="card-header bg-light"><div class="card-title"><h5>Overstriking coins</h5></div></div> | |||
<div class="card-body mw-collapsible-content"> | |||
{{#ask: [[Category:Overstrike]] [[Authority::{{FULLPAGENAME}}]] | |||
|?Image overstriking coin=Image | |||
|?Metal | |||
|?Date from | |||
|?Image overstruck variety=Image2 | |||
|link=none | |||
|format=template | |||
|introtemplate=Mint table intro overstrike | |||
|template=Mint table overstrike | |||
|outrotemplate=Mint table outro | |||
|named args=yes | |||
|userparam=overstrike | |||
|limit=1000 | |||
|sort=Date from,Metal | |||
|order=asc,desc | |||
|default=Currently no content has been found. | |||
}} | }} | ||
<div class=" | </div> | ||
<div | </div> | ||
</div> | |||
<div class="card"> | |||
<div class="mw-collapsible"> | |||
<div class="card-header bg-light"><div class="card-title"><h5>Overstruck coins</h5></div></div> | |||
<div class="card-body mw-collapsible-content"> | |||
{{#ask: [[Category:Overstrike]] [[Overstruck authority::{{FULLPAGENAME}}]] | |||
|?Image overstruck variety=Image | |||
|?Metal | |||
|?Date from | |||
|?Image overstriking coin=Image2 | |||
|link=none | |||
|format=template | |||
|introtemplate=Mint table intro overstrike | |||
|template=Mint table overstrike | |||
|outrotemplate=Mint table outro | |||
|named args=yes | |||
|limit=1000 | |||
|sort=Date from,Metal | |||
|order=asc,desc | |||
|default=Currently no content has been found. | |||
}} | |||
</div> | |||
</div> | |||
</div> | |||
</div> | |||
<div class="col-md-6"> | <div class="col-md-6"> | ||
<div class="card"><div class="mw-collapsible"> | <div class="card"><div class="mw-collapsible"> | ||
<div class="card-header bg-light"><div class="card-title">{{#iferror:{{#external_value:Label}}|{{PAGENAME}}|{{#external_value:Label}}}}</sup></div></div> | <div class="card-header bg-light"><div class="card-title"><h5>{{#iferror:{{#external_value:Label}}|{{PAGENAME}}|{{#external_value:Label}} [[File:Nomisma.png|24px|Nomisma.org|link=http://nomisma.org/id/{{{Nomisma ID|}}}]] }}</sup></h5></div></div> | ||
<div class="card-body mw-collapsible-content"> | <div class="card-body mw-collapsible-content"> | ||
{| class="table table-hover table-condensed" | {| class="table table-hover table-condensed" | ||
|[[Authority type::@@@]] | |||
|[[Authority type::{{{Type|}}}]] | |||
|- | |||
|[[Nomisma ID::@@@]] | |[[Nomisma ID::@@@]] | ||
|[[Nomisma ID::{{{Nomisma ID|}}}]] | |[[Nomisma ID::{{{Nomisma ID|}}}]] | ||
|- | |- | ||
|Links | |Links | ||
| | | | ||
* {{#external_value:CloseMatch1}} | {{#iferror:{{#external_value:CloseMatch1}}||* {{#external_value:CloseMatch1}} }} | ||
* {{#external_value:CloseMatch2}} | {{#iferror:{{#external_value:CloseMatch2}}||* {{#external_value:CloseMatch2}} }} | ||
* {{#external_value:CloseMatch3}} | {{#iferror:{{#external_value:CloseMatch3}}||* {{#external_value:CloseMatch3}} }} | ||
* {{#external_value:CloseMatch4}} | {{#iferror:{{#external_value:CloseMatch4}}||* {{#external_value:CloseMatch4}} }} | ||
* {{#external_value:CloseMatch5}} | {{#iferror:{{#external_value:CloseMatch5}}||* {{#external_value:CloseMatch5}} }} | ||
|} | |} | ||
</div></div></div> | </div></div></div> | ||
<div class=" | <div class="card"> | ||
<div class="mw-collapsible"> | |||
<div class="card-header bg-light"><div class="card-title"> | <div class="card-header bg-light"><div class="card-title"><h5>Literature</h5></div></div> | ||
<div class="card-body mw-collapsible-content"> | <div class="card-body mw-collapsible-content"> | ||
{{#ask: [[Authority::{{FULLPAGENAME}}]] | |||
|mainlabel=- | |||
|?.Die study reference | |||
|?.Coin series reference | |||
|?.Coin series overstruck | |||
{{#ask:[[Authority::{{FULLPAGENAME}}]] | |format=valuerank | ||
|mainlabel= | |template=Valuerank | ||
|format= | |link=all | ||
| | |||
|default=Currently no content has been found. | |default=Currently no content has been found. | ||
}} | }} | ||
</div></div></div> | |||
</div></div> | </div></div> | ||
[[Category:Authorities]]{{#set:Title Icon=Authority.png|ID={{PAGEID}}|Pagename={{PAGENAME}} }}</includeonly> | |||
[[Category:Authorities]]{{#set:Title Icon=Authority.png|ID={{PAGEID}}|Pagename={{PAGENAME}} }} |
Latest revision as of 08:22, 12 June 2023
Template formatting Authorities.