跳转到内容

Template:Information:修订间差异

来自萌娘共享
Ikemen留言 | 贡献
恢复Documentation
无编辑摘要
第1行: 第1行:
<templatestyles src="Template:Information/styles.css" /><div class="mw-parser-output"><table cellpadding="3" class="toccolours" width="100%">
<templatestyles src="Template:Information/styles.css" /><table cellpadding="3" class="toccolours" width="100%">
 
<!-- Description -->
<!-- Description -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<th id="fileinfotpl_desc" style="{{{cellstyle|}}}" class="fileinfo-paramfield" width="15%">说明</th>
<th id="fileinfotpl_desc" style="{{{cellstyle|}}}" class="fileinfo-paramfield" width="15%">说明</th>
<td><nowiki/>
<td>{{#if:{{{A|{{{Description|{{{description|{{{说明|{{{説明|}}}}}}}}}}}}}|{{{A|{{{Description|{{{description|{{{说明|{{{説明|}}}}}}}}}}}}}|{{Description missing}}}}</td>
{{#if:{{{A|{{{Description|{{{description|{{{说明|{{{説明|}}}}}}}}}}}}}}}|{{{A|{{{Description|{{{description|{{{说明|{{{説明|}}}}}}}}}}}}}}}|{{Description missing}}}}</td>
</tr>
</tr>
<!-- Source -->
<!-- Source -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<th style="{{{cellstyle|}}}" id="fileinfotpl_src" class="fileinfo-paramfield">来源</th>
<th style="{{{cellstyle|}}}" id="fileinfotpl_src" class="fileinfo-paramfield">来源</th>
<td><nowiki/>
<td>{{#if:{{{B|{{{Source|{{{source|{{{来源|{{{來源|}}}}}}}}}}}}}|{{{B|{{{Source|{{{source|{{{来源|{{{來源|}}}}}}}}}}}}}|{{Source missing}}}}</td>
{{#if:{{{B|{{{Source|{{{source|{{{来源|{{{來源|}}}}}}}}}}}}}}}|{{{B|{{{Source|{{{source|{{{来源|{{{來源|}}}}}}}}}}}}}}}|{{Source missing}}}}</td>
</tr>
</tr>
<!-- Date -->
<!-- Date -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<th style="{{{cellstyle|}}}" id="fileinfotpl_date" class="fileinfo-paramfield">日期
<th style="{{{cellstyle|}}}" id="fileinfotpl_date" class="fileinfo-paramfield">日期</th>
</th>
<td>{{ISOdate|{{{C|{{{Date|{{{date|{{{日期|}}}}}}}}}}}}</td>  
<td><nowiki/>
{{ISOdate|{{{C|{{{Date|{{{date|{{{日期|}}}}}}}}}}}}}}</td>  
</tr>
</tr>
<!-- Author -->
<!-- Author -->
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<th style="{{{cellstyle|}}}" id="fileinfotpl_aut" class="fileinfo-paramfield">作者</th>
<th style="{{{cellstyle|}}}" id="fileinfotpl_aut" class="fileinfo-paramfield">作者</th>
<td><nowiki/>
<td>{{#if:{{{D|{{{Author|{{{author|{{{作者|}}}}}}}}}}}|{{{D|{{{Author|{{{author|{{{作者|}}}}}}}}}}}|{{Author missing}}}}</td>  
{{#if:{{{D|{{{Author|{{{author|{{{作者|}}}}}}}}}}}}|{{{D|{{{Author|{{{author|{{{作者|}}}}}}}}}}}}|{{Author missing}}}}</td>  
</tr>
</tr>
<!-- Permission -->
<!-- Permission -->
{{#switch: {{{E|{{{Permission|{{{permission|{{{许可|{{{許可|}}}}}}}}}}}}}}}
{{#switch: {{{E|{{{Permission|{{{permission|{{{许可|{{{許可|}}}}}}}}}}}}}
|  =<nowiki/>
|  =
| - =<nowiki/>
| - =
|none =<nowiki/>
|none =
|#default = <nowiki/>
|#default =  
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<th style="{{{cellstyle|}}}" id="fileinfotpl_perm" class="fileinfo-paramfield">许可</th>
<th style="{{{cellstyle|}}}" id="fileinfotpl_perm" class="fileinfo-paramfield">许可</th>
<td><nowiki/>
<td>{{{E|{{{Permission|{{{permission|{{{许可|{{{許可|}}}}}}}}}}}}</td>  
{{{E|{{{Permission|{{{permission|{{{许可|{{{許可|}}}}}}}}}}}}}}}</td>  
</tr>
</tr>
}}
}}
<!-- Other versions -->
<!-- Other versions -->
{{#switch: {{{F|{{{other_versions|{{{Other_Versions|{{{Other Versions|{{{other versions|{{{其他版本|}}}}}}}}}}}}}}}}}}
{{#switch: {{{F|{{{other_versions|{{{Other_Versions|{{{Other Versions|{{{other versions|{{{其他版本|}}}}}}}}}}}}}}}
|  =
|  =
| - =
| - =
|none =
|none =
| #default = <nowiki/>
| #default =  
<tr style="vertical-align: top">
<tr style="vertical-align: top">
<th style="{{{cellstyle|}}}" id="fileinfotpl_ver" class="fileinfo-paramfield">其他版本</th>
<th style="{{{cellstyle|}}}" id="fileinfotpl_ver" class="fileinfo-paramfield">其他版本</th>
<td><nowiki/>
<td>{{{F|{{{other_versions|{{{Other_versions|{{{Other versions|{{{other versions|{{{其他版本|}}}}}}}}}}}}}}</td>  
{{{F|{{{other_versions|{{{Other_versions|{{{Other versions|{{{other versions|{{{其他版本|}}}}}}}}}}}}}}}}}}</td>  
</tr>}}
</tr>}}
<!-- Other fields -->
<!-- Other fields -->
{{{other_fields|{{{Other_fields|{{{Other fields|{{{other fields|{{{其他领域|{{{其他領域|}}}}}}}}} }}} }}} }}}<!--
{{{other_fields|{{{Other_fields|{{{Other fields|{{{other fields|{{{其他领域|{{{其他領域|}}}}}}}}}}}}}
-->
<!-- Other fields 1-10 -->
<!-- Other fields #i -->
{{#if:{{{other_fields1|{{{Other_fields1|{{{Other fields1|{{{other fields1|{{{其他领域1|{{{其他領域1|}}}}}}}}}}}}}|{{{G|}}}|
{{#vardefine:i|1}}{{#vardefine:first_fields|0}}<!--
<tr style="vertical-align: top">
-->{{#if:{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|{{{其他领|{{{其他領|}}}}}}}}} }}} }}} }}}|{{#vardefine:first|1}}}}<!--
<td colspan="2">{{{other_fields1|{{{Other_fields1|{{{Other fields1|{{{other fields1|{{{其他领域1|{{{其他領域1|}}}}}}}}}}}}}|{{{G|}}}</td>
-->{{#if:{{{other_fields|{{{Other_fields|{{{other fields|{{{Other fields|{{{其他领|{{{其他領|}}}}}}}}} }}} }}} }}}|{{#vardefine:first_fields|1}}}}<!--
</tr>}}
-->{{#while:|{{#ifexpr:{{#if:{{{other_fields{{#var:i}}|{{{Other_fields{{#var:i}}|{{{Other fields{{#var:i}}|{{{other fields{{#var:i}}|{{{其他领{{#var:i}}|{{{其他領{{#var:i}}|}}}}}}}}} }}} }}} }}}|1|0}} and {{#var:first_fields}}|true}}|{{{other_fields{{#var:i}}|{{{Other_fields{{#var:i}}|{{{Other fields{{#var:i}}|{{{other fields{{#var:i}}|{{{其他领域{{#var:i}}|{{{其他領域{{#var:i}}|}}}}}}}}} }}} }}} }}} {{#vardefine: i|{{ #expr: {{ #var: i }} + 1 }}}} }}<!--
{{#if:{{{other_fields2|{{{Other_fields2|{{{Other fields2|{{{other fields2|{{{其他领域2|{{{其他領域2|}}}}}}}}}}}}}|{{{H|}}}|
--></table>
<tr style="vertical-align: top">
<td colspan="2">{{{other_fields2|{{{Other_fields2|{{{Other fields2|{{{other fields2|{{{其他领域2|{{{其他領域2|}}}}}}}}}}}}}|{{{H|}}}</td>
</tr>}}
{{#if:{{{other_fields3|{{{Other_fields3|{{{Other fields3|{{{other fields3|{{{其他领域3|{{{其他領域3|}}}}}}}}}}}}}|{{{I|}}}|
<tr style="vertical-align: top">
<td colspan="2">{{{other_fields3|{{{Other_fields3|{{{Other fields3|{{{other fields3|{{{其他领域3|{{{其他領域3|}}}}}}}}}}}}}|{{{I|}}}</td>
</tr>}}
{{#if:{{{other_fields4|{{{Other_fields4|{{{Other fields4|{{{other fields4|{{{其他领域4|{{{其他領域4|}}}}}}}}}}}}}|{{{J|}}}|
<tr style="vertical-align: top">
<td colspan="2">{{{other_fields4|{{{Other_fields4|{{{Other fields4|{{{other fields4|{{{其他领域4|{{{其他領域4|}}}}}}}}}}}}}|{{{J|}}}</td>
</tr>}}
{{#if:{{{other_fields5|{{{Other_fields5|{{{Other fields5|{{{other fields5|{{{其他领域5|{{{其他領域5|}}}}}}}}}}}}}|{{{K|}}}|
<tr style="vertical-align: top">
<td colspan="2">{{{other_fields5|{{{Other_fields5|{{{Other fields5|{{{other fields5|{{{其他领域5|{{{其他領域5|}}}}}}}}}}}}}|{{{K|}}}</td>
</tr>}}
{{#if:{{{other_fields6|{{{Other_fields6|{{{Other fields6|{{{other fields6|{{{其他领域6|{{{其他領域6|}}}}}}}}}}}}}|{{{L|}}}|
<tr style="vertical-align: top">
<td colspan="2">{{{other_fields6|{{{Other_fields6|{{{Other fields6|{{{other fields6|{{{其他领域6|{{{其他領域6|}}}}}}}}}}}}}|{{{L|}}}</td>
</tr>}}
{{#if:{{{other_fields7|{{{Other_fields7|{{{Other fields7|{{{other fields7|{{{其他领域7|{{{其他領域7|}}}}}}}}}}}}}|{{{M|}}}|
<tr style="vertical-align: top">
<td colspan="2">{{{other_fields7|{{{Other_fields7|{{{Other fields7|{{{other fields7|{{{其他领域7|{{{其他領域7|}}}}}}}}}}}}}|{{{M|}}}</td>
</tr>}}
{{#if:{{{other_fields8|{{{Other_fields8|{{{Other fields8|{{{other fields8|{{{其他领域8|{{{其他領域8|}}}}}}}}}}}}}|{{{N|}}}|
<tr style="vertical-align: top">
<td colspan="2">{{{other_fields8|{{{Other_fields8|{{{Other fields8|{{{other fields8|{{{其他领域8|{{{其他領域8|}}}}}}}}}}}}}|{{{N|}}}</td>
</tr>}}
{{#if:{{{other_fields9|{{{Other_fields9|{{{Other fields9|{{{other fields9|{{{其他领域9|{{{其他領域9|}}}}}}}}}}}}}|{{{O|}}}|
<tr style="vertical-align: top">
<td colspan="2">{{{other_fields9|{{{Other_fields9|{{{Other fields9|{{{other fields9|{{{其他领域9|{{{其他領域9|}}}}}}}}}}}}}|{{{O|}}}</td>
</tr>}}
{{#if:{{{other_fields10|{{{Other_fields10|{{{Other fields10|{{{other fields10|{{{其他领域10|{{{其他領域10|}}}}}}}}}}}}}|{{{P|}}}|
<tr style="vertical-align: top">
<td colspan="2">{{{other_fields10|{{{Other_fields10|{{{Other fields10|{{{other fields10|{{{其他领域10|{{{其他領域10|}}}}}}}}}}}}}|{{{P|}}}</td>
</tr>}}
</table>
<noinclude>{{Documentation}}[[Category:格式模板]]</noinclude>
<noinclude>{{Documentation}}[[Category:格式模板]]</noinclude>

2025年12月4日 (四) 17:05的版本

{{#switch: {{{E|} | = | - = |none = |#default =
说明 {{#if:{{{A|}|{Template:A
来源 {{#if:{{{B|}|{Template:B
日期 {{ISOdate|
作者 {Template:D
许可 {Template:E

{{#switch: {{{F| | = | - = |none = | #default =

其他版本 {Template:F

{{{other_fields|{{{Other_fields|} {{#if:{{{other_fields1|{{{Other_fields1|}||

{{{other_fields1|{Template:Other fields1

{{#if:{{{other_fields2|{{{Other_fields2|}||

{{{other_fields2|{Template:Other fields2

{{#if:{{{other_fields3|{{{Other_fields3|}||

{{{other_fields3|{Template:Other fields3

{{#if:{{{other_fields4|{{{Other_fields4|}||

{{{other_fields4|{Template:Other fields4

{{#if:{{{other_fields5|{{{Other_fields5|}||

{{{other_fields5|{Template:Other fields5

{{#if:{{{other_fields6|{{{Other_fields6|}||

{{{other_fields6|{Template:Other fields6

{{#if:{{{other_fields7|{{{Other_fields7|}||

{{{other_fields7|{Template:Other fields7

{{#if:{{{other_fields8|{{{Other_fields8|}||

{{{other_fields8|{Template:Other fields8

{{#if:{{{other_fields9|{{{Other_fields9|}||

{{{other_fields9|{Template:Other fields9

{{#if:{{{other_fields10|{{{Other_fields10|}||

{{{other_fields10|{Template:Other fields10
模板文档  [查看] [编辑] [历史] [刷新]

简介

本模板用于列出文件的详细信息。

参数

参数 说明 默认值 是否必须
description
Description
说明
A
文件的简介
source
Source
来源
B
文件的来源信息
date
Date
日期
C
文件的创建或者上传日期
author
Author
作者
D
文件的作者
permission
Permission
许可
E
文件的授权许可
other_versions
Other_versions
other versions
Other versions
其他版本
F
文件的其他版本
Other_fields
other fields
Other fields
other fields
其他领域
文件的其他信息(比如色彩,矢量图校验有效性),需要配合相关模板使用
Other_fieldsi
other fieldsi
Other fieldsi
other fieldsi
其他领域i
文件的第i(i>0)个其他信息(比如色彩,矢量图校验有效性),需要配合相关模板使用且其他领域参数不能为空
cellstyle 标题单元格style

用例

自己的作品

{{Information
|Description=范例印章
|Source=自己的作品
|Date=2021年1月9日
|Author=[[user:Ikemen|Ikemen]]<!--可以配合{{Zhmoegirllink}}链接到主站用户页-->
|Permission=CC BY-SA}} 
{{#switch: {{{E|CC BY-SA} | = | - = |none = |#default =
说明 {{#if:{{{A|范例印章}|{Template:A
来源 {{#if:{{{B|自己的作品}|{Template:B
日期 {{ISOdate|2021年1月9日
作者 {Template:D
许可 {Template:E

{{#switch: {{{F| | = | - = |none = | #default =

其他版本 {Template:F

{{{other_fields|{{{Other_fields|} {{#if:{{{other_fields1|{{{Other_fields1|}||

{{{other_fields1|{Template:Other fields1

{{#if:{{{other_fields2|{{{Other_fields2|}||

{{{other_fields2|{Template:Other fields2

{{#if:{{{other_fields3|{{{Other_fields3|}||

{{{other_fields3|{Template:Other fields3

{{#if:{{{other_fields4|{{{Other_fields4|}||

{{{other_fields4|{Template:Other fields4

{{#if:{{{other_fields5|{{{Other_fields5|}||

{{{other_fields5|{Template:Other fields5

{{#if:{{{other_fields6|{{{Other_fields6|}||

{{{other_fields6|{Template:Other fields6

{{#if:{{{other_fields7|{{{Other_fields7|}||

{{{other_fields7|{Template:Other fields7

{{#if:{{{other_fields8|{{{Other_fields8|}||

{{{other_fields8|{Template:Other fields8

{{#if:{{{other_fields9|{{{Other_fields9|}||

{{{other_fields9|{Template:Other fields9

{{#if:{{{other_fields10|{{{Other_fields10|}||

{{{other_fields10|{Template:Other fields10

改编的作品

{{Information
|Description=Origin游戏平台的Logo
|Source=[https://www.origin.com/hkg/zh-tw/ Origin官网]
|Date=2020年6月15日
|Author={{AutVec|[[zhmoe:美国艺电|美国艺电]]|v=[[zhmoe:User:Xzonn|Xzonn]]}}
}}
{{#switch: {{{E|} | = | - = |none = |#default =
说明 {{#if:{{{A|Origin游戏平台的Logo}|{Template:A
来源 {{#if:{{{B|Origin官网}|{Template:B
日期 {{ISOdate|2020年6月15日
作者 {Template:D
许可 {Template:E

{{#switch: {{{F| | = | - = |none = | #default =

其他版本 {Template:F

{{{other_fields|{{{Other_fields|} {{#if:{{{other_fields1|{{{Other_fields1|}||

{{{other_fields1|{Template:Other fields1

{{#if:{{{other_fields2|{{{Other_fields2|}||

{{{other_fields2|{Template:Other fields2

{{#if:{{{other_fields3|{{{Other_fields3|}||

{{{other_fields3|{Template:Other fields3

{{#if:{{{other_fields4|{{{Other_fields4|}||

{{{other_fields4|{Template:Other fields4

{{#if:{{{other_fields5|{{{Other_fields5|}||

{{{other_fields5|{Template:Other fields5

{{#if:{{{other_fields6|{{{Other_fields6|}||

{{{other_fields6|{Template:Other fields6

{{#if:{{{other_fields7|{{{Other_fields7|}||

{{{other_fields7|{Template:Other fields7

{{#if:{{{other_fields8|{{{Other_fields8|}||

{{{other_fields8|{Template:Other fields8

{{#if:{{{other_fields9|{{{Other_fields9|}||

{{{other_fields9|{Template:Other fields9

{{#if:{{{other_fields10|{{{Other_fields10|}||

{{{other_fields10|{Template:Other fields10


来自维基共享的文件

{{Information
|Description=A symbol for list-class articles.
|Source={{fwc}}
|Date=2008-05-03
|Author= {{wikiuser|en|Mysid}}
|Permission=
|other_versions=
}}
{{#switch: {{{E|} | = | - = |none = |#default =
说明 {{#if:{{{A|A symbol for list-class articles.}|{Template:A
来源 {{#if:{{{B|维基共享}|{Template:B
日期 {{ISOdate|2008-05-03
作者 {Template:D
许可 {Template:E

{{#switch: {{{F| | = | - = |none = | #default =

其他版本 {Template:F

{{{other_fields|{{{Other_fields|} {{#if:{{{other_fields1|{{{Other_fields1|}||

{{{other_fields1|{Template:Other fields1

{{#if:{{{other_fields2|{{{Other_fields2|}||

{{{other_fields2|{Template:Other fields2

{{#if:{{{other_fields3|{{{Other_fields3|}||

{{{other_fields3|{Template:Other fields3

{{#if:{{{other_fields4|{{{Other_fields4|}||

{{{other_fields4|{Template:Other fields4

{{#if:{{{other_fields5|{{{Other_fields5|}||

{{{other_fields5|{Template:Other fields5

{{#if:{{{other_fields6|{{{Other_fields6|}||

{{{other_fields6|{Template:Other fields6

{{#if:{{{other_fields7|{{{Other_fields7|}||

{{{other_fields7|{Template:Other fields7

{{#if:{{{other_fields8|{{{Other_fields8|}||

{{{other_fields8|{Template:Other fields8

{{#if:{{{other_fields9|{{{Other_fields9|}||

{{{other_fields9|{Template:Other fields9

{{#if:{{{other_fields10|{{{Other_fields10|}||

{{{other_fields10|{Template:Other fields10

来自P站的文件

{{Information
|Description=博丽灵梦
|Source={{pixivlink|14547395|博麗の巫女さん|ja}}
|Date=2010年11月13日
|Author={{pixivauthor|1593245|tucana}}
|Permission=
|Other_versions=
}}
{{#switch: {{{E|} | = | - = |none = |#default =
说明 {{#if:{{{A|博丽灵梦}|{Template:A
来源 {{#if:{{{B|博麗の巫女さん, Pixiv}|{Template:B
日期 {{ISOdate|2010年11月13日
作者 {Template:D
许可 {Template:E

{{#switch: {{{F| | = | - = |none = | #default =

其他版本 {Template:F

{{{other_fields|{{{Other_fields|} {{#if:{{{other_fields1|{{{Other_fields1|}||

{{{other_fields1|{Template:Other fields1

{{#if:{{{other_fields2|{{{Other_fields2|}||

{{{other_fields2|{Template:Other fields2

{{#if:{{{other_fields3|{{{Other_fields3|}||

{{{other_fields3|{Template:Other fields3

{{#if:{{{other_fields4|{{{Other_fields4|}||

{{{other_fields4|{Template:Other fields4

{{#if:{{{other_fields5|{{{Other_fields5|}||

{{{other_fields5|{Template:Other fields5

{{#if:{{{other_fields6|{{{Other_fields6|}||

{{{other_fields6|{Template:Other fields6

{{#if:{{{other_fields7|{{{Other_fields7|}||

{{{other_fields7|{Template:Other fields7

{{#if:{{{other_fields8|{{{Other_fields8|}||

{{{other_fields8|{Template:Other fields8

{{#if:{{{other_fields9|{{{Other_fields9|}||

{{{other_fields9|{Template:Other fields9

{{#if:{{{other_fields10|{{{Other_fields10|}||

{{{other_fields10|{Template:Other fields10

来自其他网站的文件


{{Information
|Description    =打叉
|Source         =[https://openclipart.org/detail/16982/cross Cross]
|Author         =[https://openclipart.org/artist/jean_victor_balin jean_victor_balin]
|Date           =2008-05-26
|Permission     =
|other_versions=
}}
{{#switch: {{{E|} | = | - = |none = |#default =
说明 {{#if:{{{A|打叉}|{Template:A
来源 {{#if:{{{B|Cross}|{Template:B
日期 {{ISOdate|2008-05-26
作者 {Template:D
许可 {Template:E

{{#switch: {{{F| | = | - = |none = | #default =

其他版本 {Template:F

{{{other_fields|{{{Other_fields|} {{#if:{{{other_fields1|{{{Other_fields1|}||

{{{other_fields1|{Template:Other fields1

{{#if:{{{other_fields2|{{{Other_fields2|}||

{{{other_fields2|{Template:Other fields2

{{#if:{{{other_fields3|{{{Other_fields3|}||

{{{other_fields3|{Template:Other fields3

{{#if:{{{other_fields4|{{{Other_fields4|}||

{{{other_fields4|{Template:Other fields4

{{#if:{{{other_fields5|{{{Other_fields5|}||

{{{other_fields5|{Template:Other fields5

{{#if:{{{other_fields6|{{{Other_fields6|}||

{{{other_fields6|{Template:Other fields6

{{#if:{{{other_fields7|{{{Other_fields7|}||

{{{other_fields7|{Template:Other fields7

{{#if:{{{other_fields8|{{{Other_fields8|}||

{{{other_fields8|{Template:Other fields8

{{#if:{{{other_fields9|{{{Other_fields9|}||

{{{other_fields9|{Template:Other fields9

{{#if:{{{other_fields10|{{{Other_fields10|}||

{{{other_fields10|{Template:Other fields10


注意

  • 本模板可能未必适合所有文件,比如作者难以查证的文件,在作者缺失的情况下,该模板会为页面添加作者:未知分类。
  • 本模板是可选项,不是必要项,用于补充信息,如果认为文件信息已经完善则可以考虑不填写。