打开/关闭菜单
切换首选项菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:游戏信息:修订间差异

来自此界与彼端
无编辑摘要
无编辑摘要
 
(未显示同一用户的24个中间版本)
第1行: 第1行:
<noinclude>
<noinclude>
{{#template_params:gameName}}
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"gameName": {}
"titleCn": {
"type": "line"
},
"titleEn": {
"type": "line"
},
"platform": {
"type": "line",
"suggestedvalues": [
"STEAM",
"XBOX",
"PS",
"NS",
"PC"
]
},
"developer": {
"type": "line"
},
"publisher": {
"type": "line"
},
"publishDate": {
"type": "date"
},
"playDate": {
"type": "date"
},
"playedTime": {
"type": "number"
},
"playStatus": {
"type": "line",
"suggestedvalues": [
"ABANDON",
"DEEP",
"FINISH"
]
},
"rate": {
"type": "number"
},
"commentLine": {
"type": "content"
},
"commentArt": {
"type": "content"
},
"commentContent": {
"type": "content"
},
"commentInteract": {
"type": "content"
},
"commentGameplay": {
"type": "content"
},
"commentSound": {
"type": "content"
},
"commentStory": {
"type": "content"
},
"commentConclusion": {
"type": "content"
},
"scoreArt": {
"type": "number"
},
"scoreContent": {
"type": "number"
},
"scoreInteract": {
"type": "number"
},
"scoreGameplay": {
"type": "number"
},
"scoreSound": {
"type": "number"
},
"scoreStory": {
"type": "number"
},
"publicId": {},
"isDeleted": {
"type": "boolean",
"default": "0",
"autovalue": "0"
},
"genres": {
"type": "content"
}
},
},
"description": "显示游戏信息框"
"format": "block"
}
}
</templatedata>
</templatedata>
</noinclude>{| class="wikitable"
{{#cargo_declare:
|+ 标题文本
_table=games
|-
|titleCn=Chinese Title
| 示例 || 示例
|titleEn=English Title
|-
|platform=String (size=10;allowed values=STEAM,PC,XBOX,PS,NS)
| 英文名 || {{{gameName|Name}}}
|developer=String
|-
|publisher=String
| 示例 || 示例
|publishDate=Date
|}
|playDate=Date
|playedTime=Integer
|playStatus=String (size=10)
|rate=Float
|commentLine=String
|commentArt=String
|commentContent=String
|commentInteract=String
|commentGameplay=String
|commentSound=String
|commentStory=String
|commentConclusion=String
|scoreArt=Float
|scoreContent=Float
|scoreInteract=Float
|scoreGameplay=Float
|scoreSound=Float
|scoreStory=Float
|publicId=String (size=10)
|isDeleted=Boolean
|genres=String
}}</noinclude><includeonly>{{#cargo_store:
_table=games
|titleCn={{{titleCn|}}}
|titleEn={{{titleEn|}}}
|platform={{{platform|}}}
|developer={{{developer|}}}
|publisher={{{publisher|}}}
|publishDate={{{publishDate|}}}
|playDate={{{playDate|}}}
|playedTime={{{playedTime|}}}
|playStatus={{{playStatus|}}}
|rate={{{rate|}}}
|commentLine={{{commentLine|}}}
|commentArt={{{commentArt|}}}
|commentContent={{{commentContent|}}}
|commentInteract={{{commentInteract|}}}
|commentGameplay={{{commentGameplay|}}}
|commentSound={{{commentSound|}}}
|commentStory={{{commentStory|}}}
|commentConclusion={{{commentConclusion|}}}
|scoreArt={{{scoreArt|}}}
|scoreContent={{{scoreContent|}}}
|scoreInteract={{{scoreInteract|}}}
|scoreGameplay={{{scoreGameplay|}}}
|scoreSound={{{scoreSound|}}}
|scoreStory={{{scoreStory|}}}
|publicId={{{publicId|}}}
|isDeleted={{{isDeleted|0}}}
|genres={{{genres|}}}
}}</includeonly>

2025年3月23日 (日) 21:34的最新版本

无描述。

模板参数[编辑模板数据]

此模板首选参数换行的代码块格式。

参数描述类型状态
titleCntitleCn

无描述

单行文本可选
titleEntitleEn

无描述

单行文本可选
platformplatform

无描述

推荐值
STEAM XBOX PS NS PC
单行文本可选
developerdeveloper

无描述

单行文本可选
publisherpublisher

无描述

单行文本可选
publishDatepublishDate

无描述

日期可选
playDateplayDate

无描述

日期可选
playedTimeplayedTime

无描述

数字可选
playStatusplayStatus

无描述

推荐值
ABANDON DEEP FINISH
单行文本可选
raterate

无描述

数字可选
commentLinecommentLine

无描述

内容可选
commentArtcommentArt

无描述

内容可选
commentContentcommentContent

无描述

内容可选
commentInteractcommentInteract

无描述

内容可选
commentGameplaycommentGameplay

无描述

内容可选
commentSoundcommentSound

无描述

内容可选
commentStorycommentStory

无描述

内容可选
commentConclusioncommentConclusion

无描述

内容可选
scoreArtscoreArt

无描述

数字可选
scoreContentscoreContent

无描述

数字可选
scoreInteractscoreInteract

无描述

数字可选
scoreGameplayscoreGameplay

无描述

数字可选
scoreSoundscoreSound

无描述

数字可选
scoreStoryscoreStory

无描述

数字可选
publicIdpublicId

无描述

未知可选
isDeletedisDeleted

无描述

默认值
0
自动值
0
布尔可选
genresgenres

无描述

内容可选

此模板定义表格“games”。 查看表格.