模板:user infobox:修订间差异
来自INFWiki
更多操作
无编辑摘要 |
无编辑摘要 |
||
| (未显示2个用户的12个中间版本) | |||
| 第1行: | 第1行: | ||
<includeonly> | <includeonly> | ||
{|class="infobox" | {|class="infobox" | ||
|-class="infobox-img" | |-class="infobox-img user" | ||
{{#if:{{{皮肤照|}}} | {{#if:{{{皮肤照|}}} | ||
| {{!}} https://mc- | | {{!}} https://mc-api.io/render/full/{{{皮肤照}}}/JAVA?{{{皮肤照}}}.png | ||
| {{!}} https://mc-api.io/render/full/ | | {{!}} https://mc-api.io/render/full/MHF_Steve/JAVA?MHF_Steve.png | ||
}} | }} | ||
|-class="detail-header" | |-class="detail-header" | ||
| 第15行: | 第15行: | ||
|-class="detail" | |-class="detail" | ||
{{#if:{{{mcid|}}}| | {{#if:{{{mcid|}}}| | ||
! | !JavaID | ||
{{!}}{{{mcid|}}} | {{!}}{{{mcid|}}} | ||
}} | }} | ||
| 第33行: | 第33行: | ||
{{!}}{{{bilibili|}}} | {{!}}{{{bilibili|}}} | ||
}} | }} | ||
|}</includeonly>< | |}</includeonly><templatestyles src="Template:infobox/styles.css"/><noinclude>{{/doc}}</noinclude> | ||
: | |||
{{ | |||
}} | |||
</noinclude> | |||
2025年8月5日 (二) 19:18的最新版本
以下是模板的文档,点击右侧按钮去编辑文档
用于展示用户基本资料。
| |
| 基本资料 | |
|---|---|
| 昵称 | 张三 |
| JavaID | ZhangSan |
| XboxID | ZhangSanBE |
| 123456789 | |
| bilibili | 123456789 |
用法
{{user_infobox|参数1=值1|参数2=值2|……|参数n=值n}} 所有参数为选填,不填则不展示。
参数
- 皮肤照
- 填入你的正版账户 ID 以自动生成
- 昵称
- 社区常用称呼
- mcid
- Java版的游戏ID
- xboxid
- XboxID,即基岩版 ID
- 你在 INF 使用的 QQ 号
- bilibili
- bilibili 账号名称或 ID
源码
{{user_infobox
|皮肤照=MHF_Steve
|昵称=张三
|mcid=ZhangSan
|xboxid=ZhangSanBE
|QQ=123456789
|bilibili=123456789
}}