Category:OSW5a06d049e4e04215bef72aacf7f95fe7: Difference between revisions

no edit summary
(delete header template)
Tag: Metadata slot edit
No edit summary
Tag: Metadata slot edit
jsonschema
Line 81: Line 81:
     "properties": {
     "properties": {
         "type": {
         "type": {
            "propertyOrder": 2000,
             "default": [
             "default": [
                 "Category:OSW5a06d049e4e04215bef72aacf7f95fe7"
                 "Category:OSW5a06d049e4e04215bef72aacf7f95fe7"
Line 114: Line 115:
                 "Project"
                 "Project"
             ],
             ],
            "additionalProperties": false,
             "properties": {
             "properties": {
                 "uuid": {
                 "uuid": {
Line 136: Line 138:
                     "enum": [
                     "enum": [
                         "Thin Film",
                         "Thin Film",
                        "Bulk",
                         "Powder"
                         "Powder"
                     ]
                     ]
Line 206: Line 207:
                 }
                 }
             },
             },
            "eval_template": {
                "type": "wikitext",
                "mode": "render",
                "value": "{{#if:{{{Parent|}}}|Parent: {{{Parent|}}}}}"
            },
            "additionalProperties": false,
             "properties": {
             "properties": {
                 "uuid": {
                 "uuid": {
Line 219: Line 226:
                     "title": "Sample Parent",
                     "title": "Sample Parent",
                     "description": "Leave empty if your sample is not created out of an other sample which should be listed.",
                     "description": "Leave empty if your sample is not created out of an other sample which should be listed.",
                    "eval_template": {
                        "type": "mustache-wikitext",
                        "mode": "render",
                        "value": "{{=\u003C% %\u003E=}}\u003C%#Parent%\u003E[[:\u003C%.%\u003E]] \u003Cbr\u003E \u003C%/Parent%\u003E"
                    },
                     "items": {
                     "items": {
                         "type": "string",
                         "type": "string",
Line 250: Line 262:
                 "InvolvedPerson"
                 "InvolvedPerson"
             ],
             ],
            "eval_template": {
                "type": "wikitext",
                "mode": "render",
                "value": "{{#if:{{{InvolvedPersons|}}}|{{{InvolvedPersons|}}}}}"
            },
             "items": {
             "items": {
                 "type": "object",
                 "type": "object",
Line 258: Line 275:
                     }
                     }
                 },
                 },
                "eval_template": {
                    "type": "wikitext",
                    "mode": "render",
                    "value": "{{#if:{{{InvolvedPersonID|}}}|{{{PersonRole|}}}: {{{InvolvedPersonID|}}}\u003Cbr\u003E}}"
                },
                "additionalProperties": false,
                 "properties": {
                 "properties": {
                     "uuid": {
                     "uuid": {
Line 283: Line 306:
                 }
                 }
             }
             }
        },
        "description": {
            "propertyOrder": 2010
         }
         }
     }
     }
}
}