Difference between revisions of "Template:Infobox company"
From PCGamingWiki, the wiki about fixing PC games
(fixed DOS porter intro template) |
m (added |+order=asc|+limit=1 to everything) |
||
(18 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 | + | <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}}}| ]]</div> }}</td> | -->{{#if: {{{wikipedia|}}} | <div title="{{PAGENAME}} at Wikipedia" class="template-infobox-icon svg-icon svg-18 infobox-wikipedia">[[Wikipedia:{{{wikipedia}}}| ]]</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 | + | | ?Developed by |
− | | ?Published by | + | | ?Published by |
− | | ?Uses engine | + | | ?Uses engine |
− | | ?Release date | + | | ?Available on |
− | | ? | + | | ?Release date PC booter|+order=asc|+limit=1 |
− | | | + | | ?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 = | + | | introtemplate = Infobox company/intro/company |
− | | outrotemplate = | + | | outrotemplate = Infobox company/outro |
− | | template = | + | | 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 | + | | ?Developed by |
− | | ?Published by | + | | ?Published by |
− | | ?Uses engine | + | | ?Uses engine |
− | | ?Release date | + | | ?Available on |
− | | ? | + | | ?Release date PC booter|+order=asc|+limit=1 |
− | | | + | | ?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 = | + | | introtemplate = Infobox company/intro/company |
− | | outrotemplate = | + | | outrotemplate = Infobox company/outro |
− | | template = | + | | 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 | + | | ?Developed by |
| ?Website | | ?Website | ||
− | | ?Engine first release= | + | | ?Engine first release|+order=asc|+limit=1 |
− | | ?Engine latest release= | + | | ?Engine latest release|+order=asc|+limit=1 |
− | | | + | | ?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 = | + | | introtemplate = Infobox company/intro/engine |
− | | outrotemplate = | + | | outrotemplate = Infobox company/outro |
− | | template = | + | | template = Infobox company/row/engine |
| format = template | | format = template | ||
| default = | | default = | ||
− | }} | + | }}<!-- |
− | {{#ask: [[Category:Games]] [[Ported to | + | -->{{#ask: [[Category:Games]] [[Ported to PC booter by::Company:{{PAGENAME}}]] |
− | | ?Developed by = | + | | ?Developed by |
− | | ?Published by | + | | ?Published by |
− | | ?Uses engine | + | | ?Uses engine |
− | | ?Release date | + | | ?Release date|+order=asc|+limit=1 |
− | | ?Release date DOS= | + | | ?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> | | intro = <h2>Games ported to DOS</h2> | ||
| outro = [[Category:Porters]] | | outro = [[Category:Porters]] | ||
− | | introtemplate = | + | | introtemplate = Infobox company/intro/DOS |
− | | outrotemplate = | + | | outrotemplate = Infobox company/outro |
− | | template = | + | | 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 = | + | | ?Developed by |
− | | ?Published by | + | | ?Published by |
− | | ?Uses engine | + | | ?Uses engine |
− | | ?Release date | + | | ?Release date Windows 3x|+order=asc|+limit=1 |
− | | ?Release date Windows= | + | | ?Release date Windows 3x#ISO|+order=asc|+limit=1 |
− | | | + | | 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 = | + | | introtemplate = Infobox company/intro/Windows |
− | | outrotemplate = | + | | outrotemplate = Infobox company/outro |
− | | template = | + | | 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 | + | | ?Developed by |
− | | ?Published by | + | | ?Published by |
− | | ?Uses engine | + | | ?Uses engine |
− | | ?Release date | + | | ?Release date OS X|+order=asc|+limit=1 |
− | | ?Release date OS X= | + | | ?Release date OS X#ISO|+order=asc|+limit=1 |
− | | | + | | 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 = | + | | introtemplate = Infobox company/intro/OS X |
− | | outrotemplate = | + | | outrotemplate = Infobox company/outro |
− | | template = | + | | 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 | + | | ?Developed by |
− | | ?Published by | + | | ?Published by |
− | | ?Uses engine | + | | ?Uses engine |
− | | ?Release date | + | | ?Release date Linux|+order=asc|+limit=1 |
− | | ?Release date Linux | + | | ?Release date Linux#ISO|+order=asc|+limit=1 |
− | | | ||
− | | | ||
| intro = <h2>Games ported to Linux</h2> | | intro = <h2>Games ported to Linux</h2> | ||
| outro = [[Category:Porters]] | | outro = [[Category:Porters]] | ||
− | | introtemplate = | + | | introtemplate = Infobox company/intro/Linux |
− | | outrotemplate = | + | | outrotemplate = Infobox company/outro |
− | | template = | + | | 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 | + | | ?Developed by |
− | | ?Published by | + | | ?Published by |
− | | ?Uses engine | + | | ?Uses engine |
− | | ?Release date | + | | ?Release date Mac OS|+order=asc|+limit=1 |
− | | ?Release date Mac OS= | + | | ?Release date Mac OS#ISO|+order=asc|+limit=1 |
− | | | ||
| intro = <h2>Games ported to Mac OS</h2> | | intro = <h2>Games ported to Mac OS</h2> | ||
| outro = [[Category:Porters]] | | outro = [[Category:Porters]] | ||
− | | introtemplate = | + | | introtemplate = Infobox company/intro/Mac OS |
− | | outrotemplate = | + | | outrotemplate = Infobox company/outro |
− | | template = | + | | 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 "{".
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 }}
Visit Template:Infobox company/Documentation to edit this text. (How does this work?)