玩家信息卡片模板
分离 CSS 与模板逻辑,复用标准卡片样式的横向玩家信息模板。
使用方法
<a href="/wiki/"> <img src="https://picsum.photos/200/200?random=1" alt="的头像" class="mc-avatar-img" /> </a>
<a href="/wiki/" style="text-decoration: none; color: inherit;"></a>
<a href="/wiki/Notch"> <img src="Notch_Avatar.png" alt="Notch的头像" class="mc-avatar-img" /> </a>
<a href="/wiki/Notch" style="text-decoration: none; color: inherit;">Notch</a>
马库斯·阿列克谢·泊松
Creator of Minecraft
<a href="/wiki/"> <img src="https://picsum.photos/200/200?random=1" alt="的头像" class="mc-avatar-img" /> </a>
<a href="/wiki/" style="text-decoration: none; color: inherit;"></a>
参数说明
| 参数 | 必选 | 说明 | |------------|------|-------------------------------| | start=1 | 是 | 初始化网格容器 | | end=1 | 是 | 闭合网格容器 | | name | 是 | 玩家名称(链接目标) | | chinese | 否 | 中文介绍 | | english | 否 | 英文介绍 | | image | 否 | 头像图片文件名 |