Modèle:Unités-case-couleur : Différence entre versions

De geoLwiki - Guide géologique du Luxembourg
(Annulation des modifications 2325 de Colbach (discussion))
 
(7 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
{| cellpadding=0 cellspacing=0 style="background-color:rgb({{#sql2wiki_f:select r255 from stratunit where codestratunit="{{{1}}}";}},{{#sql2wiki_f:select g255 from stratunit where codestratunit="{{{1}}}";}},{{#sql2wiki_f:select b255 from stratunit where codestratunit="{{{1}}}";}}); border:1px solid black" width=90px  
+
{| cellpadding=0 cellspacing=0 style="background-color:rgb({{#external_value:r255}},{{#external_value:g255}},{{#external_value:b255}}); border:1px solid black" width=90px  
| valign="center" align="center" height=35px|'''<big>{{#sql2wiki_f:select concat_WS("",abrev_part1,"<small>&thinsp;",abrev_part2,"</small>") from stratunit where codestratunit="{{{1}}}";}}</big>'''
+
| valign="center" align="center" height=35px|
 +
'''<big>{{#external_value:abrev_part1}}<small>{{#external_value:abrev_part2}}</small></big>'''
 
|}
 
|}

Version actuelle en date du 17 juillet 2014 à 08:30

Error: no local variable "abrev_part1" was set.Error: no local variable "abrev_part2" was set.