Template:Infobox building: Difference between revisions
添加学校、人物、建筑信息框及本地化模板帮助 |
添加学校、人物、建筑信息框及本地化模板帮助 |
||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:TYZX infobox/styles.css" /> | <includeonly><templatestyles src="Template:TYZX infobox/styles.css" /> | ||
{| class="tyzx-infobox" | {| class="tyzx-infobox" | ||
|- | |- | ||
! colspan="2" class="tyzx-infobox-title" | {{{name|{{PAGENAME}}}}} | ! colspan="2" class="tyzx-infobox-title" | {{{name|{{PAGENAME}}}}}{{#if:{{{image|}}}| | ||
{{#if:{{{image|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" class="tyzx-infobox-image" {{!}} [[File:{{{image}}}|260px|alt={{{caption|}}}]]<br />{{{caption|}}} | {{!}} colspan="2" class="tyzx-infobox-image" {{!}} [[File:{{{image}}}|260px|alt={{{caption|}}}]]<br />{{{caption|}}}}}{{#if:{{{address|}}}| | ||
}} | |||
{{#if:{{{address|}}}| | |||
{{!}}- | {{!}}- | ||
! Address | ! Address | ||
{{!}} {{{address}}} | {{!}} {{{address}}}}}{{#if:{{{completed|}}}| | ||
}} | |||
{{#if:{{{completed|}}}| | |||
{{!}}- | {{!}}- | ||
! Completed | ! Completed | ||
{{!}} {{{completed}}} | {{!}} {{{completed}}}}}{{#if:{{{architect|}}}| | ||
}} | |||
{{#if:{{{architect|}}}| | |||
{{!}}- | {{!}}- | ||
! Architect | ! Architect | ||
{{!}} {{{architect}}} | {{!}} {{{architect}}}}}{{#if:{{{use|}}}| | ||
}} | |||
{{#if:{{{use|}}}| | |||
{{!}}- | {{!}}- | ||
! Use | ! Use | ||
{{!}} {{{use}}} | {{!}} {{{use}}}}}{{#if:{{{floors|}}}| | ||
}} | |||
{{#if:{{{floors|}}}| | |||
{{!}}- | {{!}}- | ||
! Floors | ! Floors | ||
{{!}} {{{floors}}} | {{!}} {{{floors}}}}}{{#if:{{{height|}}}| | ||
}} | |||
{{#if:{{{height|}}}| | |||
{{!}}- | {{!}}- | ||
! Height | ! Height | ||
{{!}} {{{height}}} | {{!}} {{{height}}}}}{{#if:{{{website|}}}| | ||
}} | |||
{{#if:{{{website|}}}| | |||
{{!}}- | {{!}}- | ||
! Website | ! Website | ||
{{!}} {{{website}}} | {{!}} {{{website}}}}}{{#if:{{{sources|}}}| | ||
}} | |||
{{#if:{{{sources|}}}| | |||
{{!}}- | {{!}}- | ||
! Sources | ! Sources | ||
{{!}} {{{sources}}} | {{!}} {{{sources}}}}} | ||
}} | |||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||