Difference between revisions of "Template:Emporis"
Jump to navigation
Jump to search
imported>Hhm8 (use wikidata for default value of id when unset) |
imported>Elegie (Use HTTPS for the Emporis link in order to provide increased user privacy/security) |
||
| Line 1: | Line 1: | ||
| − | [ | + | [https://www.emporis.com/{{#if:{{Yesno|{{{complex|}}}}}|complex|buildings}}/{{{1|{{{id|{{#if:{{Yesno|{{{complex|}}}}}|{{#property:P2270|[[Category:Emporis template with no id set]]}}|{{#property:P455|[[Category:Emporis template with no id set]]}}}}}}}}}} {{{2|{{{name|{{PAGENAME}}}}}}}}] at ''[[Emporis]]''<noinclude> |
{{Documentation}}</noinclude> | {{Documentation}}</noinclude> | ||
Revision as of 05:30, 20 May 2017
Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
Template:Emporis displays an external link to an Emporis web page about a building or complex.
Contents
Usage
building
- ID only (uses Wikipedia article name as link text)
- Template:Tlcw
- Template:Tlcw
- ID with title
- Template:Tlcw
- Template:Tlcw
- ID with title and accessdate
- Template:Tlcw
- Template:Tlcw
- Using Wikidata property Template:Prop
- Template:Tlcw
- Template:Tlcw
complex
- ID only (uses Wikipedia article name as link text)
- Template:Tlcw
- Template:Tlcw
- ID with title
- Template:Tlcw
- Template:Tlcw
- ID with title and accessdate
- Template:Tlcw
- Template:Tlcw
- Using Wikidata property Template:Prop
- Template:Tlcw
- Template:Tlcw
Parameters
- 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
building
- Usage as external link
{{Emporis| 240620 | Chicago Spire }}→ 240620 Chicago Spire at Emporis{{Emporis|id=240620|title=Chicago Spire}}→ Emporis at Emporis
- Usage as citation
{{Emporis| 240620 | Chicago Spire | 2019-01-30 }}→ 240620 Chicago Spire at Emporis{{Emporis|id=240620|title=Chicago Spire|accessdate=2019-01-30}}→ Emporis at Emporis
complex
- Usage as external link
{{Emporis| 102057 | Metro Plaza |complex=yes}}→ 102057 Metro Plaza at Emporis{{Emporis|id=102057|title=Metro Plaza|complex=yes}}→ Emporis at Emporis
- Usage as citation
{{Emporis| 102057 | Metro Plaza | 2019-01-30 |complex=yes}}→ 102057 Metro Plaza at Emporis{{Emporis|id=102057|complex=yes|title=Metro Plaza|accessdate=2019-01-30}}→ Emporis at Emporis
missing ID and Wikidata property not defined
Tracking categories
- template with ID
- template missing ID
See also
- {{Structurae}} which uses Template:Prop
- {{CTBUH}} which uses Template:Prop or Template:Prop
- {{SkyscraperPage}} which uses Template:Prop
| The above documentation is transcluded from Template:Emporis/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |