Category:Entity: Difference between revisions

Category page
Category:Entity
(Update package: OSW Core)
(Update package: OSW Core)
jsonschema
Line 21: Line 21:
             "@id": "@type"
             "@id": "@type"
         },
         },
        "uuid*": "Property:HasUuid",
         "name*": "Property:HasName",
         "name*": "Property:HasName",
         "label": "skos:prefLabel",
         "label": "skos:prefLabel",
Line 35: Line 36:
         "image": "schema:image",
         "image": "schema:image",
         "image*": "Property:HasImage",
         "image*": "Property:HasImage",
        "based_on": "skos:isBasedOn",
        "based_on*": {
            "@id": "Property:IsBasedOn",
            "@type": "@id"
        },
         "short_name": "Property:HasShortName",
         "short_name": "Property:HasShortName",
         "statements": "Property:HasStatement"
         "statements": "Property:HasStatement",
        "attachments*": {
            "@id": "Property:HasFileAttachment",
            "@type": "@id"
        }
     },
     },
     "uuid": "ce353767-c628-45bd-9d88-d6eb3009aec0",
     "uuid": "ce353767-c628-45bd-9d88-d6eb3009aec0",
Line 114: Line 124:
                 "type": "mustache-wikitext",
                 "type": "mustache-wikitext",
                 "mode": "render",
                 "mode": "render",
                 "value": "{{=\u003C% %\u003E=}} {{#switch:{{USERLANGUAGECODE}} \u003C%={{ }}=%\u003E {{#label}} |{{lang}}={{text}} {{/label}} {{=\u003C% %\u003E=}} }}"
                 "value": "{{=\u003C% %\u003E=}} {{#switch:{{USERLANGUAGECODE}} \u003C%={{ }}=%\u003E {{#short_name}} |{{lang}}={{text}} {{/short_name}} {{=\u003C% %\u003E=}} }}"
             },
             },
             "items": {
             "items": {
Line 175: Line 185:
                 }
                 }
             ]
             ]
        },
        "based_on": {
            "type": "array",
            "title": "Based on",
            "title*": {
                "de": "Basierend auf"
            },
            "description": "Other entities on which this one is based, e.g. when it is created by copying",
            "description*": {
                "de": "Andere Entitäten auf die diese basiert, z. B. wenn sie durch Kopieren entstanden ist"
            },
            "items": {
                "type": "string"
            },
            "options": {
                "hidden": "true"
            }
         },
         },
         "statements": {
         "statements": {
Line 183: Line 210:
             },
             },
             "format": "tabs",
             "format": "tabs",
            "propertyOrder": 1010,
             "eval_template": {
             "eval_template": {
                 "type": "mustache-wikitext",
                 "type": "mustache-wikitext",
Line 190: Line 218:
             "items": {
             "items": {
                 "$ref": "/wiki/JsonSchema:Statement?action=raw"
                 "$ref": "/wiki/JsonSchema:Statement?action=raw"
            }
        },
        "attachments": {
            "type": "array",
            "title": "File attachments",
            "title*": {
                "de": "Dateianhänge"
            },
            "eval_template": {
                "type": "mustache-wikitext",
                "mode": "render",
                "value": "{{=\u003C% %\u003E=}} \u003C%={{ }}=%\u003E {{#attachments}} [[{{{.}}}]] \u003Cbr\u003E {{/attachments}} {{=\u003C% %\u003E=}}"
            },
            "options": {
                "collapsed": true
            },
            "propertyOrder": 1020,
            "items": {
                "title": "Attachment",
                "title*": {
                    "de": "Anhang"
                },
                "type": "string",
                "format": "url",
                "options": {
                    "upload": {}
                },
                "links": [
                    {
                        "href": "{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}\u0026width=200\u0026height=200{{/if}}",
                        "mediaType": "image"
                    },
                    {
                        "href": "{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}{{/if}}",
                        "rel": "{{#if self}}download{{/if}}",
                        "download": true
                    }
                ]
             }
             }
         }
         }
     }
     }
}
}
footer_template
Line 1: Line 1:
 
{{#if: {{{attachments|}}} |
=={{{_label_attachments| {{#switch:{{USERLANGUAGECODE}}|en=Attachments|de=Anhang|#default=Attachments}} }}}==
<!-- {{#ask: [[IsFileAttachmentOf::{{FULLPAGENAME}}]] -->
{{#ask: [[-HasFileAttachment::{{FULLPAGENAME}}]]
|?HasName
<!-- |?HasName #=Name
|?HasUrl=Link
|?Modification date=Zuletzt geändert  -->
|?HasUrl
|format=gallery
|redirects=HasUrl<!-- Links direct to download -->
|captionproperty=HasName
}} <!-- With format=table chem and math formular fail to render on page!?! -->
<!-- With format=datatable VE page safe fails!?! -->
<!-- <div class="fileupload-auto-reload">{{#batchupload:OslTemplate:ELN/Attachment|{{FULLPAGENAME}}|{{REVISIONUSER}}}}</div> -->
{{#batchupload:}}
|}}
header_template
Line 5: Line 5:
     "class": "btn btn-outline-secondary",  
     "class": "btn btn-outline-secondary",  
     "icon_class": "icon icon-edit",
     "icon_class": "icon icon-edit",
     "label": ""
     "label": "",
    "tooltip": "Edit page"
}'></div><div class="pagebot-button" data-config='{
}'></div><div class="pagebot-button" data-config='{
     "action": "edit-data",
     "action": "edit-data",
     "class": "btn btn-outline-secondary",  
     "class": "btn btn-outline-secondary",  
     "icon_class": "icon icon-menu",
     "icon_class": "icon icon-menu",
    "label": ""
}'></div><div class="pagebot-button" data-config='{
    "action": "copy",
    "class": "btn btn-outline-secondary",
    "icon_class": "icon icon-copy",
    "label": ""
}'></div><div class="pagebot-button" data-config='{
    "action": "export",
    "class": "btn btn-outline-secondary",
    "icon_class": "icon icon-download",
     "label": ""
     "label": ""
}'></div>{{#ifeq: {{NAMESPACE}}|Category|<div class="pagebot-button" data-config='{
}'></div>{{#ifeq: {{NAMESPACE}}|Category|<div class="pagebot-button" data-config='{
     "action": "create-subcategory",
     "action": "create-subcategory",
     "class": "btn btn-light",  
     "class": "btn btn-light",  
     "icon_class": "icon icon-download",
     "icon_class": "icon icon-arrow-down",
     "label": ""
     "label": ""
}'></div><div class="pagebot-button" data-config='{
}'></div><div class="pagebot-button" data-config='{

Revision as of 05:37, 6 April 2023

Entity [Entity]
ID Entity
UUID ce353767-c628-45bd-9d88-d6eb3009aec0
Label Entity
Machine compatible name Entity
Statements (outgoing)
Statements (incoming)
Keywords

Description


📎 Select files (or drop them here)... 📷 Camera


    jsondata
    subclass_of
    "Category:Entity"
    uuid"ce353767-c628-45bd-9d88-d6eb3009aec0"
    label
    text"Entity"
    lang"en"
    text"Entität"
    lang"de"
    name"Entity"
    description
    text"This is meant to be the most basic category."
    lang"en"
    text"Dies soll die aller grundlegendste Kategorie sein."
    lang"de"
    jsonschema
    @context
    schema"https://schema.org/"
    skos"https://www.w3.org/TR/skos-reference/"
    wiki"https://wiki-dev.open-semantic-lab.org/id/"
    Property
    @id"wiki:Property-3A"
    @type"@id"
    @prefixtrue
    File
    @id"https://wiki-dev.open-semantic-lab.org/wiki/Special:Redirect/file/"
    @type"@id"
    @prefixtrue
    Category
    @id"wiki:Category-3A"
    @prefixtrue
    category
    @id"@type"
    uuid*"Property:HasUuid"
    name*"Property:HasName"
    label"skos:prefLabel"
    label*"Property:HasLabel"
    text
    @id"@value"
    lang
    @id"@language"
    query_label"Property:HasLabel"
    description"skos:definition"
    description_"Property:HasDecription"
    image"schema:image"
    image*"Property:HasImage"
    based_on"skos:isBasedOn"
    based_on*
    @id"Property:IsBasedOn"
    @type"@id"
    short_name"Property:HasShortName"
    statements"Property:HasStatement"
    attachments*
    @id"Property:HasFileAttachment"
    @type"@id"
    uuid"ce353767-c628-45bd-9d88-d6eb3009aec0"
    title"Entity"
    type"object"
    id"entity"
    required
    "uuid"
    "label"
    properties
    uuid
    title"UUID"
    type"string"
    format"uuid"
    options
    hiddentrue
    name
    title"Name"
    description"Technical / Machine compatible name"
    description*
    de"Technischer / Maschinenkompatibler Name"
    type"string"
    options
    hiddentrue
    label
    type"array"
    title"Labels"
    title*
    de"Namen"
    description"Human readable names. You have to assign at least one."
    description*
    de"Menschenlesbarer Namen. Du musst mindestens einen vergeben."
    format"table"
    eval_template
    type"mustache-wikitext"
    mode"render"
    value"{{=<% %>=}} {{#switch:{{USERLANGUAGECODE}} <%={{ }}=%> {{#label}} |{{lang}}={{text}} {{/label}} {{=<% %>=}} }}"
    items
    title"Label"
    title*
    de"Name"
    eval_template
    type"wikitext"
    mode"store"
    value"{{{text}}}@{{{lang}}}"
    $ref"/wiki/JsonSchema:Label?action=raw"
    minItems1
    short_name
    type"array"
    title"Short name"
    title*
    de"Kurzname"
    description"Abbreviation, Acronym, etc."
    description*
    de"Abkürzung, Akronym, etc."
    format"table"
    eval_template
    type"mustache-wikitext"
    mode"render"
    value"{{=<% %>=}} {{#switch:{{USERLANGUAGECODE}} <%={{ }}=%> {{#short_name}} |{{lang}}={{text}} {{/short_name}} {{=<% %>=}} }}"
    items
    title"Acronym"
    title*
    de"Kurzname"
    $ref"/wiki/JsonSchema:Label?action=raw"
    query_label
    title"Label"
    title*
    de"Name"
    type"string"
    options
    hiddentrue
    conditional_visible
    modes
    "query"
    description
    title"Description"
    title*
    de"Beschreibung"
    type"array"
    format"table"
    eval_template
    type"mustache-wikitext"
    value"{{=<% %>=}} {{#switch:{{USERLANGUAGECODE}} <%={{ }}=%> {{#description}} |{{lang}}={{text}} {{/description}} {{=<% %>=}} }}"
    items
    $ref"/wiki/JsonSchema:Description?action=raw"
    image
    title"Image"
    title*
    de"Bild"
    type"string"
    format"url"
    options
    upload
    Empty object
    links
    href"{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}&width=200&height=200{{/if}}"
    mediaType"image"
    href"{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}{{/if}}"
    rel"{{#if self}}download{{/if}}"
    downloadtrue
    based_on
    type"array"
    title"Based on"
    title*
    de"Basierend auf"
    description"Other entities on which this one is based, e.g. when it is created by copying"
    description*
    de"Andere Entitäten auf die diese basiert, z. B. wenn sie durch Kopieren entstanden ist"
    items
    type"string"
    options
    hidden"true"
    statements
    type"array"
    title"Statements"
    title*
    de"Aussagen"
    format"tabs"
    propertyOrder1010
    eval_template
    type"mustache-wikitext"
    mode"render"
    value"{{#statements}}.. {{#predicate}}[[{{predicate}}]]{{/predicate}}{{#property}}[[{{property}}]]{{/property}}{{#quantity}}[[{{quantity}}]]{{/quantity}} {{#object}}[[{{object}}]]{{/object}}{{#value}}{{value}}{{/value}}<br>{{/statements}}"
    items
    $ref"/wiki/JsonSchema:Statement?action=raw"
    attachments
    type"array"
    title"File attachments"
    title*
    de"Dateianhänge"
    eval_template
    type"mustache-wikitext"
    mode"render"
    value"{{=<% %>=}} <%={{ }}=%> {{#attachments}} [[{{{.}}}]] <br> {{/attachments}} {{=<% %>=}}"
    options
    collapsedtrue
    propertyOrder1020
    items
    title"Attachment"
    title*
    de"Anhang"
    type"string"
    format"url"
    options
    upload
    Empty object
    links
    href"{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}&width=200&height=200{{/if}}"
    mediaType"image"
    href"{{#if self}}/w/index.php?title=Special:Redirect/file/{{self}}{{/if}}"
    rel"{{#if self}}download{{/if}}"
    downloadtrue

    Subcategories

    This category has the following 4 subcategories, out of 4 total.

    I

    • Item(26 C, 5 P, 1 F)

    O

    P

    Pages in category "Entity"

    This category contains only the following page.

    O

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.