Template:Infobox building: Difference between revisions
Appearance
添加学校、人物、建筑信息框及本地化模板帮助 |
将可插入模板归入可视化编辑器默认浏览分类;分类仅在noinclude内,不传递给正文 |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 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>Address</th><td>{{{address}}}</td></tr>}}{{#if:{{{completed|}}}|<tr><th>Completed</th><td>{{{completed}}}</td></tr>}}{{#if:{{{architect|}}}|<tr><th>Architect</th><td>{{{architect}}}</td></tr>}}{{#if:{{{use|}}}|<tr><th>Use</th><td>{{{use}}}</td></tr>}}{{#if:{{{floors|}}}|<tr><th>Floors</th><td>{{{floors}}}</td></tr>}}{{#if:{{{height|}}}|<tr><th>Height</th><td>{{{height}}}</td></tr>}}{{#if:{{{website|}}}|<tr><th>Website</th><td>{{{website}}}</td></tr>}}{{#if:{{{sources|}}}|<tr><th>Sources</th><td>{{{sources}}}</td></tr>}}</table></includeonly><noinclude> | ||
</includeonly><noinclude> | |||
[[Help:Templates|Using templates]] | [[Help:Templates|Using templates]] | ||
<templatedata> | <templatedata> | ||
| Line 124: | Line 93: | ||
[[ko:Template:건축물 정보상자]] | [[ko:Template:건축물 정보상자]] | ||
[[lzh:Template:建築資訊框]] | [[lzh:Template:建築資訊框]] | ||
[[Category:Templates]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 09:10, 16 November 2026
Infobox building
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | no description | Content | suggested |
| Image | image | no description | File | suggested |
| Caption | caption | no description | Content | optional |
| Address | address | no description | Content | suggested |
| Completed | completed | no description | Content | suggested |
| Architect | architect | no description | Content | optional |
| Use | use | no description | Content | optional |
| Floors | floors | no description | Content | optional |
| Height | height | no description | Content | optional |
| Website | website | no description | URL | optional |
| Sources | sources | no description | Content | optional |