添加学校、人物、建筑信息框及本地化模板帮助 |
将可插入模板归入可视化编辑器默认浏览分类;分类仅在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:{{{completed|}}}|<tr><th>竣工之年</th><td>{{{completed}}}</td></tr>}}{{#if:{{{architect|}}}|<tr><th>建築師</th><td>{{{architect}}}</td></tr>}}{{#if:{{{use|}}}|<tr><th>用途</th><td>{{{use}}}</td></tr>}}{{#if:{{{floors|}}}|<tr><th>層數</th><td>{{{floors}}}</td></tr>}}{{#if:{{{height|}}}|<tr><th>高</th><td>{{{height}}}</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:{{{completed|}}}| | |||
}} | |||
{{#if:{{{architect|}}}| | |||
}} | |||
{{#if:{{{use|}}}| | |||
}} | |||
{{#if:{{{floors|}}}| | |||
}} | |||
{{#if:{{{height|}}}| | |||
}} | |||
{{#if:{{{website|}}}| | |||
}} | |||
{{#if:{{{sources|}}}| | |||
}} | |||
</includeonly><noinclude> | |||
[[Help:模板|模板之用]] | [[Help:模板|模板之用]] | ||
<templatedata> | <templatedata> | ||
| 第一四三行: | 第九三行: | ||
[[ja:Template:建築物情報ボックス]] | [[ja:Template:建築物情報ボックス]] | ||
[[ko:Template:건축물 정보상자]] | [[ko:Template:건축물 정보상자]] | ||
[[分類:模板]] | |||
</noinclude> | </noinclude> | ||