Bots, Bureaucrats, Moderators (CommentStreams), Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
1,298
edits
(Update package: OSW Ontology) |
(render imported_from as link, render property name in restrictions) Tag: Metadata slot edit |
||
jsonschema | |||
---|---|---|---|
Line 131: | Line 131: | ||
"description": "A prefixed IRI defining this entry as a imported term. In OSW the prefix must be a registered imported ontology.", | "description": "A prefixed IRI defining this entry as a imported term. In OSW the prefix must be a registered imported ontology.", | ||
"title": "Imported from", | "title": "Imported from", | ||
"example": "schema:Person" | "example": "schema:Person", | ||
"eval_template": [ | |||
{ | |||
"type": "mustache-wikitext", | |||
"mode": "render", | |||
"value": "{{=\u003C% %\u003E=}} {{#ask: [[:{{FULLPAGENAME}}]] |?Equivalent_URI= |format=plain |mainlabel=-}} \u003C%={{ }}=%\u003E" | |||
} | |||
] | |||
}, | }, | ||
"restrictions": { | "restrictions": { | ||
Line 144: | Line 151: | ||
"type": "mustache-wikitext", | "type": "mustache-wikitext", | ||
"mode": "render", | "mode": "render", | ||
"value": "{{#restrictions}} | "value": "{{#restrictions}} {{=\u003C% %\u003E=}} {{Viewer/Link \u003C%={{ }}=%\u003E |page={{{on_property}}} {{=\u003C% %\u003E=}} }} \u003C%={{ }}=%\u003E [[:{{{some_values_from}}}{{{all_values_from}}}]]\u003Cbr\u003E{{/restrictions}}" | ||
} | } | ||
], | ], |