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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add category)
imported>Zyxw
m (update list)
Line 24: Line 24:
 
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | title{{=}} <var>TITLE</var> | access-date{{=}} <var>DATE</var> }}
 
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | title{{=}} <var>TITLE</var> | access-date{{=}} <var>DATE</var> }}
  
:; Using [[Wikidata]] property {{prop|P1305}}
+
:; Using [[Wikidata]] property {{Property|1305}}
 
: {{tlcw|{{BASEPAGENAME}} }}
 
: {{tlcw|{{BASEPAGENAME}} }}
 
: {{tlcw|{{BASEPAGENAME}} | title{{=}} <var>TITLE</var> }}
 
: {{tlcw|{{BASEPAGENAME}} | title{{=}} <var>TITLE</var> }}
Line 41: Line 41:
 
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | title{{=}} <var>TITLE</var> | access-date{{=}} <var>DATE</var> | complex{{=}} yes }}
 
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | title{{=}} <var>TITLE</var> | access-date{{=}} <var>DATE</var> | complex{{=}} yes }}
  
:; Using [[Wikidata]] property {{prop|P2762}}
+
:; Using [[Wikidata]] property {{Property|2762}}
 
: {{tlcw|{{BASEPAGENAME}} | complex{{=}} yes }}
 
: {{tlcw|{{BASEPAGENAME}} | complex{{=}} yes }}
 
: {{tlcw|{{BASEPAGENAME}} | title{{=}} <var>TITLE</var> | complex{{=}} yes }}
 
: {{tlcw|{{BASEPAGENAME}} | title{{=}} <var>TITLE</var> | complex{{=}} yes }}
Line 87: Line 87:
  
 
== Tracking categories ==
 
== Tracking categories ==
; ID parameter exists
+
; template with ID
* {{clc|Skyscraper Center ID same as Wikidata}}
 
 
* {{clc|Skyscraper Center ID different from Wikidata}}
 
* {{clc|Skyscraper Center ID different from Wikidata}}
 
* {{clc|Skyscraper Center ID not in Wikidata}}
 
* {{clc|Skyscraper Center ID not in Wikidata}}
; ID parameter does not exist
+
; template missing ID
 
* {{clc|CTBUH template missing ID and not in Wikidata}}
 
* {{clc|CTBUH template missing ID and not in Wikidata}}
  

Revision as of 11:22, 22 May 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: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

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

template with ID
template missing ID

See also