模板:MCSkinHeadRender:修订间差异

(加入模板数据)
标签2017年版源代码编辑
无编辑摘要
标签2017年版源代码编辑
第5行: 第5行:
"uuid": {
"uuid": {
"description": "该Minecraft Java版玩家档案的UUID",
"description": "该Minecraft Java版玩家档案的UUID",
"example": "86460c2f81c546ecbf64eefb52efdeb7"
"example": "86460c2f81c546ecbf64eefb52efdeb7",
"type": "string",
"required": true
},
},
"scale": {
"scale": {
"description": "渲染的大小尺寸,有效值在1~10之间",
"description": "渲染的大小尺寸,有效值在1~10之间",
"example": "10"
"example": "10",
"type": "number"
},
},
"width": {
"width": {
"description": "图像的宽度(width)属性",
"description": "图像的宽度(width)属性",
"example": "200px"
"example": "200px",
"type": "string"
},
},
"height": {
"height": {
"description": "图像的高度(height)属性",
"description": "图像的高度(height)属性",
"example": "200px"
"example": "200px",
"type": "string"
},
},
"alt": {
"alt": {
"description": "图像的替代文本"
"description": "图像的替代文本",
"type": "string"
}
}
},
},

2022年4月7日 (四) 00:23的版本

Template-info.png 模板文档  [查看] [编辑] [历史] [刷新]

用于渲染一个Minecraft Java版国际版正版玩家的皮肤的头颅。

模板代码:

{{MCSkinHeadRender|uuid=86460c2f81c546ecbf64eefb52efdeb7|scale=10|width=100px|alt=替代文本}}

替代文本


模板数据

用于渲染一个Minecraft Java版国际版正版玩家的皮肤的头颅。

模板参数

参数描述类型状态
uuiduuid

该Minecraft Java版玩家档案的UUID

示例值
86460c2f81c546ecbf64eefb52efdeb7
字符串必需
scalescale

渲染的大小尺寸,有效值在1~10之间

示例值
10
数字可选
widthwidth

图像的宽度(width)属性

示例值
200px
字符串可选
heightheight

图像的高度(height)属性

示例值
200px
字符串可选
altalt

图像的替代文本

字符串可选

用于渲染一个Minecraft Java版国际版正版玩家的皮肤的头颅。

模板参数

参数描述类型状态
uuiduuid

该Minecraft Java版玩家档案的UUID

示例值
86460c2f81c546ecbf64eefb52efdeb7
字符串必需
scalescale

渲染的大小尺寸,有效值在1~10之间

示例值
10
数字可选
widthwidth

图像的宽度(width)属性

示例值
200px
字符串可选
heightheight

图像的高度(height)属性

示例值
200px
字符串可选
altalt

图像的替代文本

字符串可选