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

模板:信息栏 简易:修订间差异

来自Gal中文百科
无编辑摘要
无编辑摘要
 
(未显示同一用户的9个中间版本)
第1行: 第1行:
<div class="infobox">
<div class="infobox">
{|class="xingxilan"
{|class="xingxilan" style="padding-bottom: 10px;"
|-class="infobox-image"
|-class="infobox-image"
| style="text-align: center;" colspan="2" |[[File:{{{图片}}}|400px]]
| style="text-align: center;" colspan="2" |[[File:{{{图片}}}|400px]]
|-class="infobox-title"
|-class="infobox-title"
! style="font-size: 1.4rem;color: var(--color-base--emphasized);"| {{{标题}}}
! style="font-size: 1.4rem;color: var(--color-base--emphasized);"| {{{标题}}}
| style="font-size: 0.9rem;"| {{{原名}}}
| style="font-size: 0.9rem;"| {{{副标题}}}
|- class="infobox-col2"
{{#invoke:信息栏|jx|内容={{{信息}}}}}
| style="text-align: center;" colspan="2" |
|}
|}
</div>
</div>
{{角色点击卡片2/doc}}
<noinclude>
{{#css:
{{信息栏_简易/doc}}
.xingxilan{
    overflow: visible;
    width: 100%;
    max-width: 400px;
    margin-top: 0;
    margin-bottom: var(--space-md);
    background: var(--color-surface-2);
    border-radius: var(--border-radius--medium);
    border-spacing: 0;
    font-size: 0.875rem;
    text-align: left;
    display: block;
}
.infobox-image {
    overflow: hidden;
    padding: 0;
    margin-top: 0;
    border-radius: var(--border-radius--medium)var(--border-radius--medium)0 0;
}
.infobox-image img {
    width: 100%;
    height:100%;
}
.xingxilan tbody {
    display: flex;
    flex-wrap: wrap;
}
 
.xingxilan tr {
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    padding: 0 10px;
    margin-top: 10px;
}
.xingxilan th {
    color: var(--color-base--subtle);
    font-size: 0.8125rem;
    font-weight: normal;
    letter-spacing: 0.75px;
}
.infobox-col2 {
    width: 50%;
}
.infobox-title {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 5px;
    color: var(--color-base--emphasized);
}
@media (min-width: 720px){
.xingxilan {
    margin-left: var(--space-lg);
    clear: right;
    float: right;
}
}
}}<noinclude>
<templatedata>
<templatedata>
{
{
"description": "信息栏模板",
"params": {
"params": {
"标题": {
"required": true,
"description": "信息栏顶部标题 应该选词条名称 不可为空",
"example": "ATRI -My Dear Moments-",
"type": "wiki-page-name"
},
"图片": {
"图片": {
"required": true,
"type": "wiki-file-name",
"type": "wiki-file-name",
"description": "信息栏头图 图片上传后输入图片名称 不可为空"
"required": true
},
},
"译名": {
"标题": {
"required": true,
"type": "line",
"description": "字面意思 游戏译名 不了解可留空",
"required": true
"type": "content"
},
},
"类型": {
"副标题": {
"required": true,
"type": "line",
"description": "字面意思游戏类型 如ADV AVG 不了解可留空",
"required": true
"example": "ADV",
"type": "content"
},
"平台": {
"required": true,
"description": "游戏支持的运行平台 不了解可留空",
"example": "Windows、Nintendo Switch、Android、iOS、全平台",
"type": "content"
},
"分级": {
"required": true,
"description": "游戏分级 如:全年龄或18+ 不了解可留空",
"example": "全年龄"
},
"系列": {
"required": true,
"description": "游戏是否属于某个系列?没有或不了解可留空",
"type": "content"
},
"开发": {
"required": true,
"description": "开发者或开发公司 不了解可留空",
"type": "content"
},
"发行": {
"required": true,
"description": "游戏发行公司 不了解可留空",
"type": "content"
},
"总监": {
"required": true,
"description": "游戏总监 不了解可留空",
"type": "content"
},
"制作人": {
"required": true,
"description": "游戏制作人 不了解可留空",
"type": "content"
},
"角色设计": {
"required": true,
"description": "角色设计者 不了解可留空",
"type": "content"
},
"企划": {
"required": true,
"description": "游戏是谁策划企划的?不了解可留空"
},
"编剧": {
"required": true,
"description": "游戏编辑是谁?不了解可留空"
},
"程序": {
"required": true,
"description": "游戏是哪个程序员做的? 不了解可留空"
},
"美工": {
"required": true,
"description": "游戏画师 不了解可留空"
},
"音乐": {
"required": true,
"description": "游戏内音乐是谁做的?不了解可留空"
},
"引擎": {
"required": true,
"description": "游戏引擎 如KRkr 不了解可留空"
},
"模式": {
"required": true,
"description": "游戏模式 不了解可留空"
},
"发行时间": {
"required": true,
"description": "游戏是什么是否发布发售?不了解可留空",
"type": "date"
},
"相关作品": {
"required": true,
"description": "是否有相关作品?如:前作 续作 或同一家公司作品"
},
"标签": {
"required": true,
"aliases": [
"TAG"
],
"description": "游戏属于什么标签类型?比如:纯爱、猫粮、姐弟、NTR......"
},
},
"原名": {
"信息": {
"description": "此处为游戏原名 不可为空",
"example": "以=分割",
"type": "content",
"required": true
"required": true
}
}
},
},
"paramOrder": [
"description": "简介的信息栏模板 自定义信息",
"标题",
"format": "inline"
"原名",
"图片",
"译名",
"类型",
"平台",
"分级",
"系列",
"开发",
"发行",
"总监",
"制作人",
"角色设计",
"企划",
"编剧",
"程序",
"美工",
"音乐",
"引擎",
"模式",
"发行时间",
"相关作品",
"标签"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

2024年5月19日 (日) 13:53的最新版本

[[File:{{{图片}}}|400px]]
{{{标题}}} {{{副标题}}}
主要标题(中文) 副标题(原名)
测试1内容1
测试2内容2
keyvalue
key2value2

简介的信息栏模板 自定义信息

[编辑模板数据]

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
图片图片

无描述

文件必需
标题标题

无描述

单行文本必需
副标题副标题

无描述

单行文本必需
信息信息

无描述

示例值
以=分割
内容必需