「Template:Infobox」:修訂間差異

出自洛莉百科
(撤销Loli讨论)的版本469)
標籤復原
無編輯摘要
第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" 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 标题}}}
{{#if: {{{image|}}}
|-
| {{!}}-
{{#if: {{{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:41 的修訂


使用方法:

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