Category:OSW5efde23b1d8c4e1c864ef039cb0616ed: Difference between revisions

Update package: OSW Base
(Install package: OSW Base)
 
(Update package: OSW Base)
 
Line 4: Line 4:
* General (same as UUID of the category page): 5efde23b-1d8c-4e1c-864e-f039cb0616ed
* General (same as UUID of the category page): 5efde23b-1d8c-4e1c-864e-f039cb0616ed
* FhG: 45ff2e35-4e6b-5f61-9b01-f6232aab4f1d
* FhG: 45ff2e35-4e6b-5f61-9b01-f6232aab4f1d
{{#ask: [[{{FULLPAGENAME}}]]
|?HasLabel={{#switch: {{USERLANGUAGECODE}} |de=Label (de) |#default=Label (en) }} |+lang={{USERLANGUAGECODE}}
|?HasNumberOfRoleOwners={{#switch:{{USERLANGUAGECODE}} |en=Number of role owners |de=Rolleninhaber/innen (Anzahl) |#default=Number of role owners }}
|?HasAdLabel={{#switch: {{USERLANGUAGECODE}} |en=AD label |de=AD-Label |#default=AD label }}
|?HasMiriLabel={{#switch: {{USERLANGUAGECODE}} |en=MIRI label |de=MIRI-Label |#default=MIRI label }}
|?HasMiriId={{#switch: {{USERLANGUAGECODE}} |en=MIRI id |de=MIRI-ID |#default=MIRI id }}
|format=datatable
|limit=5000
|sort=Display title of
|order=asc
}}
jsonschema
Line 8: Line 8:
     "title": "Person role",
     "title": "Person role",
     "required": [
     "required": [
         "type",
         "type"
        "ad_label"
     ],
     ],
     "@context": [
     "@context": [
         {
         {
             "ad_label": "Property:HasAdLabel"
             "ad_label": "Property:HasAdLabel",
            "miri_label": "Property:HasMiriLabel",
            "miri_id": "Property:HasMiriId"
         }
         }
     ],
     ],
Line 22: Line 23:
                 "de": "AD-Label"
                 "de": "AD-Label"
             },
             },
             "desciption": "Label of the title in the Active Directory",
             "description": "Label of the role in the Active Directory",
             "description*": {
             "description*": {
                 "de": "Label des Titels im Active Directory"
                 "de": "Label des Rolle im Active Directory"
            },
            "type": "array",
            "format": "table",
            "items": {
                "title": "",
                "type": "string"
            }
        },
        "miri_label": {
            "title": "MIRI label",
            "title*": {
                "de": "MIRI-Label"
            },
            "description": "Label of the role in MIRI and eDirectory",
            "description*": {
                "de": "Label der Rolle in MIRI und eDirectory"
            },
            "type": "array",
            "format": "table",
            "items": {
                "title": "",
                "type": "string"
            }
        },
        "miri_id": {
            "title": "MIRI id",
            "title*": {
                "de": "MIRI-ID"
            },
            "description": "ID of the role in MIRI",
            "description*": {
                "de": "ID der Rolle in MIRI"
            },
            "type": "array",
            "format": "table",
            "items": {
                "title": "",
                "type": "string"
            }
        },
        "miri_label_orig": {
            "title": "Original MIRI label",
            "title*": {
                "de": "Ursprüngliches MIRI-Label"
            },
            "description": "Original label of the role in MIRI",
            "description*": {
                "de": "Ursprüngliches Label der Rolle in MIRI"
             },
             },
             "type": "array",
             "type": "array",
header_template
Line 1: Line 1:
 
=={{#switch:{{USERLANGUAGECODE}}|en=Role owners|de=Rolleninhaber/innen|#default=Role owners}}==
{{#set: HasNumberOfRoleOwners=
    {{#ask: [[Category:OSW44deaa5b806d41a2a88594f562b110e9]][[HasRole::{{FULLPAGENAME}}]]
        |format=count
        |limit=1000
        }}
    }}
{{#switch:{{USERLANGUAGECODE}}
        |en=Number of role owners
        |de=Rolleninhaber/innen (Anzahl)
        |#default=Number of role owners
    }}: {{#show: {{FULLPAGENAME}} |?HasNumberOfRoleOwners}}
{{#ask: [[Category:OSW44deaa5b806d41a2a88594f562b110e9]][[HasRole::{{FULLPAGENAME}}]]
    |?HasOu={{#switch: {{USERLANGUAGECODE}} |en=OU |de=OE |#default=OU}}
    |?HasPhoneNumber={{#switch: {{USERLANGUAGECODE}} |en=Phone |de=Telefon |#default=Phone}}
    |format=datatable
    |limit=1000
    |sort=Display title of
    |order=asc
    }}