Mint

From SILVER
 
(82 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
  |use xpath
 
  |use xpath
 
  |data=Label=/rdf:RDF/nmo:Mint/skos:prefLabel[@xml:lang='{{USERLANGUAGECODE}}'],
 
  |data=Label=/rdf:RDF/nmo:Mint/skos:prefLabel[@xml:lang='{{USERLANGUAGECODE}}'],
AltLabel=/rdf:RDF/nmo:Mint/skos:altLabel,
+
  Definition=/rdf:RDF/nmo:Mint/skos:definition[@xml:lang='{{USERLANGUAGECODE}}'],
  Definition=/rdf:RDF/nmo:Mint/skos:definition,
+
  Lat=/rdf:RDF/geo:SpatialThing/geo:lat,
  Lat=/rdf:RDF/geo:SpatialThing/geo:lat,Long=/rdf:RDF/geo:SpatialThing/geo:long,
+
Long=/rdf:RDF/geo:SpatialThing/geo:long,
 
  CloseMatch1=/rdf:RDF/nmo:Mint/skos:closeMatch[1]/@rdf:resource,
 
  CloseMatch1=/rdf:RDF/nmo:Mint/skos:closeMatch[1]/@rdf:resource,
 
  CloseMatch2=/rdf:RDF/nmo:Mint/skos:closeMatch[2]/@rdf:resource,
 
  CloseMatch2=/rdf:RDF/nmo:Mint/skos:closeMatch[2]/@rdf:resource,
Line 14: Line 14:
 
  CloseMatch4=/rdf:RDF/nmo:Mint/skos:closeMatch[4]/@rdf:resource,
 
  CloseMatch4=/rdf:RDF/nmo:Mint/skos:closeMatch[4]/@rdf:resource,
 
  CloseMatch5=/rdf:RDF/nmo:Mint/skos:closeMatch[5]/@rdf:resource,
 
  CloseMatch5=/rdf:RDF/nmo:Mint/skos:closeMatch[5]/@rdf:resource,
CloseMatch6=/rdf:RDF/nmo:Mint/skos:closeMatch[6]/@rdf:resource,
 
CloseMatch7=/rdf:RDF/nmo:Mint/skos:closeMatch[7]/@rdf:resource
 
 
}}
 
}}
<div class="btn btn-light">[[Mints]]</div> <div class="btn btn-default">[[ID::@@@]]: [[ID::{{PAGEID}}]]</div><br/>
+
<div class="btn btn-light">[[Mints]]</div> <div class="btn btn-default">[[ID::@@@]]: [[ID::{{PAGEID}}]]</div><br/>{{#iferror:{{#external_value:Definition}}|{{PAGENAME}}|{{#external_value:Definition}}}}
 
<div class=row>
 
<div class=row>
<div class="col-md-6">
+
  <div class="col-md-6">
<div class="card"><div class="mw-collapsible">
+
      <div class="card">
<div class="card-header bg-light"><div class="card-title">Die Studies</div></div>
+
        <div class="mw-collapsible">
<div class="card-body mw-collapsible-content">
+
            <div class="card-header bg-light"><div class="card-title"><h5>Die Studies</h5></div></div>
 +
            <div class="card-body mw-collapsible-content">
 
{{#ask:[[Mint::{{FULLPAGENAME}}]] [[Category:Die Study]]
 
{{#ask:[[Mint::{{FULLPAGENAME}}]] [[Category:Die Study]]
  |mainlabel=
+
  |?Image
  |format=ul
+
|?Metal
  |class=table table-hover table-condensed table-responsive sortable
+
|?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.
 
  |default=Currently no content has been found.
 +
|limit=1000
 +
|sort=Date from,Metal,Median weight
 +
|order=asc,desc,desc
 
}}
 
}}
</div></div></div>
+
            </div>
<div class="card"><div class="mw-collapsible">
+
        </div>
<div class="card-header bg-light"><div class="card-title">Overstrikes</div></div>
+
      </div>
<div class="card-body mw-collapsible-content">
+
<div class="card">
{{#ask:[[Mint::{{FULLPAGENAME}}]] [[Category:Overstrike]]
+
  <div class="mw-collapsible">
  |mainlabel=
+
      <div class="card-header bg-light"><div class="card-title"><h5>Overstriking coins</h5></div></div>
  |?Image overstriking coin=
+
      <div class="card-body mw-collapsible-content">
  |format=table
+
{{#ask: [[Category:Overstrike]] [[Mint::{{FULLPAGENAME}}]]  
  |class=table table-hover table-sm table-responsive sortable
+
  |?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.
 
  |default=Currently no content has been found.
 
}}
 
}}
{{#ask:[[Overstruck mint::{{FULLPAGENAME}}]] [[Category:Overstrike]]
+
      </div>
  |mainlabel=
+
  </div>
  |?Image overstruck variety=
+
</div>
  |format=table
+
<div class="card">
  |class=table table-hover table-sm table-responsive sortable
+
  <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 mint::{{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.
 
  |default=Currently no content has been found.
|default=
 
|intro='''Overstruck coins'''
 
 
}}
 
}}
</div></div></div>
+
      </div>
<div class="card"><div class="mw-collapsible">
+
  </div>
<div class="card-header bg-light"><div class="card-title">Literature</div></div>
+
</div>
<div class="card-body mw-collapsible-content">
 
{{#ask:[[Category:Literature]] [[Numismatic keyword::{{FULLPAGENAME}}]]
 
|mainlabel=
 
|format=ul
 
|class=table table-hover table-condensed table-responsive sortable
 
|default=Currently no content has been found.
 
}}
 
</div></div></div>
 
<div class="card"><div class="mw-collapsible">
 
<div class="card-header bg-light"><div class="card-title">Authors</div></div>
 
<div class="card-body mw-collapsible-content">
 
{{#ask:[[Category:Persons]] [[Numismatic keyword::{{FULLPAGENAME}}]]
 
|mainlabel=
 
|format=ul
 
|class=table table-hover table-condensed table-responsive sortable
 
|default=Currently no content has been found.
 
}}
 
</div></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:Definition}}|{{PAGENAME}}|{{#external_value:Definition}}}}</div></div>
+
<div class="card-header bg-light"><div class="card-title"><h5>Description [[File:Nomisma.png|24px|Nomisma.org|link=http://nomisma.org/id/{{{Nomisma ID|}}}]]</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"
Line 79: Line 97:
 
|[[Nomisma ID::{{{Nomisma ID|}}}]]
 
|[[Nomisma ID::{{{Nomisma ID|}}}]]
 
|-
 
|-
|Also known as:
+
|Definition:
|{{#iferror:{{#external_value:AltLabel}} }}
+
|{{#iferror:{{#external_value:Definition}}|{{PAGENAME}}|{{#external_value:Definition}}}}
 
|-
 
|-
 
|[[Pleiades ID::@@@]]
 
|[[Pleiades ID::@@@]]
Line 93: Line 111:
 
|-
 
|-
 
|[[Coordinates::@@@]]
 
|[[Coordinates::@@@]]
|{{#iferror:{{#external_value:Lat}}||[[Coordinates::{{#external_value:Lat}},{{#external_value:Long}}]]}}
+
|{{#if:{{{Coordinates|}}}|[[Coordinates::{{{Coordinates|}}}]]|{{#iferror:{{#external_value:Lat}}||[[Coordinates::{{#external_value:Lat}},{{#external_value:Long}}]]}} }}
 
|-
 
|-
 
|Links
 
|Links
Line 102: Line 120:
 
{{#iferror:{{#external_value:CloseMatch4}}||* {{#external_value:CloseMatch4}} }}
 
{{#iferror:{{#external_value:CloseMatch4}}||* {{#external_value:CloseMatch4}} }}
 
{{#iferror:{{#external_value:CloseMatch5}}||* {{#external_value:CloseMatch5}} }}
 
{{#iferror:{{#external_value:CloseMatch5}}||* {{#external_value:CloseMatch5}} }}
{{#iferror:{{#external_value:CloseMatch6}}||* {{#external_value:CloseMatch6}} }}
 
{{#iferror:{{#external_value:CloseMatch7}}||* {{#external_value:CloseMatch7}} }}
 
 
|}
 
|}
</div></div>
+
</div></div></div>
 
<div class="card"><div class="mw-collapsible">
 
<div class="card"><div class="mw-collapsible">
<div class="card-header bg-light"><div class="card-title">Map</div></div>
+
<div class="card-header bg-light"><div class="card-title"><h5>Map</h5></div></div>
 
<div class="card-body mw-collapsible-content">
 
<div class="card-body mw-collapsible-content">
{{#display_map:{{#external_value:Lat}},{{#external_value:Long}}~{{#external_value:Label}}~{{#external_value:Definition}}}}
+
{{#display_map:{{#if:{{{Coordinates|}}}|{{{Coordinates|}}}|{{#external_value:Lat}},{{#external_value:Long}}~{{#external_value:Label}}~{{#external_value:Definition}}}} }}
 +
</div></div></div>
 +
<div class="card">
 +
<div class="mw-collapsible">
 +
<div class="card-header bg-light"><div class="card-title"><h5>Literature</h5></div></div>
 +
<div class="card-body mw-collapsible-content">
 +
{{#ask:[[Category:Literature]] [[Numismatic keyword::{{FULLPAGENAME}}]]
 +
|format=ul
 +
|default=Currently no content has been found.
 +
}}
 +
</div></div></div>
 +
<div class="card">
 +
<div class="mw-collapsible">
 +
<div class="card-header bg-light"><div class="card-title"><h5>Authors</h5></div></div>
 +
<div class="card-body mw-collapsible-content">
 +
{{#ask:[[Category:Persons]] [[Numismatic keyword::{{FULLPAGENAME}}]]
 +
|format=ul
 +
|default=Currently no content has been found.
 +
}}
 
</div></div></div>
 
</div></div></div>
 
</div></div>
 
</div></div>
 
 
[[Category:Mints]]{{#set:Title Icon=Mint.png|Pagename={{PAGENAME}} }}</includeonly>
 
[[Category:Mints]]{{#set:Title Icon=Mint.png|Pagename={{PAGENAME}} }}</includeonly>

Latest revision as of 10:21, 12 June 2023

Template formatting Mints.