Difference between revisions of "Template:Emporis/doc"
Jump to navigation
Jump to search
imported>Zyxw m (update heading) |
imported>Zyxw m (→Tracking categories: update) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 82: | Line 82: | ||
== Tracking categories == | == Tracking categories == | ||
| + | ; template with ID | ||
* {{clc|Emporis template using building ID}} | * {{clc|Emporis template using building ID}} | ||
* {{clc|Emporis template using complex ID}} | * {{clc|Emporis template using complex ID}} | ||
| + | ; template missing ID | ||
* {{clc|Emporis template missing ID and not in Wikidata}} | * {{clc|Emporis template missing ID and not in Wikidata}} | ||
| Line 91: | Line 93: | ||
* {{tl|SkyscraperPage}} which uses {{prop|1699}} | * {{tl|SkyscraperPage}} which uses {{prop|1699}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories below this line and interwikis at Wikidata --> | <!-- Categories below this line and interwikis at Wikidata --> | ||
[[Category:Buildings and structures external link templates]] | [[Category:Buildings and structures external link templates]] | ||
[[Category:External link templates with accessdate parameter]] | [[Category:External link templates with accessdate parameter]] | ||
[[Category:External link templates using Wikidata]] | [[Category:External link templates using Wikidata]] | ||
| + | [[Category:Templates using multiple Wikidata external identifiers]] | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 11:12, 22 May 2019
| This is a documentation subpage for Template:Emporis. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
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 }}→ Chicago Spire at EmporisScript error: No such module "EditAtWikidata".{{Emporis|id=240620|title=Chicago Spire}}→ Chicago Spire at EmporisScript error: No such module "EditAtWikidata".
- Usage as citation
{{Emporis| 240620 | Chicago Spire | 2019-01-30 }}→ Chicago Spire at Emporis. Retrieved 2019-01-30.Script error: No such module "EditAtWikidata".{{Emporis|id=240620|title=Chicago Spire|accessdate=2019-01-30}}→ Chicago Spire at Emporis. Retrieved 2019-01-30.Script error: No such module "EditAtWikidata".
complex
- Usage as external link
{{Emporis| 102057 | Metro Plaza |complex=yes}}→ Metro Plaza at EmporisScript error: No such module "EditAtWikidata".{{Emporis|id=102057|title=Metro Plaza|complex=yes}}→ Metro Plaza at EmporisScript error: No such module "EditAtWikidata".
- Usage as citation
{{Emporis| 102057 | Metro Plaza | 2019-01-30 |complex=yes}}→ Metro Plaza at Emporis. Retrieved 2019-01-30.Script error: No such module "EditAtWikidata".{{Emporis|id=102057|complex=yes|title=Metro Plaza|accessdate=2019-01-30}}→ Metro Plaza at Emporis. Retrieved 2019-01-30.Script error: No such module "EditAtWikidata".
missing ID and Wikidata property not defined
{{Emporis}}→ Template:PAGENAMEBASE at EmporisScript error: No such module "EditAtWikidata".{{Emporis|complex=yes}}→ Template:PAGENAMEBASE at EmporisScript error: No such module "EditAtWikidata".
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