(Update package: OSW Core) |
(Update package: OSW Core) |
||
Line 4: | Line 4: | ||
}} | }} | ||
{{Template:Helper/UI/VE/Hidden | {{Template:Helper/UI/VE/Hidden | ||
|content=<div class="WellplateEditor" style="display:hide;" | |content=<div class="WellplateEditor" style="display:hide;" data-config='{ | ||
"file_title": "{{#if:{{{uuid|}}}|OSW{{#replace:{{{uuid}}}|-|}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-{{{file_name}}}}}.wellplate.svg", | |||
"file_label": "{{{file_name}}}" | |||
}'></div> | |||
}}</includeonly> | }}</includeonly> | ||
<noinclude>[[Category:OSL/Infrastructure/Template/User]] | <noinclude>[[Category:OSL/Infrastructure/Template/User]] | ||
Line 35: | Line 38: | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"autovalue": "{{subst:FULLPAGENAME}}" | "autovalue": "{{subst:FULLPAGENAME}}" | ||
}, | |||
"uuid": { | |||
"label": { | |||
"en": "Unique ID", | |||
"de": "Eindeutige ID" | |||
}, | |||
"description": { | |||
"en": "Automatically generated and should not be changed", | |||
"de": "Wird automatisch generiert und sollte nicht verändert werden" | |||
}, | |||
"type": "string", | |||
"required": false | |||
} | } | ||
}, | }, |
Revision as of 05:35, 6 April 2023
Adds a wellplate editor
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | file_name | Wellplate name
| String | required |
Page name | page_name | is filled in automatically
| Page name | optional |
Unique ID | uuid | Automatically generated and should not be changed | String | optional |