THIS IS ONLY A TEST WIKI - the real SILVER wiki is available at https://silver.kbr.be

Template:Mint: Difference between revisions

From SILVER
No edit summary
No edit summary
 
(43 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 15: Line 15:
  CloseMatch5=/rdf:RDF/nmo:Mint/skos:closeMatch[5]/@rdf:resource,
  CloseMatch5=/rdf:RDF/nmo:Mint/skos:closeMatch[5]/@rdf:resource,
}}
}}
<div class="btn btn-light">[[Mints]]</div> <div class="btn btn-default">[[ID::@@@]]: [[ID::{{PAGEID}}]]</div><br/>{{{Modern country|}}}
<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">
Line 25: Line 25:
  |?Image
  |?Image
  |?Metal
  |?Metal
  |?Weight of silver if 20000 coins per die
  |?Weight of silver if 20000 coins per die=Weight
|?Median weight
  |link=none
  |link=none
  |format=template
  |format=template
Line 34: Line 35:
  |default=Currently no content has been found.
  |default=Currently no content has been found.
  |limit=1000
  |limit=1000
|sort=Date from,Metal,Median weight
|order=asc,desc,desc
}}
}}
             </div>
             </div>
Line 40: Line 43:
<div class="card">
<div class="card">
   <div class="mw-collapsible">
   <div class="mw-collapsible">
       <div class="card-header bg-light"><div class="card-title"><h5>Overstrikes</h5></div></div>
       <div class="card-header bg-light"><div class="card-title"><h5>Overstriking coins</h5></div></div>
       <div class="card-body mw-collapsible-content">
       <div class="card-body mw-collapsible-content">
{{#ask: [[Category:Overstrike]] [[Mint::{{FULLPAGENAME}}]] OR [[Category:Overstrike]] [[Overstruck mint::{{FULLPAGENAME}}]]  
{{#ask: [[Category:Overstrike]] [[Mint::{{FULLPAGENAME}}]]  
  |?Image overstriking coin=Image
  |?Image overstriking coin=Image
|?Image overstruck variety
  |?Metal
  |?Metal
  |?Weight of silver if 20000 coins per die
  |?Date from
|?Image overstruck variety=Image2
  |link=none
  |link=none
  |format=template
  |format=template
  |introtemplate=Mint table intro
  |introtemplate=Mint table intro overstrike
  |template=Mint table
  |template=Mint table overstrike
  |outrotemplate=Mint table outro
  |outrotemplate=Mint table outro
  |named args=yes
  |named args=yes
  |userparam=overstrike  
  |userparam=overstrike  
  |limit=1000
  |limit=1000
|sort=Date from,Metal
|order=asc,desc
|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>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.
}}
}}
Line 63: Line 91:
<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"><h5>{{#iferror:{{#external_value:Definition}}|{{PAGENAME}}|{{#external_value:Definition}}}}</h5></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 69: 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 83: 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 97: Line 125:
<div class="card-header bg-light"><div class="card-title"><h5>Map</h5></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></div></div>
<div class="card">
<div class="card">
Line 118: Line 146:
</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 08:21, 12 June 2023

Template formatting Mints.