«قالب:Tabber»: الفرق بين المراجعتين

[مراجعة منقحة][مراجعة منقحة]
سطر ١٤: سطر ١٤:
 
  | key
 
  | key
 
  | value
 
  | value
|<div class="{{#ifeq:{{#var:key}}|{{{numActive|1}}}|tabber-active}}">{{#if:{{{Pourcentage{{#var:key}}|}}}|<div style="text-align: center; padding-bottom: 5px; font-weight: bold; border-bottom: 1px black solid; margin-bottom: 10px;">Pourcentage de réussite : {{{Pourcentage{{#var:key}}|}}}</div>}}{{#ifexpr:{{#if:{{{Fabrication|}}}|1|0}} or {{#if:{{{Fabrication{{#var:key}}|}}}|1|0}}|<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(324px, 1fr)); justify-items: center; gap: 5px;">{{#var:value}}</div>|{{#var:value}}}}
+
|<div class="{{#ifeq:{{#var:key}}|{{{numActive|1}}}|tabber-active}}">{{#if:{{{Pourcentage{{#var:key}}|}}}|<div style="text-align: center; padding-bottom: 5px; font-weight: bold; border-bottom: 1px black solid; margin-bottom: 10px;">نسبة النجاح : {{{Pourcentage{{#var:key}}|}}}</div>}}{{#ifexpr:{{#if:{{{Fabrication|}}}|1|0}} or {{#if:{{{Fabrication{{#var:key}}|}}}|1|0}}|<div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(324px, 1fr)); justify-items: center; gap: 5px;">{{#var:value}}</div>|{{#var:value}}}}
 
</div>
 
</div>
 
}}
 
}}

مراجعة ٢٢:٥١، ١ أغسطس ٢٠٢٣