更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
{{#vardefine:weight|{{{weight|}}}}}<!-- | {{#vardefine:fightername|{{{fighter|{{#titleparts:{{PAGENAME}}| 1 }}}}}}}{{#vardefine:weight|{{{weight|}}}}}<!-- | ||
--><includeonly>{{Card|width=2|height=2 | --><includeonly>{{Card|width=2|height=2 | ||
|header={{#cargo_query:tables=角色统计 | |header={{#cargo_query:tables=角色统计 | ||
|fields=zhname | |fields=zhname | ||
|where=name="{{# | |where=name="{{#var:fightername}}" | ||
|format=list | |format=list | ||
}} | }} | ||
| 第9行: | 第9行: | ||
{{#cargo_query:tables=角色统计 | {{#cargo_query:tables=角色统计 | ||
|fields=name,talkinghead,dash,doublejump,airdash,iadlock,groundchain,airchain | |fields=name,talkinghead,dash,doublejump,airdash,iadlock,groundchain,airchain | ||
|where=name="{{# | |where=name="{{#var:fightername}}" | ||
|format=template | |format=template | ||
|template=格斗信息栏样式 | |template=格斗信息栏样式 | ||
2025年1月10日 (五) 16:15的最新版本
用途
用来放在[[PC/Fighter]]页面自动生成可选角色信息栏,其查询来源来自[[PC/Data]]。
代码
{{Fighter Infobox
| weight=
| fighter= (可选)
}}
将上述代码粘贴到任意[[PC/Fighter]]页面即可生成可选角色信息栏。
|weight=参数来粗略说明角色的体重,可选参数轻、中和重。
- 当使用在非
[[PC/Fighter]]页面时,使用|fighter=参数指定要生成的可选角色信息栏。
案例
当将一下代码复制到[[Filia/Fighter]]时,
{{Fighter Infobox
| weight=轻
}}
将生成:
菲莉亚
![]() |
| 前冲刺 |
| 跑 |
| 二段跳 |
| × |
| 空中冲刺 |
| ✓ |
| IAD锁 |
| 5 |
| 体重菲莉亚/数据 |
| 轻 |
| 空中取消链 |
| 地面取消链 |
以上文档来自模板:Fighter Infobox/doc。(编辑 | 历史)
