Template:Editor/SvgEdit: Difference between revisions

Template page
(Update package: OSW Core)
 
(Update package: OSW Core)
Line 5: Line 5:
{{Template:Helper/UI/VE/Hidden  
{{Template:Helper/UI/VE/Hidden  
|content=<div class="SvgEdit" style="width: {{{width|100%}}}; height: 500px;">{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-{{{file_name}}}.svg</div>
|content=<div class="SvgEdit" style="width: {{{width|100%}}}; height: 500px;">{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-{{{file_name}}}.svg</div>
}}</includeonly><noinclude>[[Category:OSL/Infrastructure/Template/User]]
}}<div style="display:none">[[Media:{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-{{{file_name}}}.svg]]</div></includeonly><!-- Hidden link to file to include file in page images-->
<noinclude>[[Category:OSL/Infrastructure/Template/User]]
<templatedata>
<templatedata>
{
{

Revision as of 09:37, 7 March 2023

Adds a freehand graphic editor

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namefile_name

Sketch name

Auto value
sketch-01
Stringrequired
Breitewidth

Width of the graphic

Example
600px or 100%
Auto value
100%
Stringoptional
Page namepage_name

is filled in automatically

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