Interface administrators, Administrators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
253
edits
No edit summary Tag: Metadata slot edit |
No edit summary Tag: Metadata slot edit |
||
| (12 intermediate revisions by the same user not shown) | |||
| jsonschema | |||
|---|---|---|---|
| Line 1: | Line 1: | ||
{ | { | ||
"@context": [ | "@context": [ | ||
{ | { | ||
"contributor": "Property:HasContributor", | "contributor": "Property:HasContributor", | ||
"topics": "Property:HasTopic", | "topics": "Property:HasTopic", | ||
"event": "Property:HasEvent" | "event": "Property:HasEvent" | ||
} | }, | ||
"/wiki/Category:Item?action=raw\u0026slot=jsonschema" | |||
], | ], | ||
"allOf": [ | "allOf": [ | ||
| Line 24: | Line 24: | ||
}, | }, | ||
"required": [ | "required": [ | ||
"type" | "type", | ||
"event" | |||
], | ], | ||
"properties": { | "properties": { | ||
| Line 38: | Line 39: | ||
"type": "array", | "type": "array", | ||
"items": { | "items": { | ||
"title": "topic", | |||
"type": "string" | "type": "string" | ||
} | } | ||
| Line 44: | Line 46: | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
"format": "autocomplete", | |||
"options": { | "options": { | ||
"autocomplete": { | "autocomplete": { | ||
| header_template | |||
| Line 1: | Line 1: | ||
<table class="info_box"> | |||
<tr> | |||
<th class="heading" colspan="2">{{{_label_schema|Event Contribution}}}</th> | |||
</tr> | |||
{{#if: {{{contributor|}}} | <!-- if postal_address is not empty, show --> | |||
<tr> | |||
<th>Contributor</th> | |||
<td>{{{contributor|}}}</td> | |||
</tr> | |||
|<!-- else show nothing -->}} | |||
{{#if: {{{event|}}} | <!-- if gps_coordinates is not empty, show --> | |||
<tr> | |||
<th>{{{_label_event|Event}}}</th> | |||
<td>{{#ask:[[{{FULLPAGENAME}}]]|?HasEvent=|format=plain|mainlabel=-}}</td> | |||
</tr> | |||
|<!-- else show nothing -->}} | |||
{{#if: {{{topics|}}} | <!-- if postal_address is not empty, show --> | |||
<tr> | |||
<th>Topics</th> | |||
<td>{{{topics|{{#ask:[[{{FULLPAGENAME}}]]|?HasTopic=|format=plain|mainlabel=-}}}}}</td> | |||
</tr> | |||
|<!-- else show nothing -->}} | |||
</table> | |||