Modèle:Input : Différence entre versions
[version vérifiée] | [version vérifiée] |
Ligne 1 : | Ligne 1 : | ||
− | {{Label|for={{{id}}}|id={{{labelId|}}}|class={{{labelClass|}}}|style=display: flex; flex-direction: row; gap: 8px; align-items: center; padding-left: 0; {{{labelStyle|}}}|text={{{text|}}} | + | {{Label|for={{{id}}}|id={{{labelId|}}}|class={{{labelClass|}}}|style=display: flex; flex-direction: row; gap: 8px; align-items: center; {{#ifeq:{{{type|}}}|checkbox||padding-left: 0;}} {{{labelStyle|}}}|text={{{text|}}} |
<div data-element="input" data-name="{{{name|{{{id}}}}}}" data-id="{{{id}}}" {{#switch:{{{type|}}} | <div data-element="input" data-name="{{{name|{{{id}}}}}}" data-id="{{{id}}}" {{#switch:{{{type|}}} | ||
|checkbox=data-style="display: inline-block; vertical-align: middle; margin: 0; width: {{{size|25px}}}; height: {{{size|25px}}}; font-size: {{{size|25px}}}; border-radius: 8px; flex-shrink: 0; {{{style|}}}" | |checkbox=data-style="display: inline-block; vertical-align: middle; margin: 0; width: {{{size|25px}}}; height: {{{size|25px}}}; font-size: {{{size|25px}}}; border-radius: 8px; flex-shrink: 0; {{{style|}}}" |