Difference between revisions of "Template:Emporis/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (fix placement of category to include template, not documentation (via JWB))
imported>Zyxw
m (update category)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
{{Uses Wikidata|P455}}
 
{{Uses Wikidata|P455}}
 
{{Uses Wikidata|P2270}}
 
{{Uses Wikidata|P2270}}
Line 18: Line 19:
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
+
<!-- Categories below this line and interwikis at Wikidata -->
[[Category:External link templates]]
+
[[Category:Buildings and structures external link templates]]
 
[[Category:External link templates using Wikidata]]
 
[[Category:External link templates using Wikidata]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 07:27, 29 January 2019

Template:Uses Wikidata Template:Uses Wikidata This is a template for linking to entries in the Emporis database.

Usage

{{Emporis|id=|name=|complex=}}

Parameters

id
the "ID" of the database entry found in the structure's URL, e.g. "240620" in "http://www.emporis.com/buildings/240620/chicago-spire-chicago-il-usa". If not provided, the template will attempt to fetch the value from Wikidata.
name
the name of the linked-to article, as it appears in the Emporis database; the default is the article's pagename
complex
set to "yes" if linking to a complex

Examples

  • {{Emporis|id=240620|name=Chicago Spire}}Chicago Spire at EmporisScript error: No such module "EditAtWikidata".
  • {{Emporis|id=102057|name=Metro Plaza|complex=yes}}Metro Plaza at EmporisScript error: No such module "EditAtWikidata".