Template:Infobox school: Difference between revisions
Richardpruen (talk | contribs) m 1 revision imported: Template for journal |
imported>Ɱ size |
||
Line 14: | Line 14: | ||
| image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|upright=1|alt={{{logo_alt|}}}}} | | image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|upright=1|alt={{{logo_alt|}}}}} | ||
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{seal_image|}}}|size={{{seal_size|}}}|upright=1|alt={{{seal_alt|}}}}} | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{seal_image|}}}|size={{{seal_size|}}}|upright=1|alt={{{seal_alt|}}}}} | ||
| image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}{{{image_name|}}}{{{imagewikilink|}}}|size= | | image3 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}{{{image_name|}}}{{{imagewikilink|}}}|size={{{image_size|}}}|upright={{{image_upright|1.14}}}|sizedefault=250px|maxsize=325px|alt={{{alt|}}}}} | ||
| caption{{#if:{{{image|}}}{{{image_name|}}}{{{imagewikilink|}}}|3|{{#if:{{{seal_image|}}}|2|{{#if:{{{logo|}}}|1|5}}}}}} = {{#if:{{{image|}}}{{{image_name|}}}{{{seal_image|}}}{{{logo|}}}{{{imagewikilink|}}}|{{{caption|}}} }} | | caption{{#if:{{{image|}}}{{{image_name|}}}{{{imagewikilink|}}}|3|{{#if:{{{seal_image|}}}|2|{{#if:{{{logo|}}}|1|5}}}}}} = {{#if:{{{image|}}}{{{image_name|}}}{{{seal_image|}}}{{{logo|}}}{{{imagewikilink|}}}|{{{caption|}}} }} | ||
Line 35: | Line 35: | ||
| 5 = {{#if:{{{postcode|}}}{{{postalcode|}}}|<div style="display:inline;" class="postal-code" class="nowrap">{{if empty|{{{postcode|}}}|{{{postalcode|}}}}}</div>}} | | 5 = {{#if:{{{postcode|}}}{{{postalcode|}}}|<div style="display:inline;" class="postal-code" class="nowrap">{{if empty|{{{postcode|}}}|{{{postalcode|}}}}}</div>}} | ||
}} {{#if:{{{zipcode|}}}|<div style="display:inline;" class="postal-code">{{{zipcode}}}</div>}} | }} {{#if:{{{zipcode|}}}|<div style="display:inline;" class="postal-code">{{{zipcode}}}</div>}} | ||
|5 = {{#if:{{{country|}}}|<div style="display:inline;" class="country-name">{{#ifexist:Template:Country data {{{country}}}|{{Getalias|{{{country}}}}}|{{{country}}}{{main other|{{#ifeq:_MATCH_|{{#invoke:string|replace|{{{country}}}|^%[%[[^%[%]]*%]%]$|_MATCH_|plain=false}}|[[Category:Pages using infobox school with a linked country]]|[[Category:Pages using infobox school with an unknown country]]}}}}}}</div>{{#if:{{{country1|}}}|,}}}} {{#if:{{{country1|}}}|<div style="display:inline;" class="country-name1">{{#ifexist:Template:Country data {{{country1}}}|{{Getalias|{{{country1}}}}}|{{{country1}}}{{main other|{{#ifeq:_MATCH_|{{#invoke:string|replace|{{{country1}}}|^%[%[[^%[%]]*%]%]$|_MATCH_|plain=false}}|[[Category:Pages using infobox school with a linked country1]]|[[Category:Pages using infobox school with an unknown country1]]}}}}}}</div>}} | |5 = {{#if:{{{country|}}}|<div style="display:inline;" class="country-name">{{#ifexist:Template:Country data {{{country}}}|{{Getalias|{{{country}}}|shortname}}|{{{country}}}{{main other|{{#ifeq:_MATCH_|{{#invoke:string|replace|{{{country}}}|^%[%[[^%[%]]*%]%]$|_MATCH_|plain=false}}|[[Category:Pages using infobox school with a linked country]]|[[Category:Pages using infobox school with an unknown country]]}}}}}}</div>{{#if:{{{country1|}}}|,}}}} {{#if:{{{country1|}}}|<div style="display:inline;" class="country-name1">{{#ifexist:Template:Country data {{{country1}}}|{{Getalias|{{{country1}}}|shortname}}|{{{country1}}}{{main other|{{#ifeq:_MATCH_|{{#invoke:string|replace|{{{country1}}}|^%[%[[^%[%]]*%]%]$|_MATCH_|plain=false}}|[[Category:Pages using infobox school with a linked country1]]|[[Category:Pages using infobox school with an unknown country1]]}}}}}}</div>}} | ||
}} | }} | ||
Line 565: | Line 565: | ||
| header170 = _BLANK_ | | header170 = _BLANK_ | ||
| rowstyle171 = | | rowstyle171 = | ||
| data171 = {{{footnotes|}}} | | data171 = {{{footnotes|}}} | ||
Line 578: | Line 578: | ||
| data174 = {{{module|}}} | | data174 = {{{module|}}} | ||
| belowstyle = | | belowstyle = | ||
| below = {{#if: {{{lastupdate|}}} | Last updated: {{{lastupdate}}} }} | | below = {{#if: {{{lastupdate|}}} | Last updated: {{{lastupdate}}} }} | ||