« 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 |
||
| (7 versions intermédiaires par le même utilisateur non affichées) | |||
| 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}}}| [[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; text-decoration:none !important; " > <span style="text-decoration:none !important;">{{{Texte|Modifier cette fiche}}}</span> </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; text-decoration:none !important; " > <span style="text-decoration:none !important;">{{{Texte|Modifier cette fiche}}}</span> </span> ]] | |||
{{# | }} | ||
}} | }} | ||
}}</div> | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Dernière version du 6 février 2026 à 17:01
(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