Changes

Updated with content from Extension:OpenSemanticLab version 0.0.3
Line 4: Line 4:  
}}
 
}}
 
{{OslTemplate:Helper/UI/VE/Hidden  
 
{{OslTemplate:Helper/UI/VE/Hidden  
|content={{#drawio:{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}|type={{{type|svg}}}|max-width={{{width|500px}}}}}
+
|content={{#drawio:{{#if: {{{page_name|}}}|{{#replace:{{#replace: {{{page_name}}}|/|-}}|:|-}}-|}}{{{file_name}}}|type={{{type|svg}}}|max-width={{#ifeq: {{{full_width|0}}}|1|100%| {{{width|500px}}} }}}}
 
}}</includeonly><noinclude>[[Category:OSL/Infrastructure/Template/User]]
 
}}</includeonly><noinclude>[[Category:OSL/Infrastructure/Template/User]]
 
<templatedata>
 
<templatedata>
Line 39: Line 39:  
"type": "wiki-page-name",
 
"type": "wiki-page-name",
 
"autovalue": "{{subst:FULLPAGENAME}}"
 
"autovalue": "{{subst:FULLPAGENAME}}"
 +
},
 +
"full_width": {
 +
"label": {
 +
"en": "Full width",
 +
"de": "Gesamte Seitenbreite"
 +
},
 +
"description": {
 +
"en": "Used the full page width to display the diagram",
 +
"de": "Nutzt die gesamte Seitenbreite zur Darstellung des Diagramms"
 +
},
 +
"type": "boolean",
 +
"autovalue": "0",
 +
"suggested": true
 
}
 
}
 
},
 
},