Category:Item: Difference between revisions

m
Reverted edits by Maintenance script (talk) to last revision by Admin
(Update package: OSW Core)
m (Reverted edits by Maintenance script (talk) to last revision by Admin)
Tag: Rollback
 
(4 intermediate revisions by 2 users not shown)
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","-IsASubcategoryOf","IsASubcategoryOf","-IsInstanceOf","IsLocatedIn"], "ignore_properties":["IsA"], "permalink":true, "depth":2, "edit": true}'></div>
<div style="width: 100%;" class="InteractiveSemanticGraph" data-config='{ "root":"{{FULLPAGENAME}}", "properties":["Subcategory of","-Subcategory of","-IsASubcategoryOf","IsASubcategoryOf","-IsInstanceOf","IsLocatedIn", "SubClassOf", "-SubClassOf"], "ignore_properties":["IsA"], "permalink":true, "depth":2, "edit": true}'></div>
<br>
<br>
<br>
<br>
jsonschema
Line 29: Line 29:
             "type": "array",
             "type": "array",
             "format": "table",
             "format": "table",
            "eval_template": [
                {
                    "type": "mustache-wikitext",
                    "mode": "render",
                    "value": "{{#type}} [[:{{{.}}}]] \u003Cbr\u003E{{/type}}"
                }
            ],
             "items": {
             "items": {
                 "title": "Type",
                 "title": "Type",
header_template
Line 11: Line 11:
<tr>
<tr>
<th>{{{_label_type|Type(s)/Category(s)}}}</th>
<th>{{{_label_type|Type(s)/Category(s)}}}</th>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?HasType=|format=plain|mainlabel=-}}</td>
<td>{{{type|}}}</td>
</tr>
</tr>
</table>
</table>