Difference between revisions of "Template:InfoBoxOrganization"

m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| border="2px" cellpadding="0" class="infoBoxNew"
+
{{Infobox
|-
+
|abovestyle    = background:#FFC105; border:0.15em solid #222; padding:0.2em; font-weight: bold;
{{#if:{{{image|}}}|
+
|autoheaders    = y
{{!}} colspan="2" class="infoboxrow" style="border:2px solid #333;" {{!}} [[Image:{{{image}}}|frameless|210px|center|{{#if:{{{Caption|}}}|{{{Caption|}}}|Logo of {{PAGENAME}}}}]]
+
|above          = <div class="fn" style="display:inline-block; font-weight:bold;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>
}}
+
 
|-
+
|subheaderstyle = border:0.15em solid #222; padding:0.2em;
! colspan="2" style="background-color:#FFC105; color:#333; font-size:16px; padding:5px; text-align:center; border:2px solid #333;" | {{#if:{{{corporationname|}}}|{{{corporationname}}}|{{PAGENAME}} }}
+
|imagestyle    = border:0.15em solid #222; padding:0.2em;
|-
+
|image          = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless |upright={{{image_upright|1}}} |alt={{{alt|}}} |title={{{caption|}}} |suppressplaceholder=yes}}
| colspan='2' class='infoboxheading' style="background-color:#607D8B; color:#FFF; font-size:14px; padding:5px; text-align:center; border:2px solid #333;" | '''Organization Profile'''
+
|caption        = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
|- class="infoboxrow" style="border:2px solid #333;"
+
|captionstyle  = line-height:1.4em;
{{#if:{{{Type|}}}|
+
|headerstyle    = background:#607D8B; color:#FFF; border:0.15em solid #333; padding:0.1em;
{{!}} Type
+
|labelstyle    = font-size:14px; font-weight:400; line-height: 1.4; text-align: left; border:0.15em solid #222; padding:0.2em;
{{!}} {{{Type|}}}
+
|datastyle      = font-size:14px; font-weight:400; line-height: 1.4; text-align: left; border:0.15em solid #222; padding:0.2em;
}}
+
 
|- class="infoboxrow" style="border:2px solid #333;"
+
|header1 = Organization Profile
{{#if:{{{Founded|}}}|
+
    |label2 = Type
{{!}} Founding Year
+
    |data2 = {{{Type|}}}
{{!}} {{{Founded|}}}
+
    |label3 = Founded
}}
+
    |data3 = {{{Founded|}}}
|- class="infoboxrow" style="border:2px solid #333;"
+
    |label4 = Dissolved
{{#if:{{{Dissolved|}}}|
+
    |data4 = {{{Dissolved|}}}
{{!}} Dissolution year:
+
    |label5 = Parent Organization
{{!}} {{{Dissolved|}}}
+
    |data5 = {{{Parent Organization|}}}
}}
+
    |label6 = Headquarters
|- class="infoboxrow" style="border:2px solid #333;"
+
    |data6 = {{{Headquarters|}}}
{{#if:{{{Parent Organization|}}}|
+
    |label7 = Leadership
{{!}} Parent Organization
+
    |data7 = {{{Leadership|}}}
{{!}} {{{Parent Organization|}}}
+
 
}}
+
}}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude>
|- class="infoboxrow" style="border:2px solid #333;"
 
{{#if:{{{Headquarters|}}}|
 
{{!}} Headquarters:
 
{{!}} {{{Headquarters|}}}
 
}}
 
|- class="infoboxrow" style="border:2px solid #333;"
 
{{#if:{{{Leadership|}}}|
 
{{!}} Leadership:
 
{{!}} {{{Leadership|}}}
 
}}
 
|-
 
| colspan="2" style="background-color:#FFC105; padding:0px; height:3px" |
 
|-
 
|}
 
<noinclude>
 
{{Documentation}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</pre>
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Infobox templates|Corporation]]
 
</noinclude>
 

Latest revision as of 17:01, 28 March 2024

InfoBoxOrganization