差分

Replace arrays
1行目: 1行目: −
<onlyinclude><!--
+
<onlyinclude>{{#switch: {{lc:{{{1}}}}}
-->{{#arraydefine:values|image,name,description,ingredients,restores,buff,duration,recipe,sellprice|,}}<!--
  −
-->{{#arraydefine:valuesToHide|{{{hide|}}}|,}}<!--
  −
-->{{#arraydiff:valuesToShow|values|valuesToHide}}
  −
{{#switch: {{lc:{{{1}}}}}
   
|foot|footer=
 
|foot|footer=
 
{{!}}-
 
{{!}}-
9行目: 5行目:  
|head
 
|head
 
|header=
 
|header=
{{{!}} class="wikitable sortable" id="roundedborder"
+
{{{!}} class="wikitable sortable roundedborder"
{{#arrayprint:valuesToShow|!|@@@@|
+
{{!}}-
  {{#switch:@@@@
+
!class="unsortable"{{!}}画像
    |image=!class="unsortable"{{!}}画像
+
!名前<!--
    |name=!名前
+
-->{{#if:{{#pos:{{{hide|}}}|description}}||!!説明}}<!--
    |description=!style="min-width: 8em;"{{!}}説明
+
-->{{#if:{{#pos:{{{hide|}}}|ingredients}}||!!材料}}<!--
    |ingredients=!材料
+
-->{{#if:{{#pos:{{{hide|}}}|restores}}||!!style="min-width: 4rem;"{{!}}エナジー / 体力}}<!--
    |restores=!回復効果
+
-->{{#if:{{#pos:{{{hide|}}}|buff}}||!!効果}}<!--
    |buff=!効果
+
-->{{#if:{{#pos:{{{hide|}}}|duration}}||!!効果時間}}<!--
    |duration=!効果時間
+
-->{{#if:{{#pos:{{{hide|}}}|recipe}}||!!レシピ入手}}<!--
    |recipe=!レシピ入手
+
-->{{#if:{{#pos:{{{hide|}}}|sellprice}}||!!売値}}
    |sellprice=!売値
+
}}</onlyinclude><noinclude>{{Englishdoc}}</noinclude>
    |#default=!{{ucfirst:@@@@}}
  −
  }}
  −
}}
  −
}}</onlyinclude><noinclude>{{englishdoc}}[[カテゴリ:トランスクルージョンテンプレート]]</noinclude>
 
106,307

回編集