跳至內容

「Template:Infobox」:修訂間差異

增加 662 位元組 、​ 2025年8月31日 (星期日)
已保护“Template:Infobox”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))
Loli留言 | 貢獻
無編輯摘要
標籤已被回退
Loli留言 | 貢獻
(已保护“Template:Infobox”([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)))
 
(未顯示同一使用者於中間所作的 14 次修訂)
第1行: 第1行:
<includeonly>
<includeonly>
{| class="infobox" style="width:22em; font-size:90%; border:1px solid #aaa; background:#f9f9f9; float:right; clear:right; margin:0 0 1em 1em;"
{| class="wikitable infobox" style="width:22em; font-size:90%; border:1px solid #aaa; background:#f9f9f9; float:right; clear:right; margin:0 0 1em 1em;"
! colspan="2" style="background:#ccc; text-align:center; font-size:110%;" | {{{name|Infobox 标题}}}
! colspan="2" style="background:#ccc; text-align:center; font-size:110%;" | {{{name|Infobox 标题}}}
{{#if:{{{image|}}}|
{{#ifexist:File:{{{image}}}|
|-
|-
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|250px]]
{{#if: {{{image|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|250px]]
{{!}}-
}}
}}
{{#if: {{{type|}}} |
! style="min-width:80px;" {{!}} 类型
{{!}} {{{type}}}
{{!}}-
}}
{{#if: {{{description|}}} |
! style="min-width:80px;" {{!}} 简介
{{!}} {{{description}}}
{{!}}-
}}
{{#if: {{{other|}}} |
! style="min-width:80px;" {{!}} 补充
{{!}} {{{other}}}
{{!}}-
}}
{{#if: {{{label1|}}} |
! style="min-width:80px;" {{!}} {{{label1}}}
{{!}} {{{data1|}}}
{{!}}-
}}
{{#if: {{{label2|}}} |
! style="min-width:80px;" {{!}} {{{label2}}}
{{!}} {{{data2|}}}
{{!}}-
}}
{{#if: {{{label3|}}} |
! style="min-width:80px;" {{!}} {{{label3}}}
{{!}} {{{data3|}}}
{{!}}-
}}
{{#if: {{{label4|}}} |
! style="min-width:80px;" {{!}} {{{label4}}}
{{!}} {{{data4|}}}
{{!}}-
}}
{{#if: {{{label5|}}} |
! style="min-width:80px;" {{!}} {{{label5}}}
{{!}} {{{data5|}}}
}}
}}
|-
! 类型
| {{{type|}}}
|-
! 描述
| {{{description|}}}
|-
! 其他
| {{{other|}}}
|}
|}
</includeonly>
</includeonly>
第25行: 第54行:
| name     = 示例条目
| name     = 示例条目
| image    = Example.jpg
| image    = Example.jpg
| type     =  测试 类型
| type     = 类型
| description = 这是一个简单的 infobox 示例
| description = 这是一个简单的 infobox 示例
| other    = 其他 说明
| other    = 其他 补充
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>
127

次編輯