« Modèle:BlocBoutonModifier » : différence entre les versions
Apparence
Page créée avec « <includeonly> {{#ifeq:{{NAMESPACE}}|{{{Namespace|}}}| {{#vardefine:__bbm_ok|0}} {{#ifingroup:sysop|{{#vardefine:__bbm_ok|1}}}} {{#if:{{{Group|}}}| {{#ifingroup:{{{Group}}}|{{#vardefine:__bbm_ok|1}}}} }} {{#if:{{{Group2|}}}| {{#ifingroup:{{{Group2}}}|{{#vardefine:__bbm_ok|1}}}} }} {{#ifeq:{{#var:__bbm_ok}}|1| <div class="{{{Class|fiche-bouton-modif}}}" style="{{{Style|text-align:center; margin-top:1em; margin-bottom:0.5em;}}}"> Sp... » |
mAucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
<includeonly> | <includeonly> | ||
<div class="bloc-bouton-modifier" style="text-align:center; margin-top:1em; margin-bottom:0.5em;"> | |||
{{#ifeq:{{NAMESPACE}}|{{{Namespace|}}}| | {{#ifeq:{{NAMESPACE}}|{{{Namespace|}}}| | ||
{{#ifingroup:{{{Groupe1|sysop}}}| | |||
{{#ifingroup: | [[Special:FormEdit/{{{Form|}}}/{{{Target|{{FULLPAGENAME}}}}}| | ||
<span class="mw-ui-button mw-ui-progressive" | |||
style=" | |||
font-size:110%; | |||
padding:0.55em 0.95em; | |||
border-radius:8px; | |||
display:inline-flex; | |||
align-items:center; | |||
justify-content:center; | |||
[[Special:FormEdit/{{{Form|}}}/{{FULLPAGENAME}}| | text-align:center !important; | ||
<span class="mw-ui-button mw-ui-progressive" style=" | line-height:1.2; | ||
white-space:nowrap; | |||
" | |||
>{{{Texte|Modifier cette fiche}}}</span> | |||
]] | |||
| | |||
{{#ifingroup:{{{Groupe2|}}}| | |||
[[Special:FormEdit/{{{Form|}}}/{{{Target|{{FULLPAGENAME}}}}}| | |||
<span class="mw-ui-button mw-ui-progressive" | |||
style=" | |||
font-size:110%; | |||
padding:0.55em 0.95em; | |||
border-radius:8px; | |||
display:inline-flex; | |||
align-items:center; | |||
justify-content:center; | |||
text-align:center !important; | |||
line-height:1.2; | |||
white-space:nowrap; | |||
" | |||
>{{{Texte|Modifier cette fiche}}}</span> | |||
]] | ]] | ||
}} | |||
}} | }} | ||
}} | }} | ||
</div> | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Version du 6 février 2026 à 16:41
(Documentation.)
Paramètres :
- Namespace : nom du namespace (ex. Librairie)
- Form : nom du formulaire PageForms (ex. Librairie)
- Group : groupe autorisé (ex. contributeurs_librairies) + sysop toujours autorisé
- Group2 : 2e groupe optionnel
- Label : texte du bouton
- Class / Style / ButtonStyle : personnalisations optionnelles