Template:Emporis/doc
This is a documentation subpage for Template:Emporis. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata properties:
This template uses Lua: |
Template:Emporis displays an external link to an Emporis web page about a building or complex.
Usage
changebuilding
change- ID only (uses Wikipedia article name as link text)
{{Emporis | ID }}
{{Emporis | id= ID }}
- ID with title
{{Emporis | ID | TITLE }}
{{Emporis | id= ID | title= TITLE }}
- ID with title and accessdate
{{Emporis | ID | TITLE | DATE }}
{{Emporis | id= ID | title= TITLE | accessdate= DATE }}
- Using Wikidata property Emporis building ID (P455)
{{Emporis}}
{{Emporis | title= TITLE }}
complex
change- ID only (uses Wikipedia article name as link text)
{{Emporis | ID | complex= yes }}
{{Emporis | id= ID | complex= yes }}
- ID with title
{{Emporis | ID | TITLE | complex= yes }}
{{Emporis | id= ID | title= TITLE | complex= yes }}
- ID with title and accessdate
{{Emporis | ID | TITLE | DATE | complex= yes }}
{{Emporis | id= ID | title= TITLE | accessdate= DATE | complex= yes }}
- Using Wikidata property Emporis building complex ID (P2270)
{{Emporis | complex= yes }}
{{Emporis | title= TITLE | complex= yes }}
Parameters
change- id or unnamed parameter 1
- 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.
- title or name or unnamed parameter 2
- The title of the linked-to article, as it appears in the Emporis database; the default is the article's pagename.
- accessdate or unnamed parameter 3
- Date accessed (for use in citations); format as 21 April 2016 or April 21, 2016 or 2016-04-21.
- complex
- Set to "yes" if linking to a complex.
Examples
changebuilding
change- Usage as external link
{{Emporis| 240620 | Chicago Spire }}
→ Chicago Spire at Emporis{{Emporis|id=240620|title=Chicago Spire}}
→ Chicago Spire at Emporis
- Usage as citation
{{Emporis| 240620 | Chicago Spire | 2019-01-30 }}
→ Chicago Spire at Emporis. Retrieved 2019-01-30.{{Emporis|id=240620|title=Chicago Spire|accessdate=2019-01-30}}
→ Chicago Spire at Emporis. Retrieved 2019-01-30.
complex
change- Usage as external link
{{Emporis| 102057 | Metro Plaza |complex=yes}}
→ Metro Plaza at Emporis{{Emporis|id=102057|title=Metro Plaza|complex=yes}}
→ Metro Plaza at Emporis
- Usage as citation
{{Emporis| 102057 | Metro Plaza | 2019-01-30 |complex=yes}}
→ Metro Plaza at Emporis. Retrieved 2019-01-30.{{Emporis|id=102057|complex=yes|title=Metro Plaza|accessdate=2019-01-30}}
→ Metro Plaza at Emporis. Retrieved 2019-01-30.
missing ID and Wikidata property not defined
change{{Emporis}}
→ {{Emporis}} template missing ID and not present in Wikidata.{{Emporis|complex=yes}}
→ {{Emporis}} template missing ID and not present in Wikidata.
Tracking categories
change- template with ID
- template missing ID
See also
change- {{Structurae}} which uses Structurae structure ID (P454)
- {{CTBUH}} which uses CTBUH Skyscraper Center building ID (P1305) or CTBUH Skyscraper Center building complex ID (P2762)
- {{SkyscraperPage}} which uses SkyscraperPage building ID (P1699)