THDeb​(留言 | 贡献)
添加学校、人物、建筑信息框及本地化模板帮助
THDeb​(留言 | 贡献)
将可插入模板归入可视化编辑器默认浏览分类;分类仅在noinclude内,不传递给正文
 
(未显示同一用户的1个中间版本)
第1行: 第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>地址</th><td>{{{address}}}</td></tr>}}{{#if:{{{established|}}}|<tr><th>创办日期</th><td>{{{established}}}</td></tr>}}{{#if:{{{type|}}}|<tr><th>类型</th><td>{{{type}}}</td></tr>}}{{#if:{{{principal|}}}|<tr><th>校长</th><td>{{{principal}}}</td></tr>}}{{#if:{{{affiliation|}}}|<tr><th>隶属</th><td>{{{affiliation}}}</td></tr>}}{{#if:{{{motto|}}}|<tr><th>校训</th><td>{{{motto}}}</td></tr>}}{{#if:{{{grades|}}}|<tr><th>年级</th><td>{{{grades}}}</td></tr>}}{{#if:{{{website|}}}|<tr><th>网站</th><td>{{{website}}}</td></tr>}}{{#if:{{{sources|}}}|<tr><th>来源</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}}}}}{{#if:{{{established|}}}|
{{!}}-
! 创办日期
{{!}} {{{established}}}}}{{#if:{{{type|}}}|
{{!}}-
! 类型
{{!}} {{{type}}}}}{{#if:{{{principal|}}}|
{{!}}-
! 校长
{{!}} {{{principal}}}}}{{#if:{{{affiliation|}}}|
{{!}}-
! 隶属
{{!}} {{{affiliation}}}}}{{#if:{{{motto|}}}|
{{!}}-
! 校训
{{!}} {{{motto}}}}}{{#if:{{{grades|}}}|
{{!}}-
! 年级
{{!}} {{{grades}}}}}{{#if:{{{website|}}}|
{{!}}-
! 网站
{{!}} {{{website}}}}}{{#if:{{{sources|}}}|
{{!}}-
! 来源
{{!}} {{{sources}}}}}
|}
</includeonly><noinclude>
[[Help:模板|使用模板]]
[[Help:模板|使用模板]]
<templatedata>
<templatedata>
第134行: 第100行:
[[ko:Template:학교 정보상자]]
[[ko:Template:학교 정보상자]]
[[lzh:Template:學校資訊框]]
[[lzh:Template:學校資訊框]]
[[Category:模板]]
</noinclude>
</noinclude>