跳转到内容

模板:Infobox:修订间差异

来自大巴扎百科
imported>Worrydoes
取消Worrydoes (對話)所作出的修訂 11898249
imported>Mikepanhu
无编辑摘要
第1行: 第1行:
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"><!--
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!--
  Caption
  Caption
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
<!--
  Header
  Header
-->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!--
-->{{#if:{{{above|}}}|{{Infobox/row
Subheader
|header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}
-->{{#if:{{{subheader|}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader}}}</td></tr>}
|class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}}
}} }}<!--
Subheader1
-->{{#if:{{{subheader|}}}|{{Infobox/row
|data={{{subheader}}}    |datastyle={{{subheaderstyle|}}}
|class={{{subheaderclass|}}}  |rowclass={{{subheaderrowclass1|}}}
}} }}<!--
Subheader2
-->{{#if:{{{subheader2|}}}|{{Infobox/row
|data={{{subheader2}}}    |datastyle={{{subheaderstyle|}}}
|class={{{subheaderclass|}}}  |rowclass={{{subheaderrowclass2|}}}
}} }}<!--
Image1
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
|data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}    |datastyle={{{imagestyle|}}}
|class={{{imageclass|}}}  |rowclass={{{imagerowclass1|}}}
}} }}<!--
 
</table><noinclude>
</table><noinclude>
{{documentation}}
{{documentation}}
<!-- 请在/doc子页面添加分类与跨维基链接,勿在此处添加! -->
<!-- 请在/doc子页面添加分类与跨维基链接,勿在此处添加! -->
</noinclude>
</noinclude>

2010年1月29日 (五) 10:50的版本