328
edits
(Install package: OSW Base) |
(Update package: OSW Base) |
||
Line 4: | Line 4: | ||
* General (same as UUID of the category page): 473d7a1e-d485-44d1-be83-b258b5810948 | * General (same as UUID of the category page): 473d7a1e-d485-44d1-be83-b258b5810948 | ||
* FhG: a7ff3f4c-ea08-5143-af94-7c8a925aba56 | * FhG: a7ff3f4c-ea08-5143-af94-7c8a925aba56 | ||
{{#ask: [[{{FULLPAGENAME}}]] | |||
|?HasName={{#switch: {{USERLANGUAGECODE}} |en=Name |de=Name |#default=Name }} | |||
|?HasGpsCoordinates={{#switch: {{USERLANGUAGECODE}} |en=GPS coordinates |de=GPS-Koordinaten |#default=GPS coordinates }} | |||
|?HasNumberOfBuildings={{#switch: {{USERLANGUAGECODE}} |en=Number of buildings |de=Gebäude (Anzahl) |#default=Number of buildings }} | |||
|?HasNumberOfOccupants={{#switch: {{USERLANGUAGECODE}} |en=Number of Occupants |de=Belegung (Anzahl) |#default=Number of Occupants }} | |||
|format=datatable | |||
|limit=5000 | |||
|sort=Display title of | |||
|order=asc | |||
}} | |||
jsondata | |||
---|---|---|---|
Line 5: | Line 5: | ||
"subclass_of": [ | "subclass_of": [ | ||
"Category:OSW3d238d05316e45a4ac95a11d7b24e36b" | "Category:OSW3d238d05316e45a4ac95a11d7b24e36b" | ||
], | ], | ||
"uuid": "473d7a1e-d485-44d1-be83-b258b5810948", | "uuid": "473d7a1e-d485-44d1-be83-b258b5810948", | ||
Line 23: | Line 17: | ||
"lang": "de" | "lang": "de" | ||
} | } | ||
], | |||
"description": [ | |||
{ | |||
"text": "A site is a location or place where a particular event, activity, or object exists or is situated.", | |||
"lang": "en" | |||
}, | |||
{ | |||
"text": "Ein Standort ist ein Ort oder Platz, an dem ein bestimmtes Ereignis, eine Aktivität oder ein Objekt existiert oder sich befindet.", | |||
"lang": "de" | |||
} | |||
], | |||
"utf8_icon": [ | |||
"🗺", | |||
"📍", | |||
"📌", | |||
"🖈" | |||
] | ] | ||
} | } | ||
jsonschema | |||
Line 15: | Line 15: | ||
}, | }, | ||
"uuid": "473d7a1e-d485-44d1-be83-b258b5810948", | "uuid": "473d7a1e-d485-44d1-be83-b258b5810948", | ||
"description": "", | "description": "A site is a location or place where a particular event, activity, or object exists or is situated.", | ||
"description*": {}, | "description*": { | ||
"de": "Ein Standort ist ein Ort oder ein Platz, an dem ein bestimmtes Ereignis, eine Aktivität oder ein Objekt existiert oder sich befindet." | |||
}, | |||
"required": [ | "required": [ | ||
"type" | "type" | ||
header_template | |||
Line 13: | Line 13: | ||
</tr> | </tr> | ||
</table> | </table> | ||
<!-- Overview of buildings --> | |||
=={{#switch:{{USERLANGUAGECODE}}|en=Buildings |de=Gebäude|#default=Buildings}}== | |||
{{#set: HasNumberOfBuildings= | |||
{{#ask: [[Category:OSW4bcd4a99a73f482ea40ac4210dfab836]][[IsLocatedIn::{{FULLPAGENAME}}]] | |||
|format=count | |||
|limit=1000 | |||
}} | |||
}} | |||
{{#switch:{{USERLANGUAGECODE}} | |||
|en=Number of buildings | |||
|de=Gebäude (Anzahl) | |||
|#default=Number of buildings | |||
}}: {{#show: {{FULLPAGENAME}} |?HasNumberOfBuildings}} | |||
{{#ask: [[Category:OSW4bcd4a99a73f482ea40ac4210dfab836]][[IsLocatedIn::{{FULLPAGENAME}}]] | |||
|?HasNumberOfFloors={{#switch: {{USERLANGUAGECODE}} |en=Number of floors |de=Stockwerke (Anzahl) |#default=Number of floors}} | |||
|?HasNumberOfRooms={{#switch: {{USERLANGUAGECODE}} |en=Number of rooms |de=Räume (Anzahl) |#default=Number of rooms}} | |||
|?HasNumberOfOccupants={{#switch: {{USERLANGUAGECODE}} |en=Number of occupants |de=Belegung (Anzahl) |#default=Number of occupants}} | |||
|format=table | |||
|limit=1000 | |||
|sort=Display title of | |||
|order=asc | |||
}} | |||
<!-- Occupancy --> | |||
=={{#switch:{{USERLANGUAGECODE}}|en=Occupancy|de=Belegung|#default=Occupancy}}== | |||
{{#set: HasNumberOfOccupants= | |||
{{#ask: [[Category:OSW4bcd4a99a73f482ea40ac4210dfab836]][[IsLocatedIn::{{FULLPAGENAME}}]] | |||
|?HasNumberOfOccupants | |||
|format=sum | |||
}} | |||
}} | |||
{{#switch:{{USERLANGUAGECODE}} | |||
|en=Number of occupants | |||
|de=Belegung (Anzahl) | |||
|#default=Number of occupants | |||
}}: {{#show: {{FULLPAGENAME}} |?HasNumberOfOccupants}} |
edits