Template:Infobox school: Difference between revisions
Appearance
添加学校、人物、建筑信息框及本地化模板帮助 |
添加学校、人物、建筑信息框及本地化模板帮助 |
||
| 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> | ||
</includeonly><noinclude> | |||
[[Help:Templates|Using templates]] | [[Help:Templates|Using templates]] | ||
<templatedata> | <templatedata> | ||
Revision as of 20:49, 5 October 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 |