Template:Infobox school: Difference between revisions
Appearance
添加学校、人物、建筑信息框及本地化模板帮助 |
将可插入模板归入可视化编辑器默认浏览分类;分类仅在noinclude内,不传递给正文 |
||
| (2 intermediate revisions 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:{{{established|}}}|<tr><th>Established</th><td>{{{established}}}</td></tr>}}{{#if:{{{type|}}}|<tr><th>Type</th><td>{{{type}}}</td></tr>}}{{#if:{{{principal|}}}|<tr><th>Principal</th><td>{{{principal}}}</td></tr>}}{{#if:{{{affiliation|}}}|<tr><th>Affiliation</th><td>{{{affiliation}}}</td></tr>}}{{#if:{{{motto|}}}|<tr><th>Motto</th><td>{{{motto}}}</td></tr>}}{{#if:{{{grades|}}}|<tr><th>Grades</th><td>{{{grades}}}</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> | ||
{{#if:{{{image|}}}| | |||
}} | |||
{{#if:{{{address|}}}| | |||
}} | |||
{{#if:{{{established|}}}| | |||
}} | |||
{{#if:{{{type|}}}| | |||
}} | |||
{{#if:{{{principal|}}}| | |||
}} | |||
{{#if:{{{affiliation|}}}| | |||
}} | |||
{{#if:{{{motto|}}}| | |||
}} | |||
{{#if:{{{grades|}}}| | |||
}} | |||
{{#if:{{{website|}}}| | |||
}} | |||
{{#if:{{{sources|}}}| | |||
}} | |||
</includeonly><noinclude> | |||
[[Help:Templates|Using templates]] | [[Help:Templates|Using templates]] | ||
<templatedata> | <templatedata> | ||
| Line 155: | Line 100: | ||
[[ko:Template:학교 정보상자]] | [[ko:Template:학교 정보상자]] | ||
[[lzh:Template:學校資訊框]] | [[lzh:Template:學校資訊框]] | ||
[[Category:Templates]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 09:10, 16 November 2026
Infobox school
| 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 |
| Established | established | no description | Content | suggested |
| Type | type | no description | Content | optional |
| Principal | principal | no description | Content | optional |
| Affiliation | affiliation | no description | Content | optional |
| Motto | motto | no description | Content | optional |
| Grades | grades | no description | Content | optional |
| Website | website | no description | URL | optional |
| Sources | sources | no description | Content | optional |