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

De geoLwiki - Guide géologique du Luxembourg
(Passage à ExternalData)
 
(12 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 
<!--informations de la banque de données sur les unités stratigraphiques / identification-->
 
<!--informations de la banque de données sur les unités stratigraphiques / identification-->
 
{|class=wikitable
 
{|class=wikitable
| style="color:black;background-color:#FFCC99;" width=140px| '''Symbole / Symbol'''
+
| style="color:black;background-color:#FFCC99;" width=115px| '''Symbole<br>&nbsp;&nbsp;''Symbol'''''
 
| align= "center" colspan=2  |
 
| align= "center" colspan=2  |
 
+
{{Unités-case-couleur|{{{1}}}}}
{|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}}}";}})" width=90px
+
| valign="center" align="center" height=35px|'''<big>{{#sql2wiki_f:select concat(abrev_part1,"<sub>",abrev_part2,"</sub>") from stratunit where codestratunit="{{{1}}}";}}</big>'''
+
|}
+
 
+
 
|-
 
|-
| style="color:black;background-color:#FFCC99;"| '''Nom / Name'''
+
| style="color:black;background-color:#FFCC99;"| '''Nom<br>&nbsp;&nbsp;''Name'''''
| '''{{#sql2wiki_f:select nomunit_fr from stratunit where codestratunit="{{{1}}}";}}'''||'''{{#sql2wiki_f:select nomunit_de from stratunit where codestratunit="{{{1}}}";}}'''
+
| '''{{#external_value:nomunit_fr}}'''||'''''{{#external_value:nomunit_de}}'''''
 
|-
 
|-
| style="color:black;background-color:#FFCC99;"| '''Description / Beschreibung'''
+
| style="color:black;background-color:#FFCC99;"| '''Description<br>&nbsp;&nbsp;''Beschreibung'''''
| {{#sql2wiki_f:select descunit_fr from stratunit where codestratunit="{{{1}}}";}} || {{#sql2wiki_f:select descunit_de from stratunit where codestratunit="{{{1}}}";}}
+
| {{#external_value:descunit_fr}} || ''{{#external_value:descunit_de}}''
 
|-
 
|-
| style="color:black;background-color:#FFCC99;"| '''Autre nom(s) / Andere Bezeichnung(en)'''
+
| style="color:black;background-color:#FFCC99;"| '''Autre nom(s)<br> &nbsp;&nbsp;''Andere<br>&nbsp;&nbsp;Bezeichnung(en)'''''
| colspan=2|{{#sql2wiki_f:select autrenom from stratunit where codestratunit="{{{1}}}";}}
+
| colspan=2|{{#external_value:autrenom}}
 
|-
 
|-
| style="color:black;background-color:#FFCC99;"| '''Epaisseur(s) / Mächtigkeit(en)'''
+
| style="color:black;background-color:#FFCC99;"| '''Epaisseur(s)<br>&nbsp;&nbsp;''Mächtigkeit(en)'''''
| colspan=2|{{#sql2wiki_f:select ep_minmax from stratunit where codestratunit="{{{1}}}";}}
+
| colspan=2|{{#external_value:ep_minmax}}
 
|-
 
|-
| style="color:black;background-color:#FFCC99;"| <sup>'''Code'''</sup>
+
| style="color:black;background-color:#FFCC99;"| <sup>'''Codes'''</sup>
| colspan=2|<sup>{{#sql2wiki_f:select codestratunit from stratunit where codestratunit="{{{1}}}";}}</sup>
+
| colspan=2|<sup>{{#external_value:codestratunit}}&nbsp;/&nbsp;{{#external_value:ordrestrat}}&nbsp;/&nbsp;r-v-b: {{#external_value:r255}} - {{#external_value:g255}} - {{#external_value:b255}}</sup>
|-
+
| style="color:black;background-color:#FFCC99;"| <sup>'''N° d'ordre'''</sup>
+
| colspan=2|<sup>{{#sql2wiki_f:select ordrestrat from stratunit where codestratunit="{{{1}}}";}}</sup>
+
 
|}
 
|}

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

Symbole
  Symbol

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

Nom
  Name
Error: no local variable "nomunit_fr" was set. Error: no local variable "nomunit_de" was set.
Description
  Beschreibung
Error: no local variable "descunit_fr" was set. Error: no local variable "descunit_de" was set.
Autre nom(s)
  Andere
  Bezeichnung(en)
Error: no local variable "autrenom" was set.
Epaisseur(s)
  Mächtigkeit(en)
Error: no local variable "ep_minmax" was set.
Codes Error: no local variable "codestratunit" was set. / Error: no local variable "ordrestrat" was set. / r-v-b: Error: no local variable "r255" was set. - Error: no local variable "g255" was set. - Error: no local variable "b255" was set.