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

De geoLwiki - Guide géologique du Luxembourg
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({{#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  
| 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>{{#sql2wiki_f:select concat_WS("",abrev_part1,"<small>",abrev_part2,"</small>") from stratunit where codestratunit="{{{1}}}";}}</big>'''
 
|}
 
|}

Version du 17 décembre 2008 à 13:42

{{#sql2wiki_f:select concat_WS("",abrev_part1,"",abrev_part2,"") from stratunit where codestratunit="{{{1}}}";}}