Template:Editor/Wellplate: Difference between revisions

Template page
(Install 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;">{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-{{{file_name}}}.wellplate.svg</div>
|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
}
}
},
},

Latest revision as of 15:06, 4 April 2023

Adds a wellplate editor

Template parameters

ParameterDescriptionTypeStatus
Namefile_name

Wellplate name

Auto value
wellplate-01
Stringrequired
Page namepage_name

is filled in automatically

Auto value
{{subst:FULLPAGENAME}}
Page nameoptional
Unique IDuuid

Automatically generated and should not be changed

Stringoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.