模板:图标居中:修订间差异
无编辑摘要 |
无编辑摘要 |
||
(未显示3个用户的26个中间版本) | |||
第1行: | 第1行: | ||
<includeonly><div class="flex-row-center"> | <includeonly><div class="flex-row-center">{{{备注前|}}} | ||
{{#arraymap:{{{1|}}}|,|@icon|<div class="flex-row-icon"><center>[[{{#switch: @icon | {{#arraymap:{{{1|}}}|,|@icon|<div class="flex-row-icon"><center>[[{{#switch: @icon | ||
| 盗賊 = File:icon-短剣の画像.png | | 盗賊|游侠 = File:icon-短剣の画像.png | ||
| 神官 = File:icon-杖の画像.png | | 神官|星官 = File:icon-杖の画像.png | ||
| 商人 = File:icon-槍の画像.png | | 商人|商人 = File:icon-槍の画像.png | ||
| 狩人 = File:icon-弓の画像.png | | 狩人|猎人 = File:icon-弓の画像.png | ||
| 薬師 = File:icon-斧の画像.png | | 薬師|药师 = File:icon-斧の画像.png | ||
| 学者 = File:icon- | | 学者|学者 = File:icon-本.png | ||
| 剣士 = File:icon- | | 剣士|剑士 = File:icon-剣.png | ||
| 踊子 = File:icon- | | 踊子|舞者 = File:icon-扇.png | ||
| {{#if:{{filepath:icon-@icon.png}}| | | 短剣|短剑 = File:icon-短剣の画像.png | ||
| | | 光|光 = File:icon-光.png | ||
| 杖|杖 = File:icon-杖の画像.png | |||
| 本|书 = File:icon-本.png | |||
| 闇|暗 = File:icon-闇.png | |||
| 剣|剑 = File:icon-剣.png | |||
| 槍|枪 = File:icon-槍の画像.png | |||
| 風|风 = File:icon-風.png | |||
| 弓|弓 = File:icon-弓の画像.png | |||
| 斧|斧 = File:icon-斧の画像.png | |||
| 火|火 = File:icon-火.png | |||
| 氷|冰 = File:icon-氷.png | |||
| 雷|雷 = File:icon-雷.png | |||
| 短|短剑 = File:icon-短.png | |||
| 扇|扇子 = File:icon-扇.png | |||
| 権力|权威 = File:影响力图标-権力.png | |||
| 富|富足 = File:影响力图标-富.png | |||
| 名声|名望 = File:影响力图标-名声.png | |||
| 支配|支配 = File:影响力图标-支配.png | |||
| 承認|批准 = File:影响力图标-承認.png | |||
| 所有|所有 = File:影响力图标-所有.png | |||
| 太陽虹 = File:icon-装备插槽-太陽虹.png | |||
| 太陽金 = File:icon-装备插槽-太陽金.png | |||
| 太陽銀 = File:icon-装备插槽-太陽銀.png | |||
| 遊魂金 = File:icon-装备插槽-遊魂金.png | |||
| 遊魂虹 = File:icon-装备插槽-遊魂虹.png | |||
| 人銀 = File:icon-装备插槽-人銀.png | |||
| 人銅 = File:icon-装备插槽-人銅.png | |||
| 月金 = File:icon-装备插槽-月金.png | |||
| 星虹 = File:icon-装备插槽-星虹.png | |||
| 人金 = File:icon-装备插槽-人金.png | |||
| 人虹 = File:icon-装备插槽-人虹.png | |||
| {{#if:{{filepath:icon-@icon.png}}|@icon|0}} = File:icon-@icon.png | |||
| #default = File:@icon.png}}|30px|link=]]</center>{{#if:{{{隐藏名字|}}}||@icon}}</div>|}}</div></includeonly><noinclude> | |||
{{#template_params:}} | {{#template_params:}} | ||
* 用,隔开 | * 用,隔开 | ||
{{图标居中|剣,斧,火,闇}} | {{图标居中|剣,斧,火,闇|备注前=24||隐藏名字=是}} | ||
{{图标居中|必杀技}} | {{图标居中|必杀技}} | ||
{{图标居中|神官}} | {{图标居中|神官}} |
2024年5月21日 (二) 18:52的最新版本
这是“图标居中”模板。它应该以以下格式调用:
{{图标居中 }}
编辑页面以查看模板文本。
- 用,隔开
24|