Template:Company: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 6: Line 6:
</th>
</th>
</tr>
</tr>
<!-- Logo -->
<!-- Logo -->
{{#if: {{{logo|}}} |
{{#if: {{{logo|}}} |
Line 15: Line 16:
</tr>
</tr>
}}
}}
<!-- Simple info rows -->
<!-- Simple info rows -->
{{#if: {{{type|}}} | <tr><th>Type</th><td>{{{type}}}</td></tr> }}
{{#if: {{{type|}}} | <tr><th>Type</th><td>{{{type}}}</td></tr> }}
Line 27: Line 29:
{{#if: {{{phone|}}} | <tr><th>Telephone</th><td>{{{phone}}}</td></tr> }}
{{#if: {{{phone|}}} | <tr><th>Telephone</th><td>{{{phone}}}</td></tr> }}
{{#if: {{{employees|}}} | <tr><th>Employees</th><td>{{{employees}}}</td></tr> }}
{{#if: {{{employees|}}} | <tr><th>Employees</th><td>{{{employees}}}</td></tr> }}
<!-- Social media (shows only username but links to full URL) -->
 
<!-- Social media: User inputs only username -->
{{#if: {{{facebook|}}} |
{{#if: {{{facebook|}}} |
<tr>
<tr>
<th>Facebook</th>
<th>Facebook</th>
<td>[{{{facebook}}} {{#replace:{{{facebook}}}|https://www.facebook.com/|}}]</td>
<td>[https://www.facebook.com/{{{facebook}}} {{{facebook}}}]</td>
</tr>
</tr>
}}
}}
Line 37: Line 40:
<tr>
<tr>
<th>Instagram</th>
<th>Instagram</th>
<td>[{{{instagram}}} {{#replace:{{{instagram}}}|https://www.instagram.com/|}}]</td>
<td>[https://www.instagram.com/{{{instagram}}} {{{instagram}}}]</td>
</tr>
</tr>
}}
}}
Line 43: Line 46:
<tr>
<tr>
<th>Twitter (X)</th>
<th>Twitter (X)</th>
<td>[{{{twitter}}} {{#replace:{{{twitter}}}|https://twitter.com/|}}]</td>
<td>[https://twitter.com/{{{twitter}}} {{{twitter}}}]</td>
</tr>
</tr>
}}
}}
Line 49: Line 52:
<tr>
<tr>
<th>LinkedIn</th>
<th>LinkedIn</th>
<td>[{{{linkedin}}} {{#replace:{{{linkedin}}}|https://www.linkedin.com/company/|}}]</td>
<td>[https://www.linkedin.com/company/{{{linkedin}}} {{{linkedin}}}]</td>
</tr>
</tr>
}}
}}
{{#if: {{{pinterest|}}} |
{{#if: {{{pinterest|}}} |
<tr>
<tr>
<th>LinkedIn</th>
<th>Pinterest</th>
<td>[{{{pinterest}}} {{#replace:{{{pinterest}}}|https://www.pinterest.com/|}}]</td>
<td>[https://www.pinterest.com/{{{pinterest}}} {{{pinterest}}}]</td>
</tr>
</tr>
}}
}}
<!-- Website -->
<!-- Website -->
{{#if: {{{website|}}} |
{{#if: {{{website|}}} |
Line 65: Line 69:
</tr>
</tr>
}}
}}
</table>
</table>
</div>
</div>
<noinclude>
<noinclude>
{{Company
{{Company
Line 87: Line 93:
| twitter    = Meta
| twitter    = Meta
| linkedin    = meta
| linkedin    = meta
| pinterest  = meta
| website    = https://about.meta.com
| website    = https://about.meta.com
}}
}}
</noinclude>
</noinclude>