Modèle:FiltreModule : Différence entre versions
[version vérifiée] | [version vérifiée] |
Ligne 1 : | Ligne 1 : | ||
{{#switch:{{{Type|}}} | {{#switch:{{{Type|}}} | ||
|Text= | |Text= | ||
− | {{ | + | {{Input|id=filter-name|name=filterName|style=grid-area: 1 / -1; width: 100%; height: 100%; padding: 3px 20px 3px 46px; margin: 0; border-radius: 999px 0 0 999px;|labelStyle=height: 100%; flex-grow: 1; padding: 0; margin: 0; display: grid; align-items: center;|placeholder={{{placeholder|}}}|text={{Svg|style=grid-area: 1 / -1; z-index: 10; padding-left: 12px;|height=24|viewBox=0 -960 960 960|width=24|data=search}}}} |
− | | | ||
− | | | ||
− | | | ||
− | |placeholder={{{placeholder|}}} | ||
− | | | ||
− | }} | ||
|Range= | |Range= | ||
<div style="font-weight: bold;">{{{name}}}</div> | <div style="font-weight: bold;">{{{name}}}</div> | ||
<div style="display: flex; align-items: center; gap: 3px 0;"> | <div style="display: flex; align-items: center; gap: 3px 0;"> | ||
− | {{Input|id={{{id}}}-min|name= | + | {{Input|id={{{id}}}-min|name={{{id}}}Min|type=number|min=1|max={{{maxLevel|135}}}|value=1|style=margin-right: 0;|labelStyle=display: block; padding-left: 0;|data=filter+{{{id}}}|data2=value+min}} |
<div style="font-family: system-ui; padding: 0 10px;">—</div> | <div style="font-family: system-ui; padding: 0 10px;">—</div> | ||
− | {{Input|id={{{id}}}-max|name= | + | {{Input|id={{{id}}}-max|name={{{id}}}Max|type=number|min=1|max={{{maxLevel|135}}}|value={{{maxLevel|135}}}|labelStyle=display: block; padding-left: 0;|data=filter+{{{id}}}|data2=value+max}} |
</div> | </div> | ||
|Checkbox= | |Checkbox= |