模板:Infobox:修订间差异

来自槌基百科
无编辑摘要
无编辑摘要
第1行: 第1行:
<includeonly><table class="infobox" style="width: 22em; font-size: 90%; text-align: left;">
<includeonly><table class="infobox" style="width: 22em; font-size: 90%; text-align: left;">
<tr><th colspan="2" style="text-align: center; font-size: 125%;">{{{name}}}</th></tr>
<!-- ... other rows ... -->
{{#if: {{{image|}}} | <tr><td colspan="2" style="text-align: center;">[[File:{{{image}}}|220px|alt={{{alt}}}|{{{caption}}}]]</td></tr> }}
{{#if: {{{image|}}} | <tr><td colspan="2" style="text-align: center;">[[File:{{{image}}}|220px|alt={{{alt}}}|{{{caption}}}]]</td></tr> }}
<!-- Add rows for other parameters here -->
{{#if: {{{caption|}}} | <tr><td colspan="2" style="text-align: center;">{{{caption}}}</td></tr> }}
<!-- ... other rows ... -->
</table></includeonly><noinclude>
</table></includeonly><noinclude>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

2024年1月5日 (五) 16:33的版本