From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
(converting to html for qif's to work)
(use templatestyles)
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table class="prettytable" align="right"><tr>
<templatestyles src="Template:Company/styles.css" /><table class="infobox bordered t_company" cellpadding="2"><!--
<th colspan="2" style="font-size:larger;background-color:#eee;">{{{name}}}</th>
--><includeonly>[[Category:Companies]]</includeonly><!--
</tr><tr>
--><tr><th colspan="2" class="infobox_heading">{{{name|{{PAGENAME}}}}}</th></tr><!--
<td colspan="2" style="text-align:center;">{{{logo}}}</td>
-->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center;">[[File:{{{image}}}|250px|{{{name|}}}'s company logo.]]</td></tr>}}<!--
</tr><tr>
-->{{#if:{{{founder|}}}|<tr><th>Founder(s)</th><td>{{{founder|}}}</td></tr>}}<!--
<th style="background-color:#eee;">Founded</th>
--><tr><th>Founded</th><td>{{#if:{{{founded|}}}|[[{{{founded|}}}]]<includeonly>[[Category:{{{founded|}}}]]</includeonly>}}</td></tr><!--
<td>{{{founded}}}</td>
-->{{#if:{{{renamed|}}}|<tr><th>Renamed</th><td>[[{{{renamed|}}}]] {{#if:{{{closed|}}}|in [[{{{closed|}}}]]}}<includeonly>[[Category:{{{renamed|}}}]]</includeonly></td></tr>|{{#if:{{{merged|}}}|<tr><th>Merged</th><td>[[{{{merged|}}}]] {{#if:{{{closed|}}}|in [[{{{closed|}}}]]}}<includeonly>[[Category:{{{merged|}}}]]</includeonly></td></tr>|{{#if:{{{closed|}}}|<tr><th>Closed</th><td>[[{{{closed|}}}]]</td></tr>}}}}}}<!--
</tr><tr>
-->{{#if:{{{parent|}}}|<tr><th>Parent company</th><td>[[{{{parent|}}}]]<includeonly>[[Category:{{{parent|}}}]]</includeonly></td></tr>}}<!--
<th style="background-color:#eee;">Located</th>
-->{{#if:{{{founded1|}}}|<tr><th>Reopened</th><td>[[{{{founded1|}}}]]<includeonly>[[Category:{{{founded1|}}}]]</includeonly>}}</td></tr><!--
<td>{{{location}}}</td>
-->{{#if:{{{renamed1|}}}|<tr><th>Renamed</th><td>[[{{{renamed1|}}}]] {{#if:{{{closed1|}}}|in [[{{{closed1|}}}]]}}<includeonly>[[Category:{{{renamed1|}}}]]</includeonly></td></tr>|{{#if:{{{merged1|}}}|<tr><th>Merged</th><td>[[{{{merged1|}}}]] {{#if:{{{closed1|}}}|in [[{{{closed1|}}}]]}}<includeonly>[[Category:{{{merged1|}}}]]</includeonly></td></tr>|{{#if:{{{closed1|}}}|<tr><th>Closed</th><td>[[{{{closed1|}}}]]</td></tr>}}}}}}<!--
</tr>{{qif|test={{{website|}}}|then=<tr><th style="background-color:#eee;">Website</th><td>{{{website}}}</td></tr>}}
-->{{#if:{{{parent1|}}}|<tr><th>Parent company</th><td>[[{{{parent1|}}}]]<includeonly>[[Category:{{{parent1|}}}]]</includeonly></td></tr>}}<!--
</table><includeonly>[[Category:Companies]]</includeonly><noinclude>
-->{{#if:{{{website|}}}|<tr><th>Website</th><td>{{{website|}}}</td></tr>}}<!--
--><tr><th>Twitter</th><td>[https://twitter.com/{{{twitter|search?f=users&q={{urlencode:{{PAGENAME}}|PATH}}}}} {{{twitter|Search}}}]</td></tr><!--
--><tr><th>Facebook</th><td>[https://www.facebook.com/{{{facebook|search/pages/?q={{urlencode:{{PAGENAME}}|PATH}}}}} {{{facebook|Search}}}]</td></tr><!--
--></table>
{{wikipedia|{{{wikipedia|{{PAGENAME}}}}}}}{{WikiList|companies|{{PAGENAME}}}}<noinclude>


This template is used to describe companies on their category page. It is used as follows:
{{Documentation}}
<pre>{{Company
[[Category:Infobox templates]]
|name=Company name
{{#cargo_declare:
|logo=[[Image:Company_logo.jpg|250px]]
_table = Company
|founded=[[January 1]], [[2006]]
|image=File
|location=New Antarctica
|founder=String
|website=http://example.com/
|founded=Integer
}}</pre>
|closed=Integer
 
|renamed=Integer
[[Category:Templates|C]]</noinclude>
|merged=Integer
|parent=Page
}}</noinclude><includeonly>{{#cargo_store:
_table = Company
|image={{{image|}}}
|founder={{{founder|}}}
|founded={{{founded|}}}
|closed={{{closed|}}}
|renamed={{{renamed|}}}
|merged={{{merged|}}}
|parent={{{parent|}}}
}}</includeonly>

Latest revision as of 00:59, 10 August 2023

Company
Founded
TwitterSearch
FacebookSearch

This page has been transcluded from Template:Company/Documentation.


This template is used to describe companies on their category page. This template also puts Category:Companies on the page for you. It is used as follows:

{{Company
|name=Company name
|image=Company logo.jpg
|founder=John Smith
|founded=2006
|closed=2007
|renamed=New Name
|merged=New Company
|parent=Conglomerate
|website=http://example.com/
|twitter=
|facebook=
|wikipedia=Wikipedia page name
}}

This template defines the table "Company". View table.