Modèle:Lawbox : Différence entre versions

De La Quadrature du Net
Aller à la navigationAller à la recherche
Ligne 22 : Ligne 22 :
 
}}{{#if:{{{1|}}}|
 
}}{{#if:{{{1|}}}|
 
<table style="border-spacing: 0; border-top: 1px solid #aaa;">
 
<table style="border-spacing: 0; border-top: 1px solid #aaa;">
<td style="padding: 0.5em 1em; padding-bottom: 1.5em; margin: 0 auto; text-align: justify; width:50%;">{{{1}}}</td>
+
<td style="padding: 0.5em 1em; padding-bottom: 1.5em; margin: 0 auto; text-align: justify; width:50%; vertical-align:top;">{{{1}}}</td>
<td style="padding: 0.5em 1em; border-left: 1px solid #aaa; padding-bottom: 1.5em; margin: 0 auto; text-align: justify; width:50%;">{{{2}}}</td>
+
<td style="padding: 0.5em 1em; border-left: 1px solid #aaa; padding-bottom: 1.5em; margin: 0 auto; text-align: justify; width:50%; vertical-align:top;">{{{2}}}</td>
 
</table>
 
</table>
 
}}</div></div><noinclude>
 
}}</div></div><noinclude>

Version du 24 octobre 2013 à 15:09

Para 1: Contenu de la vignette

  • title : titre en h3 avec "how to read"
  • title-na : titre en h3 sans "how to read"
  • title-lob : titre normal avec "how to read"
  • title-na- : titre normal sans "how to read"

Para 2: Couleur de la vignette (gris par défaut)

  • rate : de --- (rouge vif) à +++ (vert vif)

Para 3: Contenu de la boite

  • [rien] : une seule case
  • 1 : deux cases, celle de gauche
  • 2 : deux cases, celle de droite


Exemple:

lawbox|title=Amendment 100|rate=-|1=Vive la liberté d'expression !|2=Vive la liberté d'expression ! d'entreprise

How to read an amendment: added to the initial text / deleted from the initial text

Amendment 100

Vive la liberté d'expression ! Vive la liberté d'expression ! d'entreprise