Modèle:Button

De 21Wiki
Révision datée du 21 septembre 2023 à 14:39 par Alexan (discussion | contributions) (Page créée avec « {{documentation subpage}} == Example == {{Clickable button|color=white}} → <nowiki>{{Clickable button|color=white}}</nowiki> {{Clickable button|color=red}} → <nowiki>{{Clickable button|color=red}}</nowiki> {{Clickable button|color=blue}} → <nowiki>{{Clickable button|color=blue}}</nowiki> {{Clickable button|text}} → <nowiki>{{Clickable button|text}}</nowiki> (for links. To add links, transclude this template inside wikilinks after... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Modèle:Documentation subpage

Example

Modèle:Clickable button → {{Clickable button|color=white}}

Modèle:Clickable button → {{Clickable button|color=red}}

Modèle:Clickable button → {{Clickable button|color=blue}}

[[target|Modèle:Clickable button]] → [[target|{{Clickable button|text}}]] (for links. To add links, transclude this template inside wikilinks after the pipebar: [[target title|{{Clickable button|text}}]]. Or better use Modèle:Tl which adds links automatically)

Templatedata

Creates a OOUI styled button.

Paramètres du modèle

La mise en forme sur une seule ligne est préférée pour ce modèle.

ParamètreDescriptionTypeÉtat
Labeltext 1

aucune description

Contenuobligatoire
Color of the buttoncolor

Can be blue (progressive), red (destructive) or white

Chaînesuggéré

See also