更多操作
无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的41个中间版本) | |||
第11行: | 第11行: | ||
"playDate": {}, | "playDate": {}, | ||
"playedTime": {}, | "playedTime": {}, | ||
"playStatus": {} | "playStatus": {}, | ||
"genres": {} | |||
}, | }, | ||
"description": "显示游戏信息卡片" | "description": "显示游戏信息卡片" | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude><includeonly><div style="float: right; margin: 8px; text-align: center"> | </noinclude><includeonly><!-- | ||
-->{{BackgroundImage|name={{#invoke: GetString | getArtwork | {{{titleEn|}}} }} }}<!-- | |||
--><div style="float: right; margin: 8px; text-align: center"> | |||
[[File:{{ | [[File:{{ | ||
#invoke: GetString | | #invoke: GetString | getCover| {{{titleEn|}}} | ||
}} | }}]] | ||
{| | {{card | ||
|title={{PAGENAME}} | |||
|- | |content= | ||
{{{!}} class="wikitable game-card" | |||
! 英文名 | ! 英文名 | ||
{{!}} {{#if: {{{titleEn|}}} | {{{titleEn}}} | [[分类:需要补充数据的页面]] }} | |||
{{!}}- | |||
! 中文名 | ! 中文名 | ||
{{!}} {{{titleCn|}}} | |||
{{!}}- | |||
! 开发商 | ! 开发商 | ||
{{!}} {{{developer|}}} | |||
{{!}}- | |||
! 发行商 | ! 发行商 | ||
{{!}} {{{publisher|}}} | |||
{{!}}- | |||
! 发行日期 | ! 发行日期 | ||
{{!}} {{{publishDate|}}} | |||
{{!}}- | |||
! 游玩日期 | ! 游玩日期 | ||
{{!}} {{{playDate|}}} | |||
{{!}}- | |||
! 游玩平台 | ! 游玩平台 | ||
{{!}} {{{platform|}}} | |||
{{!}}- | |||
! 游玩时长 | ! 游玩时长 | ||
{{!}} {{{playedTime|}}} {{#if: {{{playedTime|}}} | 小时 }} | |||
{{!}}- | |||
! 游玩状态 | ! 游玩状态 | ||
{{!}} {{#switch: {{{playStatus|}}} | |||
|DEEP={{Tip|深度|包括但不限于<br/>长时间游玩、全成就、全收集}} | |||
|FINISH={{Tip|通关|仅完成主线、支线等}} | |||
|ABANDON={{Tip|弃坑|未完成主流程}} | |||
|[[分类:有脚本错误的页面]] | |||
}} | |||
|} | {{!}}- | ||
! 类型 | |||
{{!}} {{ | |||
#invoke: GetGenres | getGenres| {{{genres|}}} | |||
}} | |||
{{!}}} | |||
}} | |||
</div> | </div> | ||
</includeonly> | <!-- StyleSource: https://templatemanager.huijiwiki.com/wiki/%E9%9B%B6%E4%BB%B6:TipGreen.css --> | ||
{{#css: | |||
.explain { | |||
position: relative; | |||
display: inline-flex; | |||
flex-direction: column; | |||
color: var(--a); | |||
cursor: help; | |||
text-decoration-line: underline; | |||
text-decoration-style: dashed; | |||
} | |||
.explain .explain-text { | |||
background: rgba(0, 0, 0, 0.9) fixed; | |||
color: #fff; | |||
font-size: 13px; | |||
width: max-content; | |||
max-width: 18em; | |||
visibility: hidden; | |||
opacity: 0.0; | |||
border-radius: 2px; | |||
padding: 4px; | |||
position: absolute; | |||
bottom: 110%; | |||
transition: all .5s; | |||
align-self: center; | |||
line-height: initial; | |||
} | |||
.explain .explain-text::after { | |||
content: " "; | |||
position: absolute; | |||
top: 100%; | |||
left: 50%; | |||
margin-left: -5px; | |||
border: 5px solid; | |||
border-color: rgba(0, 0, 0, 0.9) transparent transparent; | |||
} | |||
.explain:hover .explain-text { | |||
visibility: visible; | |||
opacity: 1.0; | |||
transition: all .5s; | |||
} | |||
/* table part */ | |||
.game-card { | |||
width: 300px; | |||
} | |||
.game-card caption { | |||
text-align: center; | |||
} | |||
.game-card th { | |||
/* width: 6em; */ | |||
} | |||
}}</includeonly> |
2025年4月2日 (三) 22:02的最新版本
显示游戏信息卡片
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
titleEn | titleEn | 无描述 | 未知 | 可选 |
titleCn | titleCn | 无描述 | 未知 | 可选 |
platform | platform | 无描述 | 未知 | 可选 |
developer | developer | 无描述 | 未知 | 可选 |
publisher | publisher | 无描述 | 未知 | 可选 |
publishDate | publishDate | 无描述 | 未知 | 可选 |
playDate | playDate | 无描述 | 未知 | 可选 |
playedTime | playedTime | 无描述 | 未知 | 可选 |
playStatus | playStatus | 无描述 | 未知 | 可选 |
genres | genres | 无描述 | 未知 | 可选 |