Template:Infobox:修订间差异

来自洛莉百科
无编辑摘要
标签已被回退
(撤销Loli讨论)的版本469)
标签撤销
第6行: 第6行:
   {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|250px]]
   {{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|250px]]
}}
}}
{{#if: {{{type|}}}
|-
| {{!}}- ! 类型 {{!}} {{{type}}}
! 类型
}}
| {{{type|}}}
{{#if: {{{description|}}}
|-
| {{!}}- ! 描述 {{!}} {{{description}}}
! 描述
}}
| {{{description|}}}
{{#if: {{{other|}}}
|-
| {{!}}- ! 其他 {{!}} {{{other}}}
! 其他
}}
| {{{other|}}}
{{#if: {{{label1|}}}
| {{!}}- ! {{{label1}}} {{!}} {{{data1|}}}
}}
{{#if: {{{label2|}}}
| {{!}}- ! {{{label2}}} {{!}} {{{data2|}}}
}}
{{#if: {{{label3|}}}
| {{!}}- ! {{{label3}}} {{!}} {{{data3|}}}
}}
{{#if: {{{label4|}}}
| {{!}}- ! {{{label4}}} {{!}} {{{data4|}}}
}}
{{#if: {{{label5|}}}
| {{!}}- ! {{{label5}}} {{!}} {{{data5|}}}
}}
{{#if: {{{label6|}}}
| {{!}}- ! {{{label6}}} {{!}} {{{data6|}}}
}}
{{#if: {{{label7|}}}
| {{!}}- ! {{{label7}}} {{!}} {{{data7|}}}
}}
{{#if: {{{label8|}}}
| {{!}}- ! {{{label8}}} {{!}} {{{data8|}}}
}}
{{#if: {{{label9|}}}
| {{!}}- ! {{{label9}}} {{!}} {{{data9|}}}
}}
{{#if: {{{label10|}}}
| {{!}}- ! {{{label10}}} {{!}} {{{data10|}}}
}}
|}
|}
</includeonly>
</includeonly>

2025年8月31日 (日) 19:32的版本


使用方法:

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