Category:OSW0e084decca6f48a7b023d6b7b2c1452d: Difference between revisions

Update package: OSW Base
(Update package: OSW Base)
(Update package: OSW Base)
 
header_template
Line 1: Line 1:
=={{#switch:{{USERLANGUAGECODE}}|en=Participants|de=Teilnehmende}}==
<table class="info_box">
{{#ask: [[Category:OSW44deaa5b806d41a2a88594f562b110e9]][[-HasParticipant::{{FULLPAGENAME}}]]
<tr>
|?HasOu={{#switch: {{USERLANGUAGECODE}} |en=OU |de=OE |#default=OU}}
<th class="heading" colspan="2">{{{_label_schema|Event}}}</th>
|?HasRoom={{#switch: {{USERLANGUAGECODE}} |en=Room |de=Raum |#default=Room}}
</tr>
|?HasPhoneNumber={{#switch: {{USERLANGUAGECODE}} |en=Phone |de=Telefon |#default=Phone}}
<tr>
|format=datatable
<th>{{{_label_event_series|Event series}}}</th>
|limit=1000
<td>{{#ask:[[{{FULLPAGENAME}}]]|?IsPartOf=|format=plain|mainlabel=-}}</td>
}}
</tr>
<tr>
<th>{{{_label_start_date|Start date}}}</th>
<td>{{{start_date|}}}</td>
</tr>
<tr>
<th>{{{_label_end_date|End date}}}</th>
<td>{{{end_date|}}}</td>
</tr>
<tr>
<th>{{{_label_duration|Duration}}}</th>
<td>{{{duration|}}}</td>
</tr>
<tr>
<th>{{{_label_location_name|Location}}}</th>
<td>{{{location_name|}}}</td>
</tr>
<tr>
<th>{{{_label_url|URL}}}</th>
<td>{{{url|}}}</td>
</tr>
<tr>
<th>{{{_label_organizer|Organizer}}}</th>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?HasOrganizer=|format=plain|mainlabel=-}}</td>
</tr>
<tr>
<th>{{{_label_minutes_taker|Minutes taker}}}</th>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?HasMinutesTaker=|format=plain|mainlabel=-}}</td>
</tr>
<tr>
<th>{{{_label_project|Project(s)}}}</th>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?HasProject=|format=plain|mainlabel=-}}</td>
</tr>
<tr>
<th>{{{_labelassociated_ou|Associated OU(s)}}}</th>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?HasAssociatedOu=|format=plain|mainlabel=-}}</td>
</tr>
</table>
jsondata
Line 1: Line 1:
{
{
    "subclass_of": [
        "Category:OSWb97757b46edb430591758662c18d354d"
    ],
     "type": [
     "type": [
         "Category:Category"
         "Category:Category"
    ],
    "subclass_of": [
        "Category:Item"
    ],
    "utf8_icon": [
        "📆"
     ],
     ],
     "uuid": "0e084dec-ca6f-48a7-b023-d6b7b2c1452d",
     "uuid": "0e084dec-ca6f-48a7-b023-d6b7b2c1452d",
    "name": "Event",
     "label": [
     "label": [
         {
         {
             "text": "Event",
             "text": "Event with People",
             "lang": "en"
             "lang": "en"
         },
         },
         {
         {
             "text": "Ereignis",
             "text": "Veranstaltung",
             "lang": "de"
             "lang": "de"
         }
         }
Line 31: Line 27:
         }
         }
     ],
     ],
    "utf8_icon": [
        "📆"
    ],
    "name": "EventWithPeople",
     "instance_rdf_type": [
     "instance_rdf_type": [
         "schema:Event"
         "schema:Event"
     ]
     ]
}
}
jsonschema
Line 1: Line 1:
{
{
     "@context": [
     "@context": [
        "/wiki/Category:Item?action=raw\u0026slot=jsonschema",
         {
         {
             "associated_ou": {
             "associated_ou": {
Line 7: Line 6:
                 "@type": "@id"
                 "@type": "@id"
             },
             },
             "duration": {
             "end_date_min": {
                 "@id": "schema:duration",
                 "@id": "Property:HasEndDateAndTime",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
             "duration*": {
             "end_date_max": {
                 "@id": "Property:HasDuration",
                 "@id": "Property:HasEndDateAndTime",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
             "end_date": {
             "event_series": {
                 "@id": "schema:endDate",
                 "@id": "Property:IsPartOf",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
             "end_date*": {
             "funding": {
                 "@id": "Property:HasEndDateAndTime",
                 "@id": "schema:funding",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
             "end_date_min": {
             "funding*": {
                 "@id": "Property:HasEndDateAndTime",
                 "@id": "Property:HasFunding",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
             "end_date_max": {
             "funding_name": {
                 "@id": "Property:HasEndDateAndTime",
                 "@id": "schema:funding",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
             "event_series": {
             "funding_name*": {
                 "@id": "Property:IsPartOf",
                 "@id": "Property:HasFunding",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
Line 59: Line 58:
                 "@type": "@id"
                 "@type": "@id"
             },
             },
             "start_date": {
             "project": {
                 "@id": "Property:HasStartDateAndTime",
                 "@id": "Property:HasProject",
                "@type": "@id"
            },
            "start_date*": {
                "@id": "schema:startDate",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
Line 83: Line 78:
                 "@type": "@id"
                 "@type": "@id"
             }
             }
         }
         },
        "/wiki/Category:OSWb97757b46edb430591758662c18d354d?action=raw\u0026slot=jsonschema"
     ],
     ],
     "allOf": [
     "allOf": [
         {
         {
             "$ref": "/wiki/Category:Item?action=raw\u0026slot=jsonschema"
             "$ref": "/wiki/Category:OSWb97757b46edb430591758662c18d354d?action=raw\u0026slot=jsonschema"
         }
         }
     ],
     ],
    "uuid": "0e084dec-ca6f-48a7-b023-d6b7b2c1452d",
     "type": "object",
     "type": "object",
    "rdf_type": {
     "title": "Event with People",
        "title": "RDF type",
        "title*": {
            "de": "RDF-Typ"
        },
        "type": "string",
        "default": "schema:Event",
        "options": {
            "hidden": true
        }
    },
    "schema_type": [
        "schema:Event"
    ],
     "title": "Event",
     "title*": {
     "title*": {
         "de": "Ereignis",
         "de": "Veranstaltung",
         "en": "Event"
         "en": "Event with People"
     },
     },
     "description": "An event, either local, remote or hybrid. E.g., a meeting or a conference. This element is intended to be used to document events. It is dedicated especially to notes, resolutions and tasks. For recurring events (series), the tasks should be managed there.",
     "description": "An event, either local, remote or hybrid. E.g., a meeting or a conference. This element is intended to be used to document events. It is dedicated especially to notes, resolutions and tasks. For recurring events (series), the tasks should be managed there.",
Line 115: Line 98:
         "en": "An event, either local, remote or hybrid. E.g., a meeting or a conference. This element is intended to be used to document events. It is dedicated especially to notes, resolutions and tasks. For recurring events (series), the tasks should be managed there."
         "en": "An event, either local, remote or hybrid. E.g., a meeting or a conference. This element is intended to be used to document events. It is dedicated especially to notes, resolutions and tasks. For recurring events (series), the tasks should be managed there."
     },
     },
    "required": [
        "allday",
        "start_date",
        "type"
    ],
    "defaultProperties": [
        "allday",
        "start_date",
        "end_date",
        "event_series",
        "location_name",
        "participants",
        "minutes_taker",
        "organizer",
        "project",
        "event_classifier",
        "associated_ou"
    ],
     "properties": {
     "properties": {
         "type": {
         "type": {
Line 120: Line 121:
                 "Category:OSW0e084decca6f48a7b023d6b7b2c1452d"
                 "Category:OSW0e084decca6f48a7b023d6b7b2c1452d"
             ]
             ]
        },
        "allday": {
            "type": "boolean",
            "title": "All day",
            "title*": {
                "de": "Ganztägig"
            },
            "default": false
         },
         },
         "start_date": {
         "start_date": {
Line 129: Line 138:
             "oneOf": [
             "oneOf": [
                 {
                 {
                     "format": "date",
                     "format": "datetime-local",
                     "title": "Date",
                     "title": "Date and time",
                     "title*": {
                     "title*": {
                         "de": "Datum"
                         "de": "Datum und Uhrzeit"
                     }
                     }
                 },
                 },
                 {
                 {
                     "format": "datetime-local",
                     "format": "date",
                     "title": "Date and time",
                     "title": "Date",
                     "title*": {
                     "title*": {
                         "de": "Datum und Uhrzeit"
                         "de": "Datum"
                     }
                     }
                 }
                 }
             ],
             ]
            "options": {
                "flatpickr": {}
            }
         },
         },
         "start_date_min": {
         "start_date_min": {
Line 155: Line 161:
             "format": "datetime-local",
             "format": "datetime-local",
             "options": {
             "options": {
                "flatpickr": {},
                 "conditional_visible": {
                 "conditional_visible": {
                     "modes": "query"
                     "modes": "query"
Line 174: Line 179:
             "format": "datetime-local",
             "format": "datetime-local",
             "options": {
             "options": {
                "flatpickr": {},
                 "conditional_visible": {
                 "conditional_visible": {
                     "modes": "query"
                     "modes": "query"
Line 186: Line 190:
         },
         },
         "duration": {
         "duration": {
             "type": "object",
             "type": "string",
             "title": "Event duration",
             "title": "Duration",
             "title*": {
             "title*": {
                 "de": "Dauer des Ereignisses"
                 "de": "Dauer"
             },
             },
             "properties": {
             "format": "time",
                "number": {
            "options": {
                    "type": "number",
                 "flatpickr": {
                    "title": "Count",
                     "enableTime": true,
                    "title*": {
                     "noCalendar": true,
                        "de": "Anzahl"
                     "dateFormat": "H:i",
                    },
                     "time_24hr": true
                    "default": 1
                },
                 "unit": {
                     "type": "string",
                     "title": "Unit",
                     "title*": {
                        "de": "Einheit"
                    },
                    "enum": [
                        "minute(s)",
                        "hour(s)",
                        "day(s)",
                        "week(s)",
                        "month(s)",
                        "year(s)"
                    ],
                     "default": "hour(s)"
                 }
                 }
             }
             }
Line 220: Line 207:
         "end_date": {
         "end_date": {
             "type": "string",
             "type": "string",
            "format": "datetime",
             "title": "End",
             "title": "End",
             "title*": {
             "title*": {
Line 227: Line 213:
             "oneOf": [
             "oneOf": [
                 {
                 {
                     "format": "date",
                     "format": "datetime-local",
                     "title": "Date",
                     "title": "Date and time",
                     "title*": {
                     "title*": {
                         "de": "Datum"
                         "de": "Datum und Uhrzeit"
                     }
                     }
                 },
                 },
                 {
                 {
                     "format": "datetime-local",
                     "format": "date",
                     "title": "Date and time",
                     "title": "Date",
                     "title*": {
                     "title*": {
                         "de": "Datum und Uhrzeit"
                         "de": "Datum"
                     }
                     }
                 }
                 }
             ],
             ]
            "options": {
                "flatpickr": {}
            }
         },
         },
         "event_series": {
         "event_series": {
Line 262: Line 245:
             },
             },
             "default": ""
             "default": ""
        },
        "funding": {
            "title": "Funding",
            "title*": {
                "de": "Förderung"
            },
            "description": "Funding (Grant) for the event.",
            "description*": {
                "de": "Förderung für das Ereignis."
            },
            "type": "array",
            "format": "table",
            "items": {
                "title": "Funding",
                "title*": {
                    "de": "Förderung"
                },
                "type": "string",
                "format": "autocomplete",
                "category": "Category:OSW25bc4daf97644737a76434b88e1d5b21",
                "default": ""
            }
        },
        "funding_name": {
            "title": "Funding (grant no. or name)",
            "title*": {
                "de": "Förderung (Förderkennzeichen oder Bezeichnung)"
            },
            "description": "Name of the funding (Grant) for the event.",
            "description*": {
                "de": "Name oder Kennzeichen der Förderung für das Ereignis."
            },
            "type": "array",
            "format": "table",
            "items": {
                "title": "Funding",
                "title*": {
                    "de": "Förderung"
                },
                "type": "string",
                "default": ""
            }
         },
         },
         "location_name": {
         "location_name": {
Line 288: Line 313:
                 "internal",
                 "internal",
                 "external"
                 "external"
             ]
             ],
            "default": "",
            "options": {
                "enum_titles": [
                    "Internal",
                    "External"
                ],
                "enum_titles*": {
                    "de": [
                        "Intern",
                        "Extern"
                    ]
                }
            }
         },
         },
         "participants": {
         "participants": {
Line 427: Line 465:
             ]
             ]
         }
         }
     },
     }
    "required": [
        "type"
    ],
    "uuid": "0e084dec-ca6f-48a7-b023-d6b7b2c1452d"
}
}
footer_template
Line 1: Line 1:
 
=={{#switch:{{USERLANGUAGECODE}}|en=Participants|de=Teilnehmende}}==
{{#ask: [[Category:OSW44deaa5b806d41a2a88594f562b110e9]][[-HasParticipant::{{FULLPAGENAME}}]]
|?HasOrganization={{#switch: {{USERLANGUAGECODE}} |en=Organization |de=Organisation |#default=Organization}}
|?HasOu={{#switch: {{USERLANGUAGECODE}} |en=OU |de=OE |#default=OU}}
|?HasRoom={{#switch: {{USERLANGUAGECODE}} |en=Room |de=Raum |#default=Room}}
|?HasPhoneNumber={{#switch: {{USERLANGUAGECODE}} |en=Phone |de=Telefon |#default=Phone}}
|format=datatable
|limit=1000
}}