Template:Emporis/doc
Appearance
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: |
Deprecated - this template has been deprecated. The website emporis.com is no longer in service. The only available pages are web archives. The ideal solution is to replace the template with {{Cite web}}
as it allows for better long-term maintenance by standardized tools such as IABot, WaybackMedic, Citation bot, etc.. which otherwise do not support this template. Deprecation of the template from 1,238 pages was completed by GreenC 05:06, 22 September 2022 (UTC)
Old Documentation
[edit]Template:Emporis displays an external link to an Emporis web page about a building or complex.
Usage
[edit]building
[edit]- 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
[edit]- 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
[edit]- 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
[edit]building
[edit]- 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
[edit]- 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
[edit]{{Emporis}}
→ {{Emporis}} template missing ID and not present in Wikidata.{{Emporis|complex=yes}}
→ {{Emporis}} template missing ID and not present in Wikidata.
Tracking categories
[edit]- template with ID
- template missing ID
See also
[edit]- {{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)