Changes

From BrineRIS Dataspace
1,658 bytes added ,  04:53, 11 March 2023
Install package: OSW Core
<includeonly>{{Template:Helper/UI/VE/Visible
|icon=browser
|content=Diagram ''{{{file_name}}}''
}}
{{Template:Helper/UI/VE/Hidden
|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]]
<templatedata>
{
"params": {
"file_name": {
"label": "Name",
"description": "Name der Zeichnung",
"type": "wiki-file-name",
"required": true
},
"type": {
"label": "Dateiformat",
"description": "Die Zeichnung kann als Vektor- oder Rastergraphik gespeichert werden",
"example": "svg oder png",
"type": "string",
"autovalue": "svg"
},
"width": {
"label": "Breite",
"description": "Breite der Graphik in Pixeln",
"type": "string",
"autovalue": "600px"
},
"page_name": {
"label": {
"en": "Page name",
"de": "Seitename"
},
"description": {
"en": "is filled in automatically",
"de": "wird automatisch ausgefüllt"
},
"type": "wiki-page-name",
"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
}
},
"description": {
"en": "Adds a MS-Visio-like diagram editor",
"de": "Fügt einen MS Visio ähnlichen Graphikeditor ein"
}
}
</templatedata>
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.