「Template:Infobox」:修訂間差異

出自萌域知库
Loli對話 | 貢獻
無編輯摘要
Loli對話 | 貢獻
無編輯摘要
第2行: 第2行:
{| class="infobox" style="width:22em; font-size:90%; border:1px solid #aaa; background:#f9f9f9; float:right; clear:right; margin:0 0 1em 1em;"
{| class="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 标题}}}
{{#ifelse:{{{image|}}}|
|-
|-
{{#ifelse:{{{image|}}}|
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|250px]]
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|250px]]
}}
|-
|-
}}
! 类型
! 类型
| {{{type|}}}
| {{{type|}}}

於 2025年8月31日 (日) 19:05 的修訂


使用方法:

{{Infobox
| name        = 示例条目
| image       = Example.jpg
| type        = 测试类型
| description = 这是一个简单的 infobox 示例
| other       = 其他说明
}}