Category:Entity: Difference between revisions

From Onterface Dataspace
Update package: OSW Core
(Update package: OSW Core)
(Update package: OSW Core)
 
header_template
Line 1: Line 1:
<table class="info_box">
<table class="info_box">
<tr>
<tr>
<th class="heading" colspan="2">{{#if: {{{label|}}}|{{{label|}}} [{{{id|{{PAGENAME}}}}}] | {{{id|{{PAGENAME}}}}} }}  
<th class="heading" colspan="2">{{#if: {{{label|}}}|{{{label|}}} | {{{id|{{PAGENAME}}}}} }}  
</th>
</th>
</tr>
</tr>
Line 63: Line 63:
     }}</td>
     }}</td>
</tr>
</tr>
<tr>
{{#if: {{{ordering_categories|}}}|<!-- show a row if an ordering_categories exists -->
    <th>{{{_label_ordering_categories|Classification categories}}}</th>
    <td>{{{ordering_categories|}}}</td>
    </tr>
    <tr>
|}}
{{#if: {{{keywords|}}}|<!-- show a row if an keywords exists -->
     <tr>
     <tr>
     <th>{{{_keywords_name|Keywords}}}</th>
     <th>{{{_keywords_name|Keywords}}}</th>
     <td>{{{keywords|}}}</td>
     <td>{{{keywords|}}}</td>
     </tr>
     </tr>
|}}
</table>
</table>


jsonschema
Line 56: Line 56:
             "@id": "Property:HasFileAttachment",
             "@id": "Property:HasFileAttachment",
             "@type": "@id"
             "@type": "@id"
        },
        "meta": {
            "@id": "Property:HasMeta",
            "@type": "@id",
            "@context": {
                "change_id": {
                    "@id": "Property:HasChangeId",
                    "@type": "xsd:string"
                }
            }
         }
         }
     },
     },
Line 172: Line 182:
         },
         },
         "query_label": {
         "query_label": {
             "title": "Label",
             "title": "Query label",
             "title*": {
             "title*": {
                 "de": "Name"
                 "de": "Abfrage-Bezeichnung"
             },
             },
             "type": "string",
             "type": "string",
Line 234: Line 244:
         "keywords": {
         "keywords": {
             "type": "array",
             "type": "array",
            "format": "table",
             "title": "Keywords / Tags",
             "title": "Keywords / Tags",
             "title*": {
             "title*": {
Line 245: Line 256:
                 "type": "mustache-wikitext",
                 "type": "mustache-wikitext",
                 "mode": "render",
                 "mode": "render",
                 "value": "{{=\u003C% %\u003E=}} \u003C%={{ }}=%\u003E  {{#keywords}}[[{{{.}}}]] \u003Cbr\u003E {{/keywords}} {{=\u003C% %\u003E=}} \u003C%={{ }}=%\u003E"
                 "value": "{{#keywords}}[[{{{.}}}]] \u003Cbr\u003E {{/keywords}}"
             },
             },
             "items": {
             "items": {
Cookies help us deliver our services. By using our services, you agree to our use of cookies.