(Update package: OSW Core) |
(Update package: OSW Core) |
||
(One intermediate revision by the same user not shown) | |||
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": true, | |||
"autovalue": "{{subst:UUID}}" | |||
} | } | ||
}, | }, | ||
Line 40: | Line 56: | ||
"en": "Adds a wellplate editor", | "en": "Adds a wellplate editor", | ||
"de": "Fügt einen Wellplatten-Editor hinzu " | "de": "Fügt einen Wellplatten-Editor hinzu " | ||
} | }, | ||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 09:03, 27 June 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 | required |