Modèle:Svg : Différence entre versions

[version vérifiée][version vérifiée]
Ligne 1 : Ligne 1 :
<div data-element="svg" {{#if:{{{id|}}}|data-id={{{id}}}}} {{#if:{{{class|}}}|data-class="{{{class}}}"}} data-xmlns="http://www.w3.org/2000/svg" data-height="{{{height|24}}}" data-view-box="{{{viewBox|0 -960 960 960}}}" data-width="{{{width|24}}}" {{#switch:
+
<div data-element="svg" {{#if:{{{id|}}}|data-id={{{id}}}}} {{#if:{{{class|}}}|data-class="{{{class}}}"}} data-xmlns="http://www.w3.org/2000/svg" data-height="{{{height|24}}}" data-view-box="{{{viewBox|0 -960 960 960}}}" data-width="{{{width|24}}}" {{#switch: {{{data|}}}
 
|duplicate=data-data-icon="duplicate"
 
|duplicate=data-data-icon="duplicate"
 
|download=data-data-icon="download"
 
|download=data-data-icon="download"

Version du 1 octobre 2023 à 22:10