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

De Banane Atomic
Aller à la navigationAller à la recherche
Aucun résumé des modifications
 
(Aucune différence)

Dernière version du 1 décembre 2016 à 00:37

Une boite avec l'icône warn.png

Utilisation

Mediawiki.svg
{{warn | texte}}

Exemple

texte

Code

Html.svg
<table class="warnbox">
  <tr>
    <td>[[Image:warn.png|link=|alt=]]</td>
    <td>{{{1}}}</td>
  </tr>
</table>
Css.svg
.warnbox td:nth-child(2) { padding: 0 10px; }
.warnbox { border: 1px solid #6EB5F8; border-radius: 10px; margin-left: 20px; }