「模板:學校資訊框」:各本之異
觀
添加学校、人物、建筑信息框及本地化模板帮助 |
将可插入模板归入可视化编辑器默认浏览分类;分类仅在noinclude内,不传递给正文 |
||
| (同一文士,間所易二筆,皆略之) | |||
| 第一行: | 第一行: | ||
<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> | ||
{{#if:{{{image|}}}| | |||
}} | |||
{{#if:{{{address|}}}| | |||
}} | |||
{{#if:{{{established|}}}| | |||
}} | |||
{{#if:{{{type|}}}| | |||
}} | |||
{{#if:{{{principal|}}}| | |||
}} | |||
{{#if:{{{affiliation|}}}| | |||
}} | |||
{{#if:{{{motto|}}}| | |||
}} | |||
{{#if:{{{grades|}}}| | |||
}} | |||
{{#if:{{{website|}}}| | |||
}} | |||
{{#if:{{{sources|}}}| | |||
}} | |||
</includeonly><noinclude> | |||
[[Help:模板|模板之用]] | [[Help:模板|模板之用]] | ||
<templatedata> | <templatedata> | ||
| 第一五五行: | 第一〇〇行: | ||
[[ja:Template:学校情報ボックス]] | [[ja:Template:学校情報ボックス]] | ||
[[ko:Template:학교 정보상자]] | [[ko:Template:학교 정보상자]] | ||
[[分類:模板]] | |||
</noinclude> | </noinclude> | ||