|
|
(17 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <div class="infobox"> | | <templatestyles src="Infobox.css" /> |
| <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | | <noinclude>{{#cargo_declare: |
| <div class="infobox-image">[[File:{{{image}}}|250px]]</div>}}
| | _table = Companies |
| <table>{{#if:{{{headquarter|}}}|<tr>
| | |country=String |
| <th style="text-align:left;">Headquarter</th>
| | |parentcompany=Page |
| <td>{{{headquarter}}}</td>
| | |closed=Boolean |
| </tr>}}{{#if:{{{founded|}}}|<tr>
| | |closedDate = Date |
| <th style="text-align:left;">Founded</th>
| | |db_type=List (,) of String |
| <td>{{{founded}}}</td>
| | }}</noinclude><includeonly>{{#cargo_store: _table = Companies |parentcompany={{#if: {{{parentcompany|}}} | Companies/{{{parentcompany|}}} }} |
| </tr>}}{{#if:{{{type|}}}|<tr>
| | |closed={{#if: {{{closed|}}} | Yes | No }} |
| <th style="text-align:left;">Type</th>
| | |closedDate={{{closed|}}} |
| <td>{{{type}}}</td>
| | }}{{#invoke:Infobox company|main}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude> |
| </tr>}}{{#if:{{{parentcompany|}}}|<tr>
| |
| <th style="text-align:left;">Parent company</th>
| |
| <td>{{{parentcompany}}}</td>
| |
| </tr>}}{{#if:{{{employees|}}}|<tr>
| |
| <th style="text-align:left;">Employees</th>
| |
| <td>{{{employees}}}</td>
| |
| </tr>}} | |
| {{#if:{{{socials|}}}|<tr> | |
| <th style="text-align:left;>Socials</th>
| |
| <td style="text-align:left;>{{#if:{{{website|}}}|[[Image:Home.png|40px|link={{{website}}}|Website]]}}{{#if:{{{twitter|}}}|[[Image:Twitter.png|40px|link=https://twitter.com/{{{twitter}}}|Twitter]]}}{{#if:{{{facebook|}}}|[[Image:Facebook.png|40px|link=https://www.facebook.com/{{{facebook}}}|Facebook]]}}{{#if:{{{instagram|}}}|[[Image:Instagram.png|40px|link=https://www.instagram.com/{{{instagram}}}|Instagram]]}}{{#if:{{{twitch|}}}|[[Image:Twitch.png|40px|link=https://www.twitch.com/{{{twitch}}}|Twitch]]}}{{#if:{{{youtube|}}}|[[Image:Youtube.png|40px|link=https://www.youtube.com/{{{youtube}}}|Youtube]]}}{{#if:{{{linkedin|}}}|[[Image:Linkedin.png|40px|link=https://www.linkedin.com/company/{{{linkedin}}}|LinkedIn]]}}{{#if:{{{linkedin2|}}}|[[Image:Linkedin.png|40px|link=https://www.linkedin.com/company/{{{linkedin2}}}|LinkedIn]]}}
| |
| </td></tr>}} | |
| {{#if:{{{contact|}}}|<tr>
| |
| <th style="text-align:left;>Contact</th>
| |
| <td style="text-align:left;>
| |
| {{#if:{{{email|}}}|[[Image:Email.png|40px|link=mailto:{{{email}}}|Email]]}}
| |
| {{#if:{{{phone|}}}|[[Image:Phone.png|40px|link=tel:{{{phone}}}|Phone]]}}
| |
| {{#if:{{{discord|}}}|[[Image:Discord.png|40px|link={{{discord}}}|Discord]]}}
| |
| </td></tr>}}
| |
| </table>
| |
| </div> | |