Template:Structurae person/doc

From MOASSpedia
Jump to navigation Jump to search

Template:Structurae person displays an external link to a biography entry in the Structurae database

This template is for "person" entries only; use {{Structurae}} for "structure" entries; templates for other entry kinds (projects, companies, etc.) may be created at a later time, as the need arises.

Usage

ID only (uses Wikipedia article name as link text)
{{Structurae person | ID }}
{{Structurae person | id = ID }}
ID with title
{{Structurae person | ID | NAME }}
{{Structurae person | id = ID | name= NAME }}
Using Wikidata property (P2418)
{{Structurae person}}
{{Structurae person | name= NAME }}

Parameters

  • id. Required: the "Person-ID" key of the database entry. It can be found under the newsletter subscribing box, at the right lower part of the website within the box About this data sheet.
  • name. Recommended: the name of the person, as it appears in Structurae. If omitted, the name of the referencing Wikipedia page is used.

Examples

ID with name

URLs
https://structurae.net/persons/data/index.cfm?ID=1000032
https://structurae.net/persons/data/index.cfm?ID=d000032
Both redirect to https://structurae.net/persons/jorg-schlaich
Usage
{{Structurae person | 1000032 | Jörg Schlaich }}
{{Structurae person | id = d000032 | name = Jörg Schlaich }}
Output
Jörg Schlaich at Structurae
Jörg Schlaich at Structurae

Missing ID and Wikidata property not defined

Usage
{{Structurae person}}
Output
Structurae person/doc at StructuraeLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).