Anonymous

Category:Category: Difference between revisions

From OSL Demo
Update package: OSW Core
No edit summary
Tag: Metadata slot edit
(Update package: OSW Core)
jsondata
Line 13: Line 13:
         }
         }
     ],
     ],
     "name": "CategoryClass"
     "name": "CategoryClass",
    "type": [
        "Category:Category"
    ]
}
}
jsonschema
Line 5: Line 5:
             "subclass_of": {
             "subclass_of": {
                 "@id": "rdf:subclass_of",
                 "@id": "rdf:subclass_of",
                "@type": "@id"
            },
            "subclass_of*": {
                "@id": "Property:SubClassOf",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
Line 15: Line 19:
                 "@type": "@id"
                 "@type": "@id"
             },
             },
             "utf8_icon": "Property:HasUtf8Icon",
             "utf8_icon": "Property:HasUtf8Icon"
            "has_energy_output*": {
                "@id": "Property:has_energy_output",
                "@type": "@id"
            },
            "has_energy_input*": {
                "@id": "Property:has_energy_input",
                "@type": "@id"
            },
            "has_part*": {
                "@id": "Property:has_part",
                "@type": "@id"
            },
            "has_participant*": {
                "@id": "Property:has_participant",
                "@type": "@id"
            },
            "has_physical_input*": {
                "@id": "Property:has_physical_input",
                "@type": "@id"
            },
            "has_physical_output*": {
                "@id": "Property:has_physical_output",
                "@type": "@id"
            }
         }
         }
     ],
     ],
Line 50: Line 30:
     "allOf": [
     "allOf": [
         {
         {
            "type": "object",
             "$ref": "/wiki/Category:Entity?action=raw\u0026slot=jsonschema"
             "$ref": "/wiki/Category:Entity?action=raw\u0026slot=jsonschema"
         }
         }
Line 73: Line 52:
                 "type": "string",
                 "type": "string",
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "query": "[[IsA::Category:Category]] |?Display_title_of=label",
                 "options": {
                "previewWikiTextTemplate": "[[:{{result.fulltext}}]]",
                    "autocomplete": {
                 "labelTemplate": "{{result.printouts.label.[0]}}"
                        "query": "[[HasType::Category:Category]]|?Display_title_of=label|?HasImage=image|HasDescription=description"
                    }
                 }
             }
             }
         },
         },
Line 92: Line 73:
                 "type": "string",
                 "type": "string",
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "query": "[[IsA::Category:Category]] |?Display_title_of=label",
                 "options": {
                "previewWikiTextTemplate": "[[:{{result.fulltext}}]]",
                    "autocomplete": {
                 "labelTemplate": "{{result.printouts.label.[0]}}"
                        "query": "[[HasType::Category:Category]]|?Display_title_of=label|?HasImage=image|HasDescription=description"
                    }
                 }
             },
             },
             "minLength": 1,
             "minItems": 1,
             "default": [
             "default": [
                 "Category:Category"
                 "Category:Category"
Line 119: Line 102:
                 "type": "string",
                 "type": "string",
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "query": "[[IsA::Category:Category]] |?Display_title_of=label",
                 "options": {
                "previewWikiTextTemplate": "[[:{{result.fulltext}}]]",
                    "autocomplete": {
                 "labelTemplate": "{{result.printouts.label.[0]}}"
                        "query": "[[HasType::Category:Category]]|?Display_title_of=label|?HasImage=image|HasDescription=description"
                    }
                 }
             },
             },
             "default": [
             "default": [
Line 133: Line 118:
             "type": "array",
             "type": "array",
             "title": "UTF8-Icons",
             "title": "UTF8-Icons",
             "description": "see https://www.w3schools.com/charsets/ref_utf_symbols.asp",
             "description": "see https://www.unicode.org/cldr/charts/latest/annotations/romance.html",
             "description*": {
             "description*": {
                 "de": "see https://www.w3schools.com/charsets/ref_utf_symbols.asp"
                 "de": "siehe https://www.unicode.org/cldr/charts/latest/annotations/germanic.html"
             },
             },
             "items": {
             "items": {
footer_template
Line 1: Line 1:
=={{#switch:{{USERLANGUAGECODE}}|en=Graph|de=Graph}}==
=={{#switch:{{USERLANGUAGECODE}}|en=Graph|de=Graph}}==
<div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["Subcategory of","-Subcategory of","HasUtf8Icon","-NOTHasType", "HasFileAttachment"], "ignore_properties":["IsA"], "permalink":true, "depth":2, "edit": true, "edge_labels": false}'></div>
<div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["SubClassOf","-SubClassOf","HasUtf8Icon"], "ignore_properties":["Subcategory_of", "-Subcategory_of"], "permalink":true, "depth":2, "edit": true, "edge_labels": false}'></div>
<br>
<br>
<br>
<br>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.