Template:Company: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
<div class="infobox" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9; font-size: 90%;">
<div class="infobox" style="width: 22em; border: 1px solid #aaa; border-collapse: collapse; margin: 10px; float: right; background: #f9f9f9;">
<table style="width: 100%; border-collapse: collapse;">
<table style="width: 100%; border: none;">
<tr>
<tr>
<th colspan="2" style="background: #e9e9e9; text-align: center; padding: 5px;">
<th colspan="2" style="background: #e9e9e9; text-align: center;">
{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
</th>
</th>
</tr>
</tr>
<!-- Logo -->
{{#if: {{{logo|}}} |
<tr>
<tr>
<td colspan="2" style="text-align: center; padding: 5px;">
<td colspan="2" style="text-align: center;">
[[File:{{{logo}}}|200px|center]]
{{#if: {{{logo|}}}
{{#if: {{{logo_caption|}}} | <div style="font-style: italic; font-size: 85%;">{{{logo_caption}}}</div> }}
| [[File:{{{logo}}}|thumb|200px|center]]
}}
</td>
</td>
</tr>
</tr>
}}
{{#if: {{{logo_caption|}}}
<!-- Simple info rows -->
| <tr>
{{#if: {{{type|}}} | <tr><th>Type</th><td>{{{type}}}</td></tr> }}
<td colspan="2" style="text-align: center; font-style: italic;">{{{logo_caption}}}</td>
{{#if: {{{industry|}}} | <tr><th>Industry</th><td>{{{industry}}}</td></tr> }}
{{#if: {{{founded|}}} | <tr><th>Founded</th><td>{{{founded}}}</td></tr> }}
{{#if: {{{founder|}}} | <tr><th>Founder(s)</th><td>{{{founder}}}</td></tr> }}
{{#if: {{{location|}}} | <tr><th>Location</th><td>{{{location}}}</td></tr> }}
{{#if: {{{hq|}}} | <tr><th>Headquarters</th><td>{{{hq}}}</td></tr> }}
{{#if: {{{area|}}} | <tr><th>Area Served</th><td>{{{area}}}</td></tr> }}
{{#if: {{{services|}}} | <tr><th>Services</th><td>{{{services}}}</td></tr> }}
{{#if: {{{products|}}} | <tr><th>Products</th><td>{{{products}}}</td></tr> }}
{{#if: {{{phone|}}} | <tr><th>Telephone</th><td>{{{phone}}}</td></tr> }}
{{#if: {{{employees|}}} | <tr><th>Employees</th><td>{{{employees}}}</td></tr> }}
<!-- Social media: User inputs only username -->
{{#if: {{{facebook|}}} |
<tr>
<th>Facebook</th>
<td>[https://www.facebook.com/{{{facebook}}} {{{facebook}}}]</td>
</tr>
}}
{{#if: {{{instagram|}}} |
<tr>
<th>Instagram</th>
<td>[https://www.instagram.com/{{{instagram}}} {{{instagram}}}]</td>
</tr>
}}
{{#if: {{{twitter|}}} |
<tr>
<th>Twitter (X)</th>
<td>[https://twitter.com/{{{twitter}}} {{{twitter}}}]</td>
</tr>
}}
{{#if: {{{linkedin|}}} |
<tr>
<th>LinkedIn</th>
<td>[https://www.linkedin.com/company/{{{linkedin}}} {{{linkedin}}}]</td>
</tr>
}}
{{#if: {{{pinterest|}}} |
<tr>
<th>Pinterest</th>
<td>[https://www.pinterest.com/{{{pinterest}}} {{{pinterest}}}]</td>
</tr>
}}
<!-- Website -->
{{#if: {{{website|}}} |
<tr>
<th>Website</th>
<td>[{{{website}}} {{{website}}}]</td>
</tr>
</tr>
}}
}}
</table>
{{#if: {{{type|}}}
| <tr>
<th style="text-align: left;">Type</th>
          <td>{{{type}}}</td>
        </tr>
    }}
    {{#if: {{{industry|}}}
      | <tr>
          <th style="text-align: left;">Industry</th>
          <td>{{{industry}}}</td>
        </tr>
    }}
    {{#if: {{{founded|}}}
      | <tr>
          <th style="text-align: left;">Founded</th>
          <td>{{{founded}}}</td>
        </tr>
    }}
    {{#if: {{{founder|}}}
      | <tr>
          <th style="text-align: left;">Founder</th>
          <td>{{{founder}}}</td>
        </tr>
    }}
    {{#if: {{{location|}}}
      | <tr>
          <th style="text-align: left;">Location</th>
          <td>{{{location}}}</td>
        </tr>
    }}
    {{#if: {{{hq|}}}
      | <tr>
          <th style="text-align: left;">Headquarters</th>
          <td>{{{hq}}}</td>
        </tr>
    }}
    {{#if: {{{area|}}}
      | <tr>
          <th style="text-align: left;">Area Served</th>
          <td>{{{area}}}</td>
        </tr>
    }}
    {{#if: {{{services|}}}
      | <tr>
          <th style="text-align: left;">Services</th>
          <td>{{{services}}}</td>
        </tr>
    }}
    {{#if: {{{products|}}}
      | <tr>
          <th style="text-align: left;">Products</th>
          <td>{{{products}}}</td>
        </tr>
    }}
    {{#if: {{{phone|}}}
      | <tr>
          <th style="text-align: left;">Telephone</th>
          <td>{{{phone}}}</td>
        </tr>
    }}
    {{#if: {{{employees|}}}
      | <tr>
          <th style="text-align: left;">Number of Employees</th>
          <td>{{{employees}}}</td>
        </tr>
    }}
    {{#if: {{{facebook|}}}
      | <tr>
          <th style="text-align: left;">Facebook</th>
          <td>{{{facebook}}}</td>
        </tr>
    }}
    {{#if: {{{instagram|}}}
      | <tr>
          <th style="text-align: left;">Instagram</th>
          <td>{{{instagram}}}</td>
        </tr>
    }}
    {{#if: {{{twitter|}}}
      | <tr>
          <th style="text-align: left;">Twitter (X)</th>
          <td>{{{twitter}}}</td>
        </tr>
    }}
    {{#if: {{{linkedin|}}}
      | <tr>
          <th style="text-align: left;">LinkedIn</th>
          <td>{{{linkedin}}}</td>
        </tr>
    }}
    {{#if: {{{website|}}}
      | <tr>
          <th style="text-align: left;">Website</th>
          <td>[{{{website}}} {{{website}}}]</td>
        </tr>
    }}
  </table>
</div>
</div>
<noinclude>
<noinclude>
{{Company
{{Company
Line 83: Line 133:
| phone      = +1 650-543-4800
| phone      = +1 650-543-4800
| employees  = 86,482 (2023)
| employees  = 86,482 (2023)
| facebook    = meta
| facebook    = https://www.facebook.com/meta
| instagram  = meta
| instagram  = https://www.instagram.com/meta/
| twitter    = Meta
| twitter    = https://twitter.com/Meta
| linkedin    = meta
| linkedin    = https://www.linkedin.com/company/meta/
| pinterest  = meta
| website    = https://about.meta.com
| website    = https://about.meta.com
}}
}}
</noinclude>
</noinclude>