Difference between revisions of "Template:CTBUH Skyscraper Center"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (update text and tracking)
imported>Jklamo
(linkfix)
Line 7: Line 7:
 
   | url        = http://www.skyscrapercenter.com/{{#if:{{Yesno|{{{complex|}}}}}
 
   | url        = http://www.skyscrapercenter.com/{{#if:{{Yesno|{{{complex|}}}}}
 
     | complex/{{#if: {{{1|{{{id|}}}}}} | {{{1|{{{id}}}}}} | {{#property:P2762}} }}
 
     | complex/{{#if: {{{1|{{{id|}}}}}} | {{{1|{{{id}}}}}} | {{#property:P2762}} }}
     | building.php?building_id={{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{#property:P1305}} }}
+
     | building/wd/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{#property:P1305}} }}
 
     }}
 
     }}
 
   | title      = {{#if: {{{2|{{{name|{{{title<includeonly>|</includeonly>}}}}}}}}} | {{{2|{{{name|{{{title}}}}}}}}} | {{PAGENAMEBASE}} }}
 
   | title      = {{#if: {{{2|{{{name|{{{title<includeonly>|</includeonly>}}}}}}}}} | {{{2|{{{name|{{{title}}}}}}}}} | {{PAGENAMEBASE}} }}

Revision as of 03:56, 6 January 2020

"{{{title}}}". CTBUH Skyscraper Center.

50px Template documentation[view] [edit] [history] [purge]

Template:Underused external link template

Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Template:CTBUH Skyscraper Center displays an external link to a Council on Tall Buildings and Urban Habitat (CTBUH) Skyscraper Center web page about a building or complex.

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:Property
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:Property
Template:Tlcw
Template:Tlcw

Parameters

id or unnamed parameter 1
Optional: the "building_id" of the database entry found in the structure's URL. If not used, the template will pull the value from Wikidata. Example: http://www.skyscrapercenter.com/building.php?building_id=5579.
title or name or unnamed parameter 2
The name of the linked-to article, as it appears in the CTBUH Skyscrapercenter Database. The default is the article's pagename.
access-date or 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

URLs
http://www.skyscrapercenter.com/building.php?building_id=169
http://www.skyscrapercenter.com/building/willis-tower/169
Usage as external link
* {{CTBUH Skyscraper Center | 169 | Willis Tower }}

Template:Nowiki template demo

Usage as citation
{{CTBUH Skyscraper Center | 169 | Willis Tower | 2019-01-29 }}

Template:Nowiki template demo

complex

URL
http://www.skyscrapercenter.com/complex/169
Usage as external link
* {{CTBUH Skyscraper Center | 169 | Abraj Al-Bait Endowment Complex | complex= yes }}

Template:Nowiki template demo

Usage as citation
{{CTBUH Skyscraper Center | 169 | Abraj Al-Bait Endowment Complex | 2019-01-29 | complex= yes }}

Template:Nowiki template demo

missing ID and Wikidata property not defined

* {{CTBUH Skyscraper Center}}

Template:Nowiki template demo

Tracking categories

template with building ID (not currently tracking building complex ID)
template missing ID

See also