Mint
From SILVER
Line 35: | Line 35: | ||
</div></div> | </div></div> | ||
</div></div> | </div></div> | ||
+ | {{#get_web_data: | ||
+ | url=http://nomisma.org/id/pella_macedon.rdf | ||
+ | |format=XML | ||
+ | |use xpath | ||
+ | |data=Label=/rdf:RDF/nmo:Mint/skos:prefLabel[@xml:lang='{{USERLANGUAGECODE}}'], | ||
+ | Definition=/rdf:RDF/nmo:Mint/skos:definition, | ||
+ | Lat=/rdf:RDF/geo:SpatialThing/geo:lat,Long=/rdf:RDF/geo:SpatialThing/geo:long, | ||
+ | CloseMatch1=/rdf:RDF/nmo:Mint/skos:closeMatch[1]/@rdf:resource, | ||
+ | CloseMatch2=/rdf:RDF/nmo:Mint/skos:closeMatch[2]/@rdf:resource, | ||
+ | CloseMatch3=/rdf:RDF/nmo:Mint/skos:closeMatch[3]/@rdf:resource, | ||
+ | CloseMatch4=/rdf:RDF/nmo:Mint/skos:closeMatch[4]/@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, | ||
+ | }} | ||
+ | Looked up from Nomisma.org: | ||
+ | * {{#external_value:Label}} | ||
+ | * {{#external_value:Definition}} | ||
+ | * {{#external_value:Lat}} | ||
+ | * {{#external_value:Long}} | ||
+ | * {{#external_value:CloseMatch1}} | ||
+ | * {{#external_value:CloseMatch2}} | ||
+ | * {{#external_value:CloseMatch3}} | ||
+ | * {{#external_value:CloseMatch4}} | ||
+ | * {{#external_value:CloseMatch5}} | ||
+ | * {{#external_value:CloseMatch6}} | ||
+ | * {{#external_value:CloseMatch7}} | ||
+ | |||
+ | {{#iferror:{{#external_value:Lat}}||[[Coordinates::{{#external_value:Lat}},{{#external_value:Long}}]]}} | ||
+ | |||
+ | |||
+ | {{#display_map:{{#external_value:Lat}},{{#external_value:Long}}~{{#external_value:Label}}~{{#external_value:Definition}}}} | ||
+ | |||
[[Category:Mints]]{{#set:Title Icon=Mint.png|ID={{PAGEID}}|Pagename={{PAGENAME}} }}__SHOWFACTBOX__</includeonly> | [[Category:Mints]]{{#set:Title Icon=Mint.png|ID={{PAGEID}}|Pagename={{PAGENAME}} }}__SHOWFACTBOX__</includeonly> |
Revision as of 11:21, 25 May 2021
Template formatting Mints.