« Modèle:BlocBoutonModifier » : différence entre les versions
Apparence
mAucun résumé des modifications |
mAucun résumé des modifications |
||
| Ligne 1 : | Ligne 1 : | ||
<includeonly><div class="bloc-bouton-modifier" style="text-align:center; margin-top:1em; margin-bottom:0.5em;"> | <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" | |||
{{{Texte|Modifier cette fiche}}} | style=" | ||
</ | font-size:110%; | ||
padding:0.55em 0.95em; | |||
border-radius:8px; | |||
{{#ifingroup:{{{Groupe2}}}| | 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> | ||
{{{Texte|Modifier cette fiche}}} | ]] | ||
</ | | | ||
}} | {{#ifingroup:{{{Groupe2|}}}| | ||
}}</div></includeonly> | [[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> | |||
<noinclude> | <noinclude> | ||
(Documentation.) | (Documentation.) | ||
Version du 6 février 2026 à 16:58
(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