Modèle:Citation : Différence entre versions

De Apocalypsis
Sauter à la navigation Sauter à la recherche
m
m
Ligne 4 : Ligne 4 :
 
{| border="0" width="100%" cellspacing="1" cellpadding="2" style="border-collapse:collapse; {{#ifeq:{{{Style|1}}}|1||border-width:1px; border-style:dashed; border-color:#A0A0A0; background-color:#FAFAFA;}}"  
 
{| border="0" width="100%" cellspacing="1" cellpadding="2" style="border-collapse:collapse; {{#ifeq:{{{Style|1}}}|1||border-width:1px; border-style:dashed; border-color:#A0A0A0; background-color:#FAFAFA;}}"  
 
|-
 
|-
| {{#ifeq:{{{Style|1}}}|3|valign="center" align="left" width="192" {{!}} [[Image:{{{Commandant}}}.jpg|center|192px|{{{Commandant|Auteur inconnu}}}]]  
+
| {{#ifeq:{{{Style|1}}}|3|valign="top" align="left" width="192" {{!}} [[Image:{{{Commandant}}}.jpg|center|192px|{{{Commandant|Auteur inconnu}}}]]  
 
{{!}}|}} valign="top" align="left" width="20" | {{#if:{{{ID|}}}|<span id="{{{ID}}}">[[Image:Guillemets ouverts.png|left|16px]]</span>|[[Image:Guillemets ouverts.png|left|16px]]}}
 
{{!}}|}} valign="top" align="left" width="20" | {{#if:{{{ID|}}}|<span id="{{{ID}}}">[[Image:Guillemets ouverts.png|left|16px]]</span>|[[Image:Guillemets ouverts.png|left|16px]]}}
 
| valign="top" align="left" | {{{1|Aucune citation}}} <br/>
 
| valign="top" align="left" | {{{1|Aucune citation}}} <br/>

Version du 16 novembre 2007 à 13:04

Guillemets ouverts.png
Aucune citation
Guillemets fermés.png



Utilisation 
Ce modèle sert à produire une courte citation d'une intervention.
Syntaxe 
{{Citation|1|Intervention|Commandant|Style|Ancre}}
Paramètres 
  • 1 = citation de l'intervention.
  • Intervention = lien vers l'intervention dans son intégralité.
  • Commandant = nom du commandant ou de la coalition qui a prononcé cette intervention.
  • Style = le style à donner à la citation : 1 - pas de cadre ni de portrait ; 2 - ajout d'un cadre ; 3 - ajout d'un portrait (facultatif, 1 par défaut).
  • Ancre = ID de l'intervention (XXXX, consultez à l'AG le lien vers lequel pointe le bouton "Voter" dans lequel l'augment calXXXX est fourni). Cet ID sert à faire une ancre (vers laquelle on peut faire un lien) et un lien externe (facultatif).
    • 1 pour un modèle simple adapté aux citations très courtes.
    • 2 pour un modèle avec cadre adapté aux citations modérément courtes.
    • 3 pour un modèle avec cadre et portrait, adapté aux citations plus longues.
Exemples 
Aide:Ces modèles qui vous facilitent la vie
English