DrawIO
From KIproBatt Wiki
(Updated with content from Extension:OpenSemanticLab version 0.0.3) |
(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 | ||
} | } | ||
}, | }, |
Latest revision as of 05:23, 17 May 2022
Adds a MS-Visio-like diagram editor
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | file_name | Name der Zeichnung | File | required |
Dateiformat | type | Die Zeichnung kann als Vektor- oder Rastergraphik gespeichert werden
| String | optional |
Breite | width | Breite der Graphik in Pixeln
| String | optional |
Page name | page_name | is filled in automatically
| Page | optional |
Full width | full_width | Used the full page width to display the diagram
| Boolean | suggested |