Template:Infobox company: Difference between revisions

From Valoriem
Created Template:Infobox company for use in company profile pages with support for name, industry, founding date, key people, and website.
 
Second attempt at fixing the header.
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<table class="infobox" style="width: 100%; max-width: 320px; font-size: 90%; line-height: 1.5em; border: 1px solid #aaa; background: #f9f9f9; padding: 0.4em; float: right; clear: right;">
<table class="infobox" style="width: 100%; max-width: 320px; font-size: 90%; line-height: 1.5em; border: 1px solid #aaa; background: #f9f9f9; padding: 0.4em; float: right; clear: right;">
  {{#if:{{{name|}}}|
   <tr>
   <tr>
     <th colspan="2" style="background-color:#e6e6e6; text-align:center; font-size:110%;">
     <th colspan="2" style="background-color:#e6e6e6; text-align:center; font-size:110%;">
       {{#if:{{{name|}}}|{{{name}}}|''Company''}}
       {{{name}}}
     </th>
     </th>
   </tr>
   </tr>}}
   {{#if:{{{industry|}}}|
   {{#if:{{{industry|}}}|
   <tr>
   <tr>

Latest revision as of 13:32, 8 May 2025