Template:Information:修订间差异

删除的内容 添加的内容
云云​(留言 | 贡献)
无编辑摘要
云云​(留言 | 贡献)
文件页样式:改用维基媒体 file-information 布局
第1行:
<templatestyles src="Information/styles.css" />
{| class="infobox mw-filepage-parambox" style="width: 100%; max-width: 600px; background: #f8f9fa; border: 1px solid #a2a9b1; margin: 0.5em 0; padding: 0.5em; font-size: 95%;"
{| class="file-information"
|+ style="font-size: 110%; font-weight: bold; text-align: center; padding: 0.3em;" | 文件信息
|+ 文件信息
|-
{{#if: {{{description|}}} |
{{!}} style="width: 100px; font-weight: bold; vertical-align: top;" {{!}} 描述
{{!}} {{{description}}}▼
{{!}}-
! scope="row" {{!}} 描述
▲{{!}} {{{description|}}}
}}
{{#if: {{{source|}}} |
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} 来源
{{!}} {{{source}}}▼
{{!}}-
! scope="row" {{!}} 来源
▲{{!}} {{{source|}}}
}}
{{#if: {{{date|}}} |
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} 日期
{{!}} {{{date}}}▼
{{!}}-
! scope="row" {{!}} 日期
▲{{!}} {{{date|}}}
}}
{{#if: {{{author|}}} |
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} 作者
{{!}} {{{author}}}▼
{{!}}-
! scope="row" {{!}} 作者
▲{{!}} {{{author|}}}
}}
{{#if: {{{permission|}}} |
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} 许可协议
{{!}} {{{permission}}}▼
{{!}}-
! scope="row" {{!}} 许可协议
▲{{!}} {{{permission|}}}
}}
{{#if: {{{other versions|{{{other_versions|}}}}}} |
{{!}} style="font-weight: bold; vertical-align: top;" {{!}} 其他版本
{{!}} {{#tag:gallery|{{{other versions|{{{other_versions|}}}}}}}}▼
{{!}}-
! scope="row" {{!}} 其他版本
▲{{!}} {{#tag:gallery|{{{other versions|{{{other_versions|}}}}}}}}
}}
|}