259
edits
(Install package: OSW Core) |
(Update package: OSW Core) |
||
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":[" | <div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["IsA","-IsA","HasSchema", "-HasSchema", "-IsInstanceOf","IsLocatedIn"], "ignore_properties":["Subcategory_of", "-Subcategory_of"], "permalink":true, "depth":2, "edit": true}'></div> | ||
<br> | <br> | ||
<br> | <br> | ||
jsondata | |||
Line 14: | Line 14: | ||
} | } | ||
], | ], | ||
"description": [ | "description": [ | ||
{ | { | ||
Line 27: | Line 26: | ||
"lang": "en" | "lang": "en" | ||
} | } | ||
], | |||
"type": [ | |||
"Category:Category" | |||
] | ] | ||
} | } | ||
jsonschema | |||
Line 7: | Line 7: | ||
"@type": "@id" | "@type": "@id" | ||
}, | }, | ||
"type*": "Property:HasType" | "type*": { | ||
"@id": "Property:HasType", | |||
"@type": "@id" | |||
}, | |||
"type**": { | |||
"@id": "Property:HasSchema", | |||
"@type": "@id" | |||
} | |||
} | } | ||
], | ], | ||
Line 14: | Line 21: | ||
"allOf": [ | "allOf": [ | ||
{ | { | ||
"$ref": "/wiki/Category:Entity?action=raw\u0026slot=jsonschema" | "$ref": "/wiki/Category:Entity?action=raw\u0026slot=jsonschema" | ||
} | } | ||
Line 29: | Line 35: | ||
"type": "array", | "type": "array", | ||
"format": "table", | "format": "table", | ||
"propertyOrder": -1000, | |||
"eval_template": [ | "eval_template": [ | ||
{ | { | ||
Line 45: | Line 52: | ||
"options": { | "options": { | ||
"autocomplete": { | "autocomplete": { | ||
"query": "[[ | "query": "[[HasType::Category:Category]] |?Display_title_of=label" | ||
} | } | ||
} | } | ||
}, | }, | ||
" | "minItems": 1, | ||
"default": [ | "default": [ | ||
"Category:Item" | "Category:Item" |
edits