Template:Company: Difference between revisions

No edit summary
Tag: Reverted
Undo revision 133 by Parvej Husen Talukder (talk)
Tag: Undo
 
(21 intermediate revisions by the same user not shown)
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; word-wrap: break-word; overflow-wrap: break-word;">
<table style="width: 100%; border-collapse: collapse;">
    <table style="width: 100%; border: none;table-layout: fixed;">
<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}}}}</th>
{{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
        </tr>
</th>
        <tr>
</tr>
            <td colspan="2" style="text-align: center;">
 
                {{#if: {{{logo|}}}
<!-- Logo -->
                    | [[File:{{{logo}}}|thumb|200px|center]]               }}
{{#if: {{{logo|}}} |
            </td>
<tr>
        </tr>
<td colspan="2" style="text-align: center; padding: 5px;">
        {{#if: {{{logo_caption|}}}
[[File:{{{logo}}}|200px|center]]
            | <tr>
{{#if: {{{logo_caption|}}} | <div style="font-style: italic; font-size: 85%;">{{{logo_caption}}}</div> }}
                <td colspan="2" style="align: center; text-align: center; font-style: italic;">{{{logo_caption}}}</td>
</td>
            </tr>
</tr>
        }}
}}
        {{#if: {{{type|}}}
 
            | <tr>
<!-- Simple info rows -->
                <th style="text-align: left;">Type</th>
{{#if: {{{type|}}} | <tr><th>Type</th><td>{{{type}}}</td></tr> }}
                <td>{{{type}}}</td>
{{#if: {{{industry|}}} | <tr><th>Industry</th><td>{{{industry}}}</td></tr> }}
            </tr>
{{#if: {{{founded|}}} | <tr><th>Founded</th><td>{{{founded}}}</td></tr> }}
        }}
{{#if: {{{founder|}}} | <tr><th>Founder(s)</th><td>{{{founder}}}</td></tr> }}
        {{#if: {{{industry|}}}
{{#if: {{{location|}}} | <tr><th>Location</th><td>{{{location}}}</td></tr> }}
            | <tr>
{{#if: {{{hq|}}} | <tr><th>Headquarters</th><td>{{{hq}}}</td></tr> }}
                <th style="text-align: left;">Industry</th>
{{#if: {{{area|}}} | <tr><th>Area Served</th><td>{{{area}}}</td></tr> }}
                <td>{{{industry}}}</td>
{{#if: {{{services|}}} | <tr><th>Services</th><td>{{{services}}}</td></tr> }}
            </tr>
{{#if: {{{products|}}} | <tr><th>Products</th><td>{{{products}}}</td></tr> }}
        }}
{{#if: {{{phone|}}} | <tr><th>Telephone</th><td>{{{phone}}}</td></tr> }}
        {{#if: {{{founded|}}}
{{#if: {{{employees|}}} | <tr><th>Employees</th><td>{{{employees}}}</td></tr> }}
            | <tr>
 
                <th style="text-align: left;">Founded</th>
<!-- Social media (shows only username but links to full URL) -->
                <td>{{{founded}}}</td>
{{#if: {{{facebook|}}} |
            </tr>
<tr>
        }}
<th>Facebook</th>
        {{#if: {{{founder|}}}
<td>[{{{facebook}}} {{#replace:{{{facebook}}}|https://www.facebook.com/|}}]</td>
            | <tr>
</tr>
                <th style="text-align: left;">Founder</th>
}}
                <td>{{{founder}}}</td>
{{#if: {{{instagram|}}} |
            </tr>
<tr>
        }}
<th>Instagram</th>
        {{#if: {{{hq|}}}
<td>[{{{instagram}}} {{#replace:{{{instagram}}}|https://www.instagram.com/|}}]</td>
            | <tr>
</tr>
                <th style="text-align: left;">Headquarters</th>
}}
                <td>{{{hq}}}</td>
{{#if: {{{twitter|}}} |
            </tr>
<tr>
        }}
<th>Twitter (X)</th>
        {{#if: {{{area|}}}
<td>[{{{twitter}}} {{#replace:{{{twitter}}}|https://twitter.com/|}}]</td>
            | <tr>
</tr>
                <th style="text-align: left;">Area Served</th>
}}
                <td>{{{area}}}</td>
{{#if: {{{linkedin|}}} |
            </tr>
<tr>
        }}
<th>LinkedIn</th>
        {{#if: {{{location|}}}
<td>[{{{linkedin}}} {{#replace:{{{linkedin}}}|https://www.linkedin.com/company/|}}]</td>
            | <tr>
</tr>
                <th style="text-align: left;">Location (s)</th>
}}
                <td>{{{location}}}</td>
 
            </tr>
<!-- Website -->
        }}
{{#if: {{{website|}}} |
        {{#if: {{{key_people|}}}
<tr>
            | <tr>
<th>Website</th>
                <th style="text-align: left;">Key People</th>
<td>[{{{website}}} {{{website}}}]</td>
                <td>{{{key_people}}}</td>
</tr>
            </tr>
}}
        }}
 
        {{#if: {{{products|}}}
</table>
            | <tr>
</div>
                <th style="text-align: left;">Products</th>
 
                <td>{{{products}}}</td>
            </tr>
        }}
        {{#if: {{{services|}}}
            | <tr>
                <th style="text-align: left;">Services</th>
                <td>{{{services}}}</td>
            </tr>
        }}
        {{#if: {{{revenue|}}}
            | <tr>
                <th style="text-align: left;">Revenue</th>
                <td>{{{revenue}}}</td>
            </tr>
        }}
        {{#if: {{{parent|}}}
            | <tr>
                <th style="text-align: left;">Parent Organization</th>
                <td>{{{parent}}}</td>
            </tr>
        }}
        {{#if: {{{subsidiaries|}}}
            | <tr>
                <th style="text-align: left;">Subsidiaries</th>
                <td>{{{subsidiaries}}}</td>
            </tr>
        }}
        {{#if: {{{employees|}}}
            | <tr>
                <th style="text-align: left;">Employees</th>
                <td>{{{employees}}}</td>
            </tr>
        }}
        {{#if: {{{phone|}}}
            | <tr>
                <th style="text-align: left;">Phone</th>
                <td>{{{phone}}}</td>
            </tr>
        }}
        {{#if: {{{website|}}}
            | <tr>
                <th style="text-align: left;">Website</th>
                <td>[{{{website}}} {{{website}}}]</td>
            </tr>
        }}
        {{#if: {{{website-2|}}}
            | <tr>
                <th style="text-align: left;">Website</th>
                <td>{{{website-2}}}</td>
            </tr>
        }}
        {{#if: {{{mission|}}}
            | <tr>
                <th style="text-align: left;">Mission</th>
                <td>{{{mission}}}</td>
            </tr>
        }}
        {{#if: {{{awards|}}}
            | <tr>
                <th style="text-align: left;">Awards</th>
                <td>{{{awards}}}</td>
            </tr>
        <tr>
            <th colspan="2" style="background: #e9e9e9; text-align: center;">Social Medias</th>
        </tr>
        }}
        {{#if: {{{facebook|}}}
            | <tr>
                <th style="text-align: left;">Facebook</th>
                <td>[https://Facebook.com/{{{facebook}}} {{{facebook}}}]</td>
            </tr>
        }}
        {{#if: {{{linkedin|}}}
            | <tr>
                <th style="text-align: left;">Linkedin</th>
                <td>[https://www.linkedin.com/company/{{{linkedin}}} {{{linkedin}}}]</td>
            </tr>
        }}
        {{#if: {{{instagram|}}}
            | <tr>
                <th style="text-align: left;">Instagram</th>
                <td>[https://instagram.com/{{{instagram}}} {{{instagram}}}]</td>
            </tr>
        }}
        {{#if: {{{x|}}}
            | <tr>
                <th style="text-align: left;">X (Twitter)</th>
                <td>[https://x.com/{{{x}}} {{{x}}}]</td>
            </tr>
        }}
    </table>
</div>  
<noinclude>
<noinclude>
{{Company
{{Company
Line 83: Line 174:
| phone      = +1 650-543-4800
| phone      = +1 650-543-4800
| employees  = 86,482 (2023)
| employees  = 86,482 (2023)
| facebook    = https://www.facebook.com/meta
| facebook    = meta
| instagram  = https://www.instagram.com/meta/
| instagram  = meta
| twitter     = https://twitter.com/Meta
| x     = Meta
| linkedin    = https://www.linkedin.com/company/meta/
| linkedin    = meta
| website    = https://about.meta.com
| website    = https://about.meta.com.about.meta.com.about.meta.com
}}
}}
</noinclude>
</noinclude>