(Difference between pages)
hw>Mlink-rodrigue No edit summary |
hw>Mlink-rodrigue No edit summary |
||
Line 1: | Line 1: | ||
. | <includeonly><templatestyles src="Svg/styles.css" /> | ||
{{#widget:Svg|img={{filepath:{{{img|}}} }}|width={{{width|}}}|height={{{height|}}}}} | |||
<div class="pdfonly">[[File:{{{img|}}}|{{{width|}}}x{{{width|}}}px]]</div> | |||
</includeonly> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
} | "params": { | ||
. | "width": { | ||
"suggested": true, | |||
"label": { | |||
"en": "Width (optional, e.g.: 800)", | |||
"de": "Breite (optional, z.B. 800)" | |||
} | |||
}, | |||
"height": { | |||
"suggested": true, | |||
"label": { | |||
"en": "Height (optional, e.g.: 500)", | |||
"de": "Höhe (optional, z.B.: 500)" | |||
} | |||
}, | |||
"img": { | |||
"required": true, | |||
"label": { | |||
"en": "Name (z.B.: prozessdiagramm.svg)", | |||
"de": "Bildname (z.B. Organigramm.svg" | |||
}, | |||
"description": { | |||
"en": "Die SVG Datei muss im Wiki existieren", | |||
"de": "Die SVG Datei muss im Wiki existieren" | |||
} | |||
} | |||
}, | |||
"paramOrder": [ | |||
"img", | |||
"width", | |||
"height" | |||
], | |||
"description": { | |||
"en": "SVG embedding", | |||
"de": "SVG einbinden" | |||
} | |||
} | } | ||
</templatedata> | |||
</noinclude> |
Revision as of 12:15, 3 March 2022
SVG embedding
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name (z.B.: prozessdiagramm.svg) | img | Die SVG Datei muss im Wiki existieren | Unknown | required |
Width (optional, e.g.: 800) | width | no description | Unknown | suggested |
Height (optional, e.g.: 500) | height | no description | Unknown | suggested |