Template:Skyscraperpage/doc
< Template:Skyscraperpage
Revision as of 19:35, 26 April 2020 by Wikipedia>Vanisaac (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
This is a documentation subpage for Template:Skyscraperpage. It contains usage information, categories and other content that is not part of the original template page. |
This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This external link template is underused, compared to the number of links to the site it represents (check here). Please help convert those links to make use of this template, for ease of tracking, and ease of interoperability with Wikidata. |
This template uses the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template uses Lua: |
This template displays an external link or citation for an entry in the SkyscraperPage database.
Usage
- ID only (uses Wikipedia article name as link text)
{{SkyscraperPage | ID }}
{{SkyscraperPage | id = ID }}
- ID with title
{{SkyscraperPage | ID | TITLE }}
{{SkyscraperPage | id = ID | title = TITLE }}
- ID with title and accessdate
{{SkyscraperPage | ID | TITLE | DATE }}
{{SkyscraperPage | id = ID | title = TITLE | accessdate = DATE }}
Parameters
- id or unnamed parameter 1
- The "buildingID" of the database entry found in the structure's URL. If not provided, the template will attempt to fetch the value from Wikidata. example: http://skyscraperpage.com/cities/?buildingID=39392.
- title or name or unnamed parameter 2
- The name of the linked-to article, as it appears in the Skyscraperpage database;
name
can be used instead oftitle
. The default is the article's page name. - accessdate or unnamed parameter 3
- The access date, if SkyscraperPage is being cited as a reference. Should normally be omitted when merely including the SkyscraperPage entry as an external link in an article.
Examples
ID with title
- Usage
{{SkyscraperPage | 13 | Bank of China Tower }}
{{SkyscraperPage | id= 13 | title= Bank of China Tower }}
ID with title and accessdate
- Usage
{{SkyscraperPage | 39392 | Chicago Spire | 2019-01-30 }}
{{SkyscraperPage | id= 39392 | title= Chicago Spire | accessdate= 2019-01-30 }}
- Output
- "Chicago Spire". SkyscraperPage. Retrieved 2019-01-30.
- "Chicago Spire". SkyscraperPage. Retrieved 2019-01-30.
Missing ID and Wikidata property not defined
- Usage
{{SkyscraperPage}}
- Output
- "Skyscraperpage/doc". SkyscraperPage.Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Tracking category
See also
- {{Structurae}} which uses (P454)
- {{Emporis}} which uses (P455) or (P2270)
- {{CTBUH}} which uses (P1305) or (P2762)