跳转到内容

模板:Infobox:修订间差异

来自大巴扎百科
imported>Ochbot
機器人:表格語法更新
imported>Caiguanhao
无编辑摘要
 
(未显示9个用户的18个中间版本)
第1行: 第1行:
 
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!--
{| class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"
Caption
<!--
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
Caption
Header
-->{{#if:{{{title|}}}|
-->{{#if:{{{above|}}}|{{Infobox/row
|+class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}" | {{{title}}}}}
|header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}
<!--
|class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}}
Header
}} }}<!--
-->{{#if:{{{above|}}}|
Subheader1
|-----
-->{{#if:{{{subheader|}}}|{{Infobox/row
| colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}" | {{{above}}}}}<!--
|data={{{subheader}}}    |datastyle={{{subheaderstyle|}}}
Subheader
|class={{{subheaderclass|}}}  |rowclass={{{subheaderrowclass1|}}}
-->{{#if:{{{subheader|}}}|
}} }}<!--
|-----
Subheader2
| colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}" | {{{subheader}}}}}<!--
-->{{#if:{{{subheader2|}}}|{{Infobox/row
Image
|data={{{subheader2}}}    |datastyle={{{subheaderstyle|}}}
-->{{#if:{{{image|}}}|
|class={{{subheaderclass|}}}  |rowclass={{{subheaderrowclass2|}}}
|-----
}} }}<!--
| colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}" |  {{{image}}} {{#if:{{{caption|}}}|<br />
Image1
<span style="{{{captionstyle|}}}">{{{caption}}}</span> }}}}<!--
-->{{#if:{{{image|{{{image1|}}}}}}|
Row 1
-->{{#if:{{{header1|}}}|
|-----
! colspan="2" style="text-align:center; {{{headerstyle|}}}" | {{{header1|}}}| {{#if:{{{label1|}}}|{{#if:{{{data1|}}}|
|-----
! style="{{{labelstyle|}}}" | {{{label1|}}}
| class="{{{class1|}}}" style="{{{datastyle|}}}" | {{{data1|}}}}}|  {{#if:{{{data1|}}}|
|-----
| colspan="2" class="{{{class1|}}}" style="text-align:center; {{{datastyle|}}}" | {{{data1|}}}}} }} }}<!--
Row 2
-->{{#if:{{{header2|}}}|
|-----
! colspan="2" style="text-align:center; {{{headerstyle|}}}" | {{{header2|}}}| {{#if:{{{label2|}}}|{{
{{documentation}}
{{documentation}}
<!-- 请在/doc子页面添加分类与跨维基链接,勿在此处添加! -->
<!-- 请在/doc子页面添加分类与跨维基链接,勿在此处添加! -->
</noinclude>
</noinclude>

2010年11月24日 (三) 09:42的最新版本