Category:Entity: Difference between revisions

From OpenSemanticWorld
Update package: OSW Core
(Install package: OSW Core)
 
(Update package: OSW Core)
footer_template
Line 1: Line 1:
{{#if: {{{attachments|}}} |
<!-- {{#if: {{{attachments|}}} |-->
=={{{_label_attachments| {{#switch:{{USERLANGUAGECODE}}|en=Attachments|de=Anhang|#default=Attachments}} }}}==
=={{{_label_attachments| {{#switch:{{USERLANGUAGECODE}}|en=Attachments|de=Anhang|#default=Attachments}} }}}==
<!-- {{#ask: [[IsFileAttachmentOf::{{FULLPAGENAME}}]] -->
<!-- {{#ask: [[IsFileAttachmentOf::{{FULLPAGENAME}}]] -->
Line 15: Line 15:
<!-- <div class="fileupload-auto-reload">{{#batchupload:OslTemplate:ELN/Attachment|{{FULLPAGENAME}}|{{REVISIONUSER}}}}</div> -->
<!-- <div class="fileupload-auto-reload">{{#batchupload:OslTemplate:ELN/Attachment|{{FULLPAGENAME}}|{{REVISIONUSER}}}}</div> -->
{{#batchupload:}}
{{#batchupload:}}
|}}
<!--|}}-->
jsondata
Line 24: Line 24:
             "lang": "de"
             "lang": "de"
         }
         }
    ],
    "type": [
        "Category:Category"
     ]
     ]
}
}
jsonschema
Line 33: Line 33:
         "query_label": "Property:HasLabel",
         "query_label": "Property:HasLabel",
         "description": "skos:definition",
         "description": "skos:definition",
         "description_": "Property:HasDecription",
         "description*": "Property:HasDescription",
         "image": "schema:image",
         "image": "schema:image",
         "image*": "Property:HasImage",
         "image*": "Property:HasImage",
Line 158: Line 158:
             "eval_template": {
             "eval_template": {
                 "type": "mustache-wikitext",
                 "type": "mustache-wikitext",
                "mode": "render",
                 "value": "{{=\u003C% %\u003E=}} {{#switch:{{USERLANGUAGECODE}} \u003C%={{ }}=%\u003E {{#description}} |{{lang}}={{text}} {{/description}} {{=\u003C% %\u003E=}} }}"
                 "value": "{{=\u003C% %\u003E=}} {{#switch:{{USERLANGUAGECODE}} \u003C%={{ }}=%\u003E {{#description}} |{{lang}}={{text}} {{/description}} {{=\u003C% %\u003E=}} }}"
             },
             },
             "items": {
             "items": {
                "eval_template": [
                    {
                        "type": "wikitext",
                        "mode": "store",
                        "value": "{{{text}}}@{{{lang}}}"
                    }
                ],
                 "$ref": "/wiki/JsonSchema:Description?action=raw"
                 "$ref": "/wiki/JsonSchema:Description?action=raw"
             }
             }
Cookies help us deliver our services. By using our services, you agree to our use of cookies.