Difference between revisions of "Template:CTBUH Skyscraper Center/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add see also section)
imported>Zyxw
(Add links to new tracking category.)
Line 4: Line 4:
 
{{Underused external link template|http://www.skyscrapercenter.com/building.php?building_id=}}
 
{{Underused external link template|http://www.skyscrapercenter.com/building.php?building_id=}}
 
{{Uses Wikidata|P1305|P2762}}
 
{{Uses Wikidata|P1305|P2762}}
 +
{{Tracks Wikidata|P1305}}
  
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an [[Wikipedia:External links|external link]] to a [[Council on Tall Buildings and Urban Habitat]] (CTBUH) [http://www.skyscrapercenter.com/ Skyscraper Center] web page about a building or complex.
 
'''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an [[Wikipedia:External links|external link]] to a [[Council on Tall Buildings and Urban Habitat]] (CTBUH) [http://www.skyscrapercenter.com/ Skyscraper Center] web page about a building or complex.
Line 85: Line 86:
  
 
== Tracking categories ==
 
== Tracking categories ==
{{Tracks Wikidata|P1305}}
+
; ID parameter exists
 +
* {{clc|Skyscraper Center ID same as Wikidata}}
 +
* {{clc|Skyscraper Center ID different from Wikidata}}
 
* {{clc|Skyscraper Center ID not in Wikidata}}
 
* {{clc|Skyscraper Center ID not in Wikidata}}
* {{clc|Skyscraper Center ID different from Wikidata}}
+
; ID parameter does not exist
* {{clc|Skyscraper Center ID same as Wikidata}}
+
* {{clc|CTBUH template missing ID and not in Wikidata}}
  
 
== See also ==
 
== See also ==

Revision as of 19:57, 30 January 2019

Template:Underused external link template Template:Uses Wikidata Template:Tracks Wikidata

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: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
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

Template:Nowiki template demo Template:Nowiki template demo

Usage as citation

Template:Nowiki template demo Template:Nowiki template demo

complex

URL
http://www.skyscrapercenter.com/complex/169
Usage as external link

Template:Nowiki template demo Template:Nowiki template demo

Usage as citation

Template:Nowiki template demo Template:Nowiki template demo

missing ID and Wikidata property not defined

Template:Nowiki template demo Template:Nowiki template demo

Tracking categories

ID parameter exists
ID parameter does not exist

See also