“Template:Recipes”的版本间的差异
跳到导航
跳到搜索
小 |
Margotbean(讨论 | 贡献) |
||
第1行: | 第1行: | ||
− | < | + | <onlyinclude><!-- |
+ | -->{{#arraydefine:values|image,name,description,ingredients,energy,health,buff,duration,recipe,sellprice|,}}<!-- | ||
+ | -->{{#arraydefine:valuesToHide|{{{hide|}}}|,}}<!-- | ||
+ | -->{{#arraydiff:valuesToShow|values|valuesToHide}} | ||
+ | {{#switch: {{lc:{{{1}}}}} | ||
+ | |foot|footer= | ||
+ | {{!}}- | ||
+ | {{!}}} | ||
|head | |head | ||
− | + | |header= | |
− | |header | + | {{{!}} class="wikitable sortable" id="roundedborder" |
− | + | {{#arrayprint:valuesToShow|!|@@@@| | |
− | !class="unsortable"{{!}}图像 | + | {{#switch:@@@@ |
− | !名称 | + | |image=!class="unsortable"{{!}}图像 |
− | !描述 | + | |name=!名称 |
− | !原料 | + | |description=!描述 |
− | !体力 | + | |ingredients=!原料 |
− | !生命 | + | |energy=!体力 |
− | !增益效果 | + | |health=!生命 |
− | !增益时效 | + | |buff=!增益效果 |
− | !食谱来源 | + | |duration=!增益时效 |
− | !售价 | + | |recipe=!食谱来源 |
− | | | + | |sellprice=!售价 |
− | + | |#default=!{{ucfirst:@@@@}} | |
− | + | }} | |
− | }}</ | + | }} |
+ | }}</onlyinclude><noinclude>{{englishdoc}}</noinclude> |