Modèle:Couleur : Différence entre versions

De Ideopedia
m
Ligne 1 : Ligne 1 :
<includeonly>{|width="270" align="right" border="1" cellpadding="3" cellspacing="0" style="margin:0 0 1em 1em;border:1px solid #999999;border-right-width:2px;border-bottom-width:2px;border-collapse:collapse;background-color:#CCCCFF"
+
<includeonly><div style="font-size:11px">
 +
{|width="270" align="right" border="1" cellpadding="3" cellspacing="0" style="margin:0 0 1em 1em;border:1px solid #999999;border-right-width:2px;border-bottom-width:2px;border-collapse:collapse;background-color:#CCCCFF"
 
|-valign="top"
 
|-valign="top"
!colspan="2" style="background-color:{{#ifeq:{{{couleur|}}}}}"|
+
!colspan="2" style="background-color:{{#switch:{{{langue}}}|bleu=blue|vert=green|red}}"|
{|width="100%" align="center" style="background:#3399FF}}"
+
{|width="100%" align="center" style="background:{{#switch:{{{langue}}}|bleu=blue|vert=green|red}}"
 
|style="padding:15px"|&nbsp;
 
|style="padding:15px"|&nbsp;
 
|width="100%" align="center"|<font color="black" size="3">{{{idéolangue}}}<br/><small>{{{nomnatif|—}}}</small>''
 
|width="100%" align="center"|<font color="black" size="3">{{{idéolangue}}}<br/><small>{{{nomnatif|—}}}</small>''
 
|style="padding:15px"|&nbsp;
 
|style="padding:15px"|&nbsp;
|}
 
 
|}<div style="font-size:13px"></includeonly><noinclude>
 
|}<div style="font-size:13px"></includeonly><noinclude>
  
Ligne 12 : Ligne 12 :
 
Ceci est un test de l'extention MediaWiki ParserFunctions.
 
Ceci est un test de l'extention MediaWiki ParserFunctions.
  
{{couleur
+
{{Couleur
  |couleur=Langue artistique
+
  |langue=vert
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Version du 25 septembre 2018 à 18:56


Ceci est un test de l'extention MediaWiki ParserFunctions.

  {{{idéolangue}}}