Modèle:Citation : Différence entre versions

De Apocalypsis
Sauter à la navigation Sauter à la recherche
(Nouvelle page : {|align="center" width="100%" border="0" cellspacing="0" cellpadding="0" valign="top" style="margin-top:20px; margin-bottom:20px;" |- | align="left" valign="center" | {| border="0" ...)
 
m (Ajout portrait et AfficherCadre)
Ligne 2 : Ligne 2 :
 
|-  
 
|-  
 
| align="left" valign="center" |
 
| align="left" valign="center" |
{| border="0" width="100%" cellspacing="1" cellpadding="2" style="border-collapse:collapse; border-width:1px; border-style:dashed; border-color:#B0B0FF; background-color:#FAFAFA;"  
+
{| border="0" width="100%" cellspacing="1" cellpadding="2" style="border-collapse:collapse; {{#ifeq:{{{AfficherCadre|Oui}}}|Oui|border-width:1px; border-style:dashed; border-color:#B0B0FF; background-color:#FAFAFA;|}}"  
 
|-
 
|-
 +
{{#if:{{{Portrait|}}}|{{{!}}} valign="top" align="left" width="196" {{{!}}} [[{{{Portrait}}}|192px|{{{Commandant|Auteur inconnu}}}]]|}}
 
| valign="top" align="left" width="20" | [[Image:Guillemets ouverts.png|left|16px]]
 
| valign="top" align="left" width="20" | [[Image:Guillemets ouverts.png|left|16px]]
 
| valign="top" align="left" | {{{1|Aucune citation}}} <br/>
 
| valign="top" align="left" | {{{1|Aucune citation}}} <br/>
Ligne 9 : Ligne 10 :
 
|}  
 
|}  
 
| align="right" valign="top" width="20" |
 
| align="right" valign="top" width="20" |
{| align="right" border="0" width="20" cellspacing="0" cellpadding="2" valign="top"
+
{| align="right" border="0" width="20" cellspacing="0" cellpadding="2" valign="top"  
|-
+
|-  
 
| [[Image:Message.png|center|16px|{{{Intervention|Intervention non-répertoriée}}}]]
 
| [[Image:Message.png|center|16px|{{{Intervention|Intervention non-répertoriée}}}]]
 
|-
 
|-
| [[Image:Commandant.png|center|16px|{{{Commandant|Inconnu}}}]]
+
| [[Image:Commandant.png|center|16px|{{{Commandant|Auteur inconnu}}}]]
 
|}
 
|}
 
|}
 
|}
Ligne 30 : Ligne 31 :
 
:* '''<tt>Intervention</tt>''' = lien vers l'inttervention dans son ensemble.
 
:* '''<tt>Intervention</tt>''' = lien vers l'inttervention dans son ensemble.
 
:* '''<tt>Commandant</tt>''' = lien vers le commandant ou la coalition qui a prononcé cette intervention.
 
:* '''<tt>Commandant</tt>''' = lien vers le commandant ou la coalition qui a prononcé cette intervention.
 +
:* '''<tt>AfficherCadre</tt>''' = si une autre valeur que "oui" est passée, le cadre sera masqué (facultatif, "oui" par défaut).
 +
:* '''<tt>Portrait</tt>''' = portrait de ce commandant (facultatif, si aucune valeur fournie, le portrait sera masqué).
  
 
;Exemples :
 
;Exemples :

Version du 4 novembre 2007 à 00:37

Guillemets ouverts.png
Aucune citation
Guillemets fermés.png
Intervention non-répertoriée
Auteur inconnu




Utilisation 
Ce modèle sert à produire une courte citation d'une intervention.
Syntaxe 
{{Citation|1|Intervention|Commandant}}
Paramètres 
  • 1 = citation de l'intervention.
  • Intervention = lien vers l'inttervention dans son ensemble.
  • Commandant = lien vers le commandant ou la coalition qui a prononcé cette intervention.
  • AfficherCadre = si une autre valeur que "oui" est passée, le cadre sera masqué (facultatif, "oui" par défaut).
  • Portrait = portrait de ce commandant (facultatif, si aucune valeur fournie, le portrait sera masqué).
Exemples 
Apocalypsis:Bandeaux


English