Template:EasyInfobox institution: Difference between revisions
Jump to navigation
Jump to search
Support for logo |
Add category for type |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{Infobox | <includeonly>{{Infobox | ||
| above = {{{title|{{{name|{{PAGENAMEBASE}}}}}}}}{{#if: {{{name_native|}}} | <br><span style="font-weight: lighter; font-style: italic;">{{{name_native}}}</span> }} | | above = {{{title|{{{name|{{PAGENAMEBASE}}}}}}}}{{#if: {{{name_native|}}} | <br><span style="font-weight: lighter; font-style: italic;">{{{name_native}}}</span> }} | ||
| subheader = {{#if:{{{type}}}|<div class="category">{{{type|}}}</div>}} | |||
| rowclass1 = mergedtoprow | | rowclass1 = mergedtoprow | ||
| data1 = {{#if:{{{ | | data1 = {{#if:{{{logo|{{Find file|Logo of {{{name|{{PAGENAMEBASE}}}}}}}}}}|<!-- | ||
-->{{#invoke:InfoboxImage|InfoboxImage<!-- | -->{{#invoke:InfoboxImage|InfoboxImage<!-- | ||
-->|image={{#if: {{{logo|}}} | {{{logo|}}} | {{Find file|Logo of {{{name|{{PAGENAMEBASE}}}}} }} }}<!-- | -->|image={{#if: {{{logo|}}} | {{{logo|}}} | {{Find file|Logo of {{{name|{{PAGENAMEBASE}}}}}}} }}<!-- | ||
-->|size={{{logo_size|}}}<!-- | -->|size={{{logo_size|}}}<!-- | ||
-->|sizedefault=250px|alt=|title=}}<!-- | -->|sizedefault=250px|alt=|title=}}<!-- | ||
Line 32: | Line 33: | ||
-->[[Category:Institutions]]<!-- | -->[[Category:Institutions]]<!-- | ||
-->{{#if: {{{country|}}} | [[Category:Institutions in {{{country}}}]] [[Category:{{{country}}}]] }}<!-- | -->{{#if: {{{country|}}} | [[Category:Institutions in {{{country}}}]] [[Category:{{{country}}}]] }}<!-- | ||
-->{{#if: {{{type|}}} | [[Category:{{{type}}}s]] }}<!-- | |||
--></includeonly><noinclude>{{Documentation}}</noinclude> | --></includeonly><noinclude>{{Documentation}}</noinclude> |