Template:Editor/Wellplate: Difference between revisions

Template page
(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;">{{#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": 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

Template parameters

This template prefers block formatting of 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

Auto value
{{subst:UUID}}
Stringrequired
Cookies help us deliver our services. By using our services, you agree to our use of cookies.