你现在正在访问的是萌娘百科用于保存和管理图片、音频等媒体文件的子项目萌娘共享,想要回到萌娘百科,请使用浏览器上的返回按钮、或点击这里
“Template:Information field/doc”的版本间的差异
(→参数) |
(→范例) |
||
第22行: | 第22行: | ||
==范例== | ==范例== | ||
+ | ===一般用法=== | ||
<pre> | <pre> | ||
{{Information | {{Information | ||
第47行: | 第48行: | ||
|other fields2={{Information field|其他领域2|值2}} | |other fields2={{Information field|其他领域2|值2}} | ||
|other fields3={{Information field|其他领域3|值3}} | |other fields3={{Information field|其他领域3|值3}} | ||
+ | }} | ||
+ | ===多条单参=== | ||
+ | <pre> | ||
+ | {{Information | ||
+ | |description=作品名称 | ||
+ | |source=作品来源 | ||
+ | |date=作品日期 | ||
+ | |author=作者 | ||
+ | |permission=许可 | ||
+ | |other versions=其他版本 | ||
+ | |other fields={{Information field|其他领域|值}} | ||
+ | {{Information field|其他领域1|值1}} | ||
+ | {{Information field|其他领域2|值2}} | ||
+ | {{Information field|其他领域3|值3}} | ||
+ | }} | ||
+ | </pre> | ||
+ | {{Information | ||
+ | |description=作品名称 | ||
+ | |source=作品来源 | ||
+ | |date=作品日期 | ||
+ | |author=作者 | ||
+ | |permission=许可 | ||
+ | |other versions=其他版本 | ||
+ | |other fields={{Information field|其他领域|值}} | ||
+ | {{Information field|其他领域1|值1}} | ||
+ | {{Information field|其他领域2|值2}} | ||
+ | {{Information field|其他领域3|值3}} | ||
}} | }} |
2021年1月15日 (五) 16:46的版本
简介
本模板用于为{{information}}系列模板追加其他领域的各类信息。
参数
参数 | 说明 | 默认值 | 是否必须 |
---|---|---|---|
name Name 1 |
信息的标题 | 无 | 是 |
value Value 2 |
信息的内容 | 无 | 是 |
class | name参数所在的单元格中的class参数 单元格源代码:<td style="{{{style|}}}" class="fileinfo-paramfield {{{class|}}}" id="{{{id|}}}">{{{name}}}</td> |
无 | 否 |
style | name参数所在的单元格中的style参数 单元格源代码:<td style="{{{style|}}}" class="fileinfo-paramfield {{{class|}}}" id="{{{id|}}}">{{{name}}}</td> |
无 | 否 |
id | name参数所在的单元格中的id参数 单元格源代码:<td style="{{{style|}}}" class="fileinfo-paramfield {{{class|}}}" id="{{{id|}}}">{{{name}}}</td> |
无 | 否 |
classvalue | value参数所在的单元格中的class参数 单元格源代码:<td><span class="{{{classvalue|}}}">{{{value}}}</span></td> |
无 | 否 |
stylevalue | value参数所在的单元格中的style参数 单元格源代码:<td style="{{{stylevalue|}}}" >{{{value}}}</td> |
无 | 否 |
范例
一般用法
{{Information |description=作品名称 |source=作品来源 |date=作品日期 |author=作者 |permission=许可 |other versions=其他版本 |other fields={{Information field|其他领域|值}} |other fields1={{Information field|其他领域1|值1}} |other fields2={{Information field|其他领域2|值2}} |other fields3={{Information field|其他领域3|值3}} }}
说明 | 作品名称 |
---|---|
来源 | 作品来源 |
日期 | 作品日期 |
作者 | 作者 |
许可 | 许可 |
其他版本 | 其他版本 |
其他领域 | 值 |
其他领域1 | 值1 |
其他领域2 | 值2 |
其他领域3 | 值3 |
多条单参
{{Information |description=作品名称 |source=作品来源 |date=作品日期 |author=作者 |permission=许可 |other versions=其他版本 |other fields={{Information field|其他领域|值}} {{Information field|其他领域1|值1}} {{Information field|其他领域2|值2}} {{Information field|其他领域3|值3}} }}
说明 | 作品名称 |
---|---|
来源 | 作品来源 |
日期 | 作品日期 |
作者 | 作者 |
许可 | 许可 |
其他版本 | 其他版本 |
其他领域 | 值 |
其他领域1 | 值1 |
其他领域2 | 值2 |
其他领域3 | 值3 |