Modèle:BoxMainPage : Différence entre versions

De La Quadrature du Net
Aller à la navigationAller à la recherche
 
(2 révisions intermédiaires par un autre utilisateur non affichées)
Ligne 1 : Ligne 1 :
<table class="plainlinks ambox" style=" width: 95%; margin: 0 auto; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-left: 10px solid {{#switch:{{{type|}}}
+
<table class="plainlinks ambox" style=" width: 95%; margin: 0 auto; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; {{#switch:{{{type|}}}
 
   | serious  = #b22222 <!-- rouge -->
 
   | serious  = #b22222 <!-- rouge -->
 
   | content  = #f28500 <!-- orange -->
 
   | content  = #f28500 <!-- orange -->
Ligne 10 : Ligne 10 :
 
}};  {{{style|}}}">
 
}};  {{{style|}}}">
 
<tr>
 
<tr>
{{#ifeq:{{{image}}}|none
+
 
  | <!-- no image cell -->
 
  | <td style="padding: 0.25em 0.5em;" width="60px" valign="{{{valign|middle}}}"> {{#switch:{{{image|{{{type|}}}}}}
 
    | serious  = [[Image:Stop hand nuvola.svg|40px]] <!-- main stop -->
 
    | content  = [[Image:Emblem-important.svg|40px]] <!-- point d'exclamation -->
 
    | style    = [[Image:Broom icon.svg|40px]] <!-- balai -->
 
    | merge    = [[Image:Merge-split-transwiki default.svg]] <!-- flèches double sens -->
 
    | notice  = [[Image:Info non-talk.png|40px]] <!-- info -->
 
    | growth  = [[Image:N write green black.svg|40px]] <!-- plume et puzzle -->
 
    | blank    = <!-- empty image cell -->
 
    | #default = {{{image|[[Image:Info non-talk.png|40px]]}}}
 
  }}</td>
 
}}
 
 
<td style="color:#333333;padding: 0.25em 0.5em;">{{{texte}}}</td>
 
<td style="color:#333333;padding: 0.25em 0.5em;">{{{texte}}}</td>
 
{{#if:{{{imageright|}}}|
 
{{#if:{{{imageright|}}}|
Ligne 29 : Ligne 17 :
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
 +
<noinclude>
 +
[[Category:Templates]]
 +
</noinclude>

Version actuelle datée du 28 juillet 2015 à 15:13