Aller au contenu

« Modèle:Bouton sommaire » : différence entre les versions

De OSWiki
Aucun résumé des modifications
Aucun résumé des modifications
Balise : Révoqué
Ligne 1 : Ligne 1 :
[[ {{{Lien}}} | <span style = 'font-size: 1.1rem; background-color : GreenYellow ; padding:10px;  box-shadow: 5px 3px 3px grey; '  > REVENIR À {{{Label}}} </span> ]]
<!--[[ {{{Lien}}} | <span style = 'font-size: 1.1rem; background-color : GreenYellow ; padding:10px;  box-shadow: 5px 3px 3px grey; '  > REVENIR À {{{Label}}} </span> ]]


<noinclude>
<noinclude>
Ligne 8 : Ligne 8 :
|Label = < LABEL DU BOUTON >}}
|Label = < LABEL DU BOUTON >}}


</pre>
</noinclude>-->
[[{{{Lien}}}|<span class="btn-sommaire">{{{Label}}}</span>]]
<noinclude>
Appeler le modèle ainsi :
<pre>
{{Modèle : Bouton sommaire 
|Lien = Page cible
|Label = Texte du bouton}}
</pre>
</pre>
</noinclude>
</noinclude>
<includeonly><includeonly>
<style>
.btn-sommaire {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #90EE90 0%, #7FD87F 100%);
  color: #333;
  font-weight: 500;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.95rem;
}
.btn-sommaire:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transform: translateY(-2px);
  background: linear-gradient(135deg, #7FD87F 0%, #6BC76B 100%);
}
</style>
</includeonly>

Version du 30 mars 2026 à 16:06


[[{{{Lien}}}|{{{Label}}}]]


Appeler le modèle ainsi :

{{Modèle : Bouton sommaire  
|Lien = Page cible
|Label = Texte du bouton}}