Cambios

112 bytes eliminados ,  02:09 17 sep 2023
Replace arrays
Línea 1: Línea 1: −
<onlyinclude><!--
+
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
-->{{#arraydefine:values|image,name,description,ingredients,energy,health,buff,duration,recipe,sellprice|,}}<!--
  −
-->{{#arraydefine:valuesToHide|{{{hide|}}}|,}}<!--
  −
-->{{#arraydiff:valuesToShow|values|valuesToHide}}
  −
{{#switch: {{lc:{{{1}}}}}
   
|foot|footer=
 
|foot|footer=
 
{{!}}-
 
{{!}}-
Línea 9: Línea 5:  
|head
 
|head
 
|header=
 
|header=
{{{!}} class="wikitable sortable" id="roundedborder"
+
{{{!}} class="wikitable sortable roundedborder"
{{#arrayprint:valuesToShow|!|@@@@|
+
{{!}}-
  {{#switch:@@@@
+
!class="unsortable"{{!}}Imagen
    |image=!class="unsortable"{{!}}Imagen
+
!Nombre<!--
    |name=!Nombre
+
-->{{#if:{{#pos:{{{hide|}}}|description}}||!!Descripción}}<!--
    |description=!Descripción
+
-->{{#if:{{#pos:{{{hide|}}}|ingredients}}||!!Ingredientes}}<!--
    |ingredients=!Ingredientes
+
-->{{#if:{{#pos:{{{hide|}}}|restores}}||!!Energía&nbsp;/ Salud}}<!--
    |energy=!Energía
+
-->{{#if:{{#pos:{{{hide|}}}|buff}}||!!Bonificadores}}<!--
    |health=!Salud
+
-->{{#if:{{#pos:{{{hide|}}}|duration}}||!!Duración}}<!--
    |buff=!Bonificadores
+
-->{{#if:{{#pos:{{{hide|}}}|recipe}}||!!Origen receta}}<!--
    |duration=!Duración
+
-->{{#if:{{#pos:{{{hide|}}}|sellprice}}||!!Precio de venta}}
    |recipe=!Origen(es) receta(s)
+
}}</onlyinclude><noinclude>{{Englishdoc}}</noinclude>
    |sellprice=!Precio de venta
  −
    |#default=!{{ucfirst:@@@@}}
  −
  }}
  −
}}
  −
}}</onlyinclude><noinclude{{englishdoc}}</noinclude>
 
106 033

ediciones