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


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Infobox company"

From PCGamingWiki, the wiki about fixing PC games
m
 
m (added |+order=asc|+limit=1 to everything)
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<table class="vertical-navbox template-infobox" id="infobox-company">
 
<table class="vertical-navbox template-infobox" id="infobox-company">
<caption class="template-infobox-title">{{{title|{{PAGENAME}}}}} <includeonly>[[Category:Companies]]</includeonly></caption>
+
<caption class="template-infobox-title">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}<includeonly>[[Category:Companies]]</includeonly></caption>
  
 
{{#if: {{{cover|}}} |
 
{{#if: {{{cover|}}} |
Line 25: Line 25:
 
<tr>
 
<tr>
 
<td class="template-infobox-info plainlinks" colspan="2">[[Parent company::Company:{{{parent}}}|{{{parent}}}]]</td>
 
<td class="template-infobox-info plainlinks" colspan="2">[[Parent company::Company:{{{parent}}}|{{{parent}}}]]</td>
 +
</tr>
 +
}}
 +
 +
<!-- Subsidiaries -->
 +
{{#ifexpr: {{#ask: [[Parent company::{{FULLPAGENAME}}]] |format=count }} > 0 |
 +
<tr>
 +
<th class="template-infobox-header" colspan="2">Subsidiaries</th>
 +
</tr>
 +
<tr>
 +
<td class="template-infobox-info plainlinks" colspan="2">{{#ask: [[Parent company::{{FULLPAGENAME}}]] |format=list|sep=<br> }}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 62: Line 72:
 
-->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} at Wikipedia" class="template-infobox-icon svg-icon svg-18 infobox-wikipedia">[[Wikipedia:{{{wikipedia}}}|&nbsp;]]</div> }}</td>
 
-->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} at Wikipedia" class="template-infobox-icon svg-icon svg-18 infobox-wikipedia">[[Wikipedia:{{{wikipedia}}}|&nbsp;]]</div> }}</td>
 
</tr>
 
</tr>
}}
+
}}<span style="display:none">{{#default_form:Company page}}</span>
  
 
<!-- Hidden properties -->
 
<!-- Hidden properties -->
 
{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}
 
{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}
</table><includeonly>
+
</table><includeonly><!--
{{#ask: [[Category:Games]] [[Developed by::Company:{{PAGENAME}}]]
+
-->{{#ask: [[Category:Games]] [[Developed by::Company:{{PAGENAME}}]]
| ?Developed by = Developer
+
| ?Developed by
| ?Published by = Publisher
+
| ?Published by
| ?Uses engine   = Engine
+
| ?Uses engine
| ?Release date = First release |+limit=1
+
| ?Available on
| ?Available on  = Systems
+
| ?Release date PC booter|+order=asc|+limit=1
| mainlabel      = Game
+
| ?Release date DOS|+order=asc|+limit=1
 +
| ?Release date Windows 3x|+order=asc|+limit=1
 +
| ?Release date Windows|+order=asc|+limit=1
 +
| ?Release date Mac OS|+order=asc|+limit=1
 +
| ?Release date OS X|+order=asc|+limit=1
 +
| ?Release date Linux|+order=asc|+limit=1
 +
| ?Release date#ISO|+order=asc|+limit=1
 
| intro          = <h2>Games developed</h2>
 
| intro          = <h2>Games developed</h2>
 
| outro          = [[Category:Developers]]
 
| outro          = [[Category:Developers]]
| introtemplate  = Template:Infobox company/t1i
+
| introtemplate  = Infobox company/intro/company
| outrotemplate  = Template:Infobox company/t1o
+
| outrotemplate  = Infobox company/outro
| template      = Template:Infobox company/t1
+
| template      = Infobox company/row/company
 
| format        = template
 
| format        = template
 
| default        =
 
| default        =
}}
+
}}<!--
{{#ask: [[Category:Games]] [[Published by::Company:{{PAGENAME}}]]
+
-->{{#ask: [[Category:Games]] [[Published by::Company:{{PAGENAME}}]]
| ?Developed by = Developer
+
| ?Developed by
| ?Published by = Publisher
+
| ?Published by
| ?Uses engine   = Engine
+
| ?Uses engine
| ?Release date = First release |+limit=1
+
| ?Available on
| ?Available on  = Systems
+
| ?Release date PC booter|+order=asc|+limit=1
| mainlabel      = Game
+
| ?Release date DOS|+order=asc|+limit=1
 +
| ?Release date Windows 3x|+order=asc|+limit=1
 +
| ?Release date Windows|+order=asc|+limit=1
 +
| ?Release date Mac OS|+order=asc|+limit=1
 +
| ?Release date OS X|+order=asc|+limit=1
 +
| ?Release date Linux|+order=asc|+limit=1
 +
| ?Release date#ISO|+order=asc|+limit=1
 
| intro          = <h2>Games published</h2>
 
| intro          = <h2>Games published</h2>
 
| outro          = [[Category:Publishers]]
 
| outro          = [[Category:Publishers]]
| introtemplate  = Template:Infobox company/t1i
+
| introtemplate  = Infobox company/intro/company
| outrotemplate  = Template:Infobox company/t1o
+
| outrotemplate  = Infobox company/outro
| template      = Template:Infobox company/t1
+
| template      = Infobox company/row/company
 
| format        = template
 
| format        = template
 
| default        =
 
| default        =
}}
+
}}<!--
{{#ask: [[Category:Engines]] [[Developed by::Company:{{PAGENAME}}]]
+
-->{{#ask: [[Category:Engines]] [[Developed by::Company:{{PAGENAME}}]]
| ?Developed by=Developer
+
| ?Developed by
 
| ?Website
 
| ?Website
| ?Engine first release=First release
+
| ?Engine first release|+order=asc|+limit=1
| ?Engine latest release=Latest release
+
| ?Engine latest release|+order=asc|+limit=1
| mainlabel      = Engine
+
| ?Engine first release#ISO|+order=asc|+limit=1
 +
| ?Engine latest release#ISO|+order=asc|+limit=1
 
| intro          = <h2>Engines developed</h2>
 
| intro          = <h2>Engines developed</h2>
 
| outro          = [[Category:Developers]]
 
| outro          = [[Category:Developers]]
| introtemplate  = Template:Infobox company/t2i
+
| introtemplate  = Infobox company/intro/engine
| outrotemplate  = Template:Infobox company/t1o
+
| outrotemplate  = Infobox company/outro
| template      = Template:Infobox company/t2
+
| template      = Infobox company/row/engine
 +
| format        = template
 +
| default        =
 +
}}<!--
 +
-->{{#ask: [[Category:Games]] [[Ported to PC booter by::Company:{{PAGENAME}}]]
 +
| ?Developed by
 +
| ?Published by
 +
| ?Uses engine
 +
| ?Release date|+order=asc|+limit=1
 +
| ?Release date PC booter|+order=asc|+limit=1
 +
| ?Release date#ISO|+order=asc|+limit=1
 +
| ?Release date PC booter#ISO|+order=asc|+limit=1
 +
| intro          = <h2>Games ported to PC booter</h2>
 +
| outro          = [[Category:Porters]]
 +
| introtemplate  = Infobox company/intro/PC booter
 +
| outrotemplate  = Infobox company/outro
 +
| template      = Infobox company/row
 +
| format        = template
 +
| default        =
 +
}}<!--
 +
-->{{#ask: [[Category:Games]] [[Ported to DOS by::Company:{{PAGENAME}}]]
 +
| ?Developed by
 +
| ?Published by
 +
| ?Uses engine
 +
| ?Release date DOS|+order=asc|+limit=1
 +
| ?Release date DOS#ISO|+order=asc|+limit=1
 +
| intro          = <h2>Games ported to DOS</h2>
 +
| outro          = [[Category:Porters]]
 +
| introtemplate  = Infobox company/intro/DOS
 +
| outrotemplate  = Infobox company/outro
 +
| template      = Infobox company/row
 
| format        = template
 
| format        = template
 
| default        =
 
| default        =
}}
+
}}<!--
{{#ask: [[Category:Games]] [[Ported to Windows by::Company:{{PAGENAME}}]]
+
-->{{#ask: [[Category:Games]] [[Ported to Windows 3x by::Company:{{PAGENAME}}]]
| ?Developed by  = Developer
+
| ?Developed by
| ?Published by = Publisher
+
| ?Published by
| ?Uses engine   = Engine
+
| ?Uses engine
| ?Release date = First release |+limit=1
+
| ?Release date Windows 3x|+order=asc|+limit=1
| ?Release date Windows=Windows release
+
| ?Release date Windows 3x#ISO|+order=asc|+limit=1
| mainlabel      = Game
+
| intro          = <h2>Games ported to Windows 3.x</h2>
 +
| outro          = [[Category:Porters]]
 +
| introtemplate = Infobox company/intro/Windows 3.x
 +
| outrotemplate  = Infobox company/outro
 +
| template      = Infobox company/row
 +
| format        = template
 +
| default        =
 +
}}<!--
 +
-->{{#ask: [[Category:Games]] [[Ported to Windows by::Company:{{PAGENAME}}]]
 +
| ?Developed by
 +
| ?Published by
 +
| ?Uses engine
 +
| ?Release date Windows|+order=asc|+limit=1
 +
| ?Release date Windows#ISO|+order=asc|+limit=1
 
| intro          = <h2>Games ported to Windows</h2>
 
| intro          = <h2>Games ported to Windows</h2>
 
| outro          = [[Category:Porters]]
 
| outro          = [[Category:Porters]]
| introtemplate  = Template:Infobox company/t3i
+
| introtemplate  = Infobox company/intro/Windows
| outrotemplate  = Template:Infobox company/t1o
+
| outrotemplate  = Infobox company/outro
| template      = Template:Infobox company/t3
+
| template      = Infobox company/row
 
| format        = template
 
| format        = template
 
| default        =
 
| default        =
}}
+
}}<!--
{{#ask: [[Category:Games]] [[Ported to OS X by::Company:{{PAGENAME}}]]
+
-->{{#ask: [[Category:Games]] [[Ported to OS X by::Company:{{PAGENAME}}]]
| ?Developed by = Developer
+
| ?Developed by
| ?Published by = Publisher
+
| ?Published by
| ?Uses engine   = Engine
+
| ?Uses engine
| ?Release date = First release |+limit=1
+
| ?Release date OS X|+order=asc|+limit=1
| ?Release date OS X=OS X release
+
| ?Release date OS X#ISO|+order=asc|+limit=1
| mainlabel      = Game
+
| intro          = <h2>Games ported to macOS (formerly OS X)</h2>
| intro          = <h2>Games ported to OS X</h2>
 
 
| outro          = [[Category:Porters]]
 
| outro          = [[Category:Porters]]
| introtemplate  = Template:Infobox company/t4i
+
| introtemplate  = Infobox company/intro/OS X
| outrotemplate  = Template:Infobox company/t1o
+
| outrotemplate  = Infobox company/outro
| template      = Template:Infobox company/t3
+
| template      = Infobox company/row
 
| format        = template
 
| format        = template
 
| default        =
 
| default        =
}}
+
}}<!--
{{#ask: [[Category:Games]] [[Ported to Linux by::Company:{{PAGENAME}}]]
+
-->{{#ask: [[Category:Games]] [[Ported to Linux by::Company:{{PAGENAME}}]]
| ?Developed by = Developer
+
| ?Developed by
| ?Published by = Publisher
+
| ?Published by
| ?Uses engine   = Engine
+
| ?Uses engine
| ?Release date = First release |+limit=1
+
| ?Release date Linux|+order=asc|+limit=1
| ?Release date Linux=Linux release
+
| ?Release date Linux#ISO|+order=asc|+limit=1
| ?Linux XDG support=XDG support
 
| mainlabel      = Game
 
 
| intro          = <h2>Games ported to Linux</h2>
 
| intro          = <h2>Games ported to Linux</h2>
 
| outro          = [[Category:Porters]]
 
| outro          = [[Category:Porters]]
| introtemplate  = Template:Infobox company/t5i
+
| introtemplate  = Infobox company/intro/Linux
| outrotemplate  = Template:Infobox company/t1o
+
| outrotemplate  = Infobox company/outro
| template      = Template:Infobox company/t5
+
| template      = Infobox company/row
 
| format        = template
 
| format        = template
 
| default        =
 
| default        =
}}
+
}}<!--
{{#ask: [[Category:Games]] [[Ported to Mac OS by::Company:{{PAGENAME}}]]
+
-->{{#ask: [[Category:Games]] [[Ported to Mac OS by::Company:{{PAGENAME}}]]
| ?Developed by = Developer
+
| ?Developed by
| ?Published by = Publisher
+
| ?Published by
| ?Uses engine   = Engine
+
| ?Uses engine
| ?Release date = First release |+limit=1
+
| ?Release date Mac OS|+order=asc|+limit=1
| ?Release date Mac OS=Mac OS release
+
| ?Release date Mac OS#ISO|+order=asc|+limit=1
| mainlabel      = Game
 
 
| intro          = <h2>Games ported to Mac OS</h2>
 
| intro          = <h2>Games ported to Mac OS</h2>
 
| outro          = [[Category:Porters]]
 
| outro          = [[Category:Porters]]
| introtemplate  = Template:Infobox company/t6i
+
| introtemplate  = Infobox company/intro/Mac OS
| outrotemplate  = Template:Infobox company/t1o
+
| outrotemplate  = Infobox company/outro
| template      = Template:Infobox company/t3
+
| template      = Infobox company/row
 
| format        = template
 
| format        = template
 
| default        =
 
| default        =
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 14:42, 24 January 2021

Expression error: Unrecognized punctuation character "{".
Infobox company
Documentation for the above template (sometimes hidden from view).

Description

Used on pages below the "Company" namespace.

Also automatically populates lists of games the company is involved in, unless disabled using listgames=false. If the lists are disabled in this template call, add {{Infobox company/query}} call somewhere further down the page to have the lists appear there instead.


Syntax

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