Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Template:Infobox company"

From AppleGamingWiki, the wiki about gaming on M1 Apple silicon Macs
m (d)
m (removed legacy SMW set)
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
{{#if: {{{cover|}}} |
 
{{#if: {{{cover|}}} |
 
<tr>
 
<tr>
<td class="template-infobox-cover" colspan="2">[[File:{{{cover}}}{{!}}{{{cover size|300px}}}]]</td>
+
<td class="template-infobox-cover" colspan="2">{{#ifexist: File:{{{cover}}} | [[File:{{{cover}}}{{!}}{{{cover size|300px}}}{{!}}alt={{{title|{{PAGENAME}}}}} cover]] |''Cover image missing, please <span class="plainlinks">[{{fullurl:Special:Upload|wpDestFile={{urlencode:{{{cover}}}|WIKI}}}} upload it]</span>''[[Category:Pages needing cover images]]}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 14: Line 14:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Website::{{{website}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{{website}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 24: Line 24:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Parent company::Company:{{{parent}}}|{{{parent}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{#ifexist: {{{parent}}} | [[{{{parent}}}|{{{parent}}}]]{{{ref|}}} | <span class="plainlinks new">[{{fullurl:{{{parent}}}|action=edit&preload=Project:Sample_article/Company}} {{{parent}}}]</span> }}</td>
 
</tr>
 
</tr>
 
}}
 
}}
  
 
<!-- Subsidiaries -->
 
<!-- Subsidiaries -->
{{#ifexpr: {{#ask: [[Parent company::{{FULLPAGENAME}}]] |format=count }} > 0 |
+
{{#if: {{{subsidiaries|}}} |
 
<tr>
 
<tr>
 
<th class="template-infobox-header" colspan="2">Subsidiaries</th>
 
<th class="template-infobox-header" colspan="2">Subsidiaries</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">{{#ask: [[Parent company::{{FULLPAGENAME}}]] |format=list|sep=<br> }}</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{{subsidiaries}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 52: Line 52:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Founded::{{{founded}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{{founded}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 62: Line 62:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td class="template-infobox-info plainlinks" colspan="2">[[Defunct::{{{defunct}}}]]</td>
+
<td class="template-infobox-info plainlinks" colspan="2">{{{defunct}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 76: Line 76:
 
<!-- Hidden properties -->
 
<!-- Hidden properties -->
 
{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}
 
{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}
</table><includeonly><!--
+
</table><noinclude>{{Documentation}}</noinclude>
-->{{#ask: [[Category:Games]] [[Developed by::Company:{{PAGENAME}}]]
 
| ?Developed by
 
| ?Published by
 
| ?Uses engine
 
| ?Available on
 
| ?Release date PC booter
 
| ?Release date DOS
 
| ?Release date Windows 3x
 
| ?Release date Windows
 
| ?Release date Mac OS
 
| ?Release date OS X
 
| ?Release date Linux
 
| ?Release date#ISO|+limit=1
 
| intro          = <h2>Games developed</h2>
 
| outro          = [[Category:Developers]]
 
| introtemplate  = Infobox company/intro/company
 
| outrotemplate  = Infobox company/outro
 
| template      = Infobox company/row/company
 
| format        = template
 
| default        =
 
}}<!--
 
-->{{#ask: [[Category:Games]] [[Published by::Company:{{PAGENAME}}]]
 
| ?Developed by
 
| ?Published by
 
| ?Uses engine
 
| ?Available on
 
| ?Release date PC booter
 
| ?Release date DOS
 
| ?Release date Windows 3x
 
| ?Release date Windows
 
| ?Release date Mac OS
 
| ?Release date OS X
 
| ?Release date Linux
 
| ?Release date#ISO|+limit=1
 
| intro          = <h2>Games published</h2>
 
| outro          = [[Category:Publishers]]
 
| introtemplate  = Infobox company/intro/company
 
| outrotemplate  = Infobox company/outro
 
| template      = Infobox company/row/company
 
| format        = template
 
| default        =
 
}}<!--
 
-->{{#ask: [[Category:Engines]] [[Developed by::Company:{{PAGENAME}}]]
 
| ?Developed by
 
| ?Website
 
| ?Engine first release
 
| ?Engine latest release
 
| ?Engine first release#ISO
 
| ?Engine latest release#ISO
 
| intro          = <h2>Engines developed</h2>
 
| outro          = [[Category:Developers]]
 
| introtemplate  = Infobox company/intro/engine
 
| outrotemplate  = Infobox company/outro
 
| template      = Infobox company/row/engine
 
| format        = template
 
| default        =
 
}}<!--
 
-->{{#ask: [[Category:Games]] [[Ported to macOS by::Company:{{PAGENAME}}]]
 
| ?Developed by
 
| ?Published by
 
| ?Uses engine
 
| ?Release date OS X
 
| ?Release date OS X#ISO
 
| intro          = <h2>Games ported to macOS</h2>
 
| outro          = [[Category:Porters]]
 
| introtemplate  = Infobox company/intro/OS X
 
| outrotemplate  = Infobox company/outro
 
| template      = Infobox company/row
 
| format        = template
 
| default        =
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 

Latest revision as of 19:19, 29 September 2022

Infobox company
Documentation for the above template (sometimes hidden from view).

Description

Used for company pages.

Syntax

{{Infobox company
|title        = 
|cover        = 
|website      = 
|parent       = 
|formernames  = 
|founded      = 
|defunct      = 
|wikipedia    = 
}}