添加学校、人物、建筑信息框及本地化模板帮助
 
将可插入模板归入可视化编辑器默认浏览分类;分类仅在noinclude内,不传递给正文
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Template:TYZX infobox/styles.css" />
<includeonly><templatestyles src="Template:TYZX infobox/styles.css" /><table class="tyzx-infobox"><tr><th colspan="2" class="tyzx-infobox-title">{{{name|{{PAGENAME}}}}}</th></tr>{{#if:{{{image|}}}|<tr><td colspan="2" class="tyzx-infobox-image">[[File:{{{image}}}|260px|alt={{{caption|}}}]]<br />{{{caption|}}}</td></tr>}}{{#if:{{{address|}}}|<tr><th>Address</th><td>{{{address}}}</td></tr>}}{{#if:{{{completed|}}}|<tr><th>Completed</th><td>{{{completed}}}</td></tr>}}{{#if:{{{architect|}}}|<tr><th>Architect</th><td>{{{architect}}}</td></tr>}}{{#if:{{{use|}}}|<tr><th>Use</th><td>{{{use}}}</td></tr>}}{{#if:{{{floors|}}}|<tr><th>Floors</th><td>{{{floors}}}</td></tr>}}{{#if:{{{height|}}}|<tr><th>Height</th><td>{{{height}}}</td></tr>}}{{#if:{{{website|}}}|<tr><th>Website</th><td>{{{website}}}</td></tr>}}{{#if:{{{sources|}}}|<tr><th>Sources</th><td>{{{sources}}}</td></tr>}}</table></includeonly><noinclude>
{| class="tyzx-infobox"
|+
|-
! colspan="2" class="tyzx-infobox-title" | {{{name|{{PAGENAME}}}}}
{{#if:{{{image|}}}|
{{!}}-
{{!}} colspan="2" class="tyzx-infobox-image" {{!}} [[File:{{{image}}}|260px|alt={{{caption|}}}]]<br />{{{caption|}}}
}}
{{#if:{{{address|}}}|
{{!}}-
! Address
{{!}} {{{address}}}
}}
{{#if:{{{completed|}}}|
{{!}}-
! Completed
{{!}} {{{completed}}}
}}
{{#if:{{{architect|}}}|
{{!}}-
! Architect
{{!}} {{{architect}}}
}}
{{#if:{{{use|}}}|
{{!}}-
! Use
{{!}} {{{use}}}
}}
{{#if:{{{floors|}}}|
{{!}}-
! Floors
{{!}} {{{floors}}}
}}
{{#if:{{{height|}}}|
{{!}}-
! Height
{{!}} {{{height}}}
}}
{{#if:{{{website|}}}|
{{!}}-
! Website
{{!}} {{{website}}}
}}
{{#if:{{{sources|}}}|
{{!}}-
! Sources
{{!}} {{{sources}}}
}}
|}
</includeonly><noinclude>
[[Help:Templates|Using templates]]
[[Help:Templates|Using templates]]
<templatedata>
<templatedata>
Line 143: Line 93:
[[ko:Template:건축물 정보상자]]
[[ko:Template:건축물 정보상자]]
[[lzh:Template:建築資訊框]]
[[lzh:Template:建築資訊框]]
[[Category:Templates]]
</noinclude>
</noinclude>