Template:Infobox school: 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:{{{established|}}}| | ||
}} | |||
{{#if:{{{established|}}}| | |||
{{!}}- | {{!}}- | ||
! Established | ! Established | ||
{{!}} {{{established}}} | {{!}} {{{established}}}}}{{#if:{{{type|}}}| | ||
}} | |||
{{#if:{{{type|}}}| | |||
{{!}}- | {{!}}- | ||
! Type | ! Type | ||
{{!}} {{{type}}} | {{!}} {{{type}}}}}{{#if:{{{principal|}}}| | ||
}} | |||
{{#if:{{{principal|}}}| | |||
{{!}}- | {{!}}- | ||
! Principal | ! Principal | ||
{{!}} {{{principal}}} | {{!}} {{{principal}}}}}{{#if:{{{affiliation|}}}| | ||
}} | |||
{{#if:{{{affiliation|}}}| | |||
{{!}}- | {{!}}- | ||
! Affiliation | ! Affiliation | ||
{{!}} {{{affiliation}}} | {{!}} {{{affiliation}}}}}{{#if:{{{motto|}}}| | ||
}} | |||
{{#if:{{{motto|}}}| | |||
{{!}}- | {{!}}- | ||
! Motto | ! Motto | ||
{{!}} {{{motto}}} | {{!}} {{{motto}}}}}{{#if:{{{grades|}}}| | ||
}} | |||
{{#if:{{{grades|}}}| | |||
{{!}}- | {{!}}- | ||
! Grades | ! Grades | ||
{{!}} {{{grades}}} | {{!}} {{{grades}}}}}{{#if:{{{website|}}}| | ||
}} | |||
{{#if:{{{website|}}}| | |||
{{!}}- | {{!}}- | ||
! Website | ! Website | ||
{{!}} {{{website}}} | {{!}} {{{website}}}}}{{#if:{{{sources|}}}| | ||
}} | |||
{{#if:{{{sources|}}}| | |||
{{!}}- | {{!}}- | ||
! Sources | ! Sources | ||
{{!}} {{{sources}}} | {{!}} {{{sources}}}}} | ||
}} | |||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||