Difference between revisions of "Template:CTBUH Skyscraper Center"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (Zyxw moved page Template:CTBUH to Template:CTBUH Skyscraper Center: full name)
imported>Zyxw
m (update text and tracking)
Line 14: Line 14:
 
   }}<includeonly>{{#if:{{Yesno|{{{complex|}}}}}
 
   }}<includeonly>{{#if:{{Yesno|{{{complex|}}}}}
 
     | {{#invoke:EditAtWikidata|showMessage|pid=P2762|{{{1|{{{id|}}}}}}}}
 
     | {{#invoke:EditAtWikidata|showMessage|pid=P2762|{{{1|{{{id|}}}}}}}}
     | {{#invoke:EditAtWikidata|showMessage|pid=P1305|{{{1|{{{id|}}}}}}}}{{WikidataCheck|property=P1305|value={{{1|{{{id|}}}}}}|category=Skyscraper Center ID|namespaces=0|nocatsame=1}}
+
     | {{#invoke:EditAtWikidata|showMessage|pid=P1305|{{{1|{{{id|}}}}}}}}{{WikidataCheck|property=P1305|value={{{1|{{{id|}}}}}}|category=CTBUH Skyscraper Center building ID|namespaces=0|nocatsame=1}}
 
     }}</includeonly>
 
     }}</includeonly>
  
| <span class="error">&#123;&#123;[[Template:CTBUH|CTBUH]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:CTBUH template missing ID and not in Wikidata]]}}
+
| <span class="error">&#123;&#123;[[Template:CTBUH Skyscraper Center|CTBUH Skyscraper Center]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:CTBUH Skyscraper Center template missing ID and not in Wikidata]]}}
  
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 12:26, 22 May 2019

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

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