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" /> | ||
{| class="tyzx-infobox" | {| class="tyzx-infobox" | ||
|- | |- | ||
! colspan="2" class="tyzx-infobox-title" | {{{name|{{PAGENAME}}}}} | ! colspan="2" class="tyzx-infobox-title" | {{{name|{{PAGENAME}}}}}{{#if:{{{image|}}}| | ||
{{#if:{{{image|}}}| | |||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" class="tyzx-infobox-image" {{!}} [[File:{{{image}}}|260px|alt={{{caption|}}}]]<br />{{{caption|}}} | {{!}} colspan="2" class="tyzx-infobox-image" {{!}} [[File:{{{image}}}|260px|alt={{{caption|}}}]]<br />{{{caption|}}}}}{{#if:{{{address|}}}| | ||
}} | |||
{{#if:{{{address|}}}| | |||
{{!}}- | {{!}}- | ||
! Address | ! Address | ||
{{!}} {{{address}}} | {{!}} {{{address}}}}}{{#if:{{{established|}}}| | ||
}} | |||
{{#if:{{{established|}}}| | |||
{{!}}- | {{!}}- | ||
! Established | ! Established | ||
{{!}} {{{established}}} | {{!}} {{{established}}}}}{{#if:{{{type|}}}| | ||
}} | |||
{{#if:{{{type|}}}| | |||
{{!}}- | {{!}}- | ||
! Type | ! Type | ||
{{!}} {{{type}}} | {{!}} {{{type}}}}}{{#if:{{{principal|}}}| | ||
}} | |||
{{#if:{{{principal|}}}| | |||
{{!}}- | {{!}}- | ||
! Principal | ! Principal | ||
{{!}} {{{principal}}} | {{!}} {{{principal}}}}}{{#if:{{{affiliation|}}}| | ||
}} | |||
{{#if:{{{affiliation|}}}| | |||
{{!}}- | {{!}}- | ||
! Affiliation | ! Affiliation | ||
{{!}} {{{affiliation}}} | {{!}} {{{affiliation}}}}}{{#if:{{{motto|}}}| | ||
}} | |||
{{#if:{{{motto|}}}| | |||
{{!}}- | {{!}}- | ||
! Motto | ! Motto | ||
{{!}} {{{motto}}} | {{!}} {{{motto}}}}}{{#if:{{{grades|}}}| | ||
}} | |||
{{#if:{{{grades|}}}| | |||
{{!}}- | {{!}}- | ||
! Grades | ! Grades | ||
{{!}} {{{grades}}} | {{!}} {{{grades}}}}}{{#if:{{{website|}}}| | ||
}} | |||
{{#if:{{{website|}}}| | |||
{{!}}- | {{!}}- | ||
! Website | ! Website | ||
{{!}} {{{website}}} | {{!}} {{{website}}}}}{{#if:{{{sources|}}}| | ||
}} | |||
{{#if:{{{sources|}}}| | |||
{{!}}- | {{!}}- | ||
! Sources | ! Sources | ||
{{!}} {{{sources}}} | {{!}} {{{sources}}}}} | ||
}} | |||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Revision as of 20:48, 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 |