Template:Structurae
Appearance
This template uses the Wikidata property:
This template uses Lua: |
Template:Structurae displays an external link or citation for an entry in the Structurae database.
This template is for "structure" entries only; use {{Structurae person}} for "person" entries; templates for other entry kinds (projects, companies, etc.) may be created at a later time, as the need arises.
Usage
[change source]- ID only (uses Wikipedia article name as link text)
{{Structurae | ID }}
{{Structurae | id = ID }}
- ID with title
{{Structurae | ID | TITLE }}
{{Structurae | id = ID | title = TITLE }}
- ID with title and accessdate
{{Structurae | ID | TITLE | DATE }}
{{Structurae | id = ID | title = TITLE | accessdate = DATE }}
- Using Wikidata property Structurae structure ID (P454)
{{Structurae}}
{{Structurae | title = TITLE }}
Parameters
[change source]- id or unnamed parameter 1
- Required: the "Structure-ID" key of the database entry. It can be found above the contributions/corrections box, at the right lower part of the website within the box About this data sheet.
- title or name or unnamed parameter 2
- Recommended: the name of the linked-to article, as it appears in Structurae. If omitted, the name of the referencing Wikipedia page is used.
- accessdate or unnamed parameter 3
- Optional: the access date, if Structurae is being cited as a reference. Should normally be omitted when merely including the Structurae entry as an external link in an article.
- nolink
- Optional: set to any value to turn off linking of Structurae, to avoid overlinking in articles with multiple calls to this template.
Examples
[change source]ID with title
[change source]- URLs
- https://structurae.net/structures/data/index.cfm?ID=20000021
- https://structurae.net/structures/data/index.cfm?ID=s0000021
- Both redirect to https://structurae.net/structures/eiffel-tower
- Usage
{{Structurae | id= 20000021 | title= Eiffel Tower }}
{{Structurae | s0000021 | Eiffel Tower | nolink= yes }}
- Output
- Eiffel Tower at Structurae
- Eiffel Tower at Structurae
ID with title and accessdate
[change source]- URLs
- https://structurae.net/structures/data/index.cfm?ID=10000158
- https://structurae.net/structures/data/index.cfm?ID=p0000158
- Both redirect to https://structurae.net/structures/rockefeller-center
- Usage
{{Structurae | id= 10000158 | title= Rockefeller Center | accessdate= 2019-01-28 }}
{{Structurae | p0000158 | Rockefeller Center | 2019-01-28 | nolink= yes }}
- Output
- Rockefeller Center at Structurae. Retrieved 2019-01-28.
- Rockefeller Center at Structurae. Retrieved 2019-01-28.
Missing ID and Wikidata property not defined
[change source]- Usage
{{Structurae}}
- Output
- {{Structurae}} template missing ID and not present in Wikidata.
Tracking categories
[change source]- template with ID
- template missing ID
See also
[change source]- {{Structurae person}} which uses Structurae person ID (P2418)
- {{Emporis}} which uses Emporis building ID (P455) or Emporis building complex ID (P2270)
- {{CTBUH}} which uses CTBUH Skyscraper Center building ID (P1305) or CTBUH Skyscraper Center building complex ID (P2762)
- {{SkyscraperPage}} which uses SkyscraperPage building ID (P1699)