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 "Development:Infobox company"

From PCGamingWiki, the wiki about fixing PC games
(fixed Linux porters)
(test)
 
(14 intermediate revisions by the same user not shown)
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">[[Company:{{{parent}}}|{{{parent}}}]]</td>
 
</tr>
 
</tr>
 
}}
 
}}
  
 
<!-- Subsidiaries -->
 
<!-- Subsidiaries -->
{{#ifexpr: {{#ask: [[Parent company::{{FULLPAGENAME}}]] |format=count }} > 0 |
+
{{#if: {{#cargo_query:
 +
tables=Company
 +
|where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Parent="Company:€€€€€"|\sOR\s}}
 +
|default=
 +
}} |
 
<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">{{#cargo_query:
 +
tables=Company
 +
|where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Parent="Company:€€€€€"|\sOR\s}}
 +
|fields=_pageName
 +
|format=template
 +
|template=Infobox company/subsidiaries
 +
}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 52: Line 62:
 
</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 72:
 
</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 70: Line 80:
 
<tr>
 
<tr>
 
<td class="template-infobox-icons" colspan="2"><!--
 
<td class="template-infobox-icons" colspan="2"><!--
-->{{#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="{{PAGENAMEE}} 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>
+
}}<span style="display:none">{{#default_form:Company page}}</span></table><includeonly><!--
 
 
<!-- Hidden properties -->
 
{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}
 
</table><includeonly><!--
 
 
-->{{#cargo_query:
 
-->{{#cargo_query:
 
tables=Infobox_game
 
tables=Infobox_game
|where=Developers HOLDS LIKE "Company:{{PAGENAME}}"
+
|where={{#arraymap:{{PAGENAMEE}},{{{formernames|}}}|,|€€€€€|Developers HOLDS LIKE "Company:€€€€€"|\sOR\s}}
 
|fields=_pageName,Developers,Publishers,Engines,Released_PC_booter,Released_DOS,Released_Windows_3x,Released_Windows,Released_Mac_OS,Released_OS_X,Released_Linux,Released
 
|fields=_pageName,Developers,Publishers,Engines,Released_PC_booter,Released_DOS,Released_Windows_3x,Released_Windows,Released_Mac_OS,Released_OS_X,Released_Linux,Released
 
|format=template
 
|format=template
 
|named args=yes
 
|named args=yes
 
|intro=<h2>Games developed</h2>{{Infobox company/intro/company}}
 
|intro=<h2>Games developed</h2>{{Infobox company/intro/company}}
|template=Development:Infobox company/row/company
+
|template=Infobox company/row/company
 
|outro=</table></div>[[Category:Developers]]
 
|outro=</table></div>[[Category:Developers]]
 
|default=
 
|default=
Line 90: Line 96:
 
-->{{#cargo_query:
 
-->{{#cargo_query:
 
tables=Infobox_game
 
tables=Infobox_game
|where=Publishers HOLDS LIKE "Company:{{PAGENAME}}"
+
|where={{#arraymap:{{PAGENAMEE}},{{{formernames|}}}|,|€€€€€|Publishers HOLDS LIKE "Company:€€€€€"|\sOR\s}}
 
|fields=_pageName,Developers,Publishers,Engines,Released_PC_booter,Released_DOS,Released_Windows_3x,Released_Windows,Released_Mac_OS,Released_OS_X,Released_Linux,Released
 
|fields=_pageName,Developers,Publishers,Engines,Released_PC_booter,Released_DOS,Released_Windows_3x,Released_Windows,Released_Mac_OS,Released_OS_X,Released_Linux,Released
 
|format=template
 
|format=template
 
|named args=yes
 
|named args=yes
 
|intro=<h2>Games published</h2>{{Infobox company/intro/company}}
 
|intro=<h2>Games published</h2>{{Infobox company/intro/company}}
|template=Development:Infobox company/row/company
+
|template=Infobox company/row/company
 
|outro=</table></div>[[Category:Publishers]]
 
|outro=</table></div>[[Category:Publishers]]
 
|default=
 
|default=
Line 101: Line 107:
 
-->{{#cargo_query:
 
-->{{#cargo_query:
 
tables=Engine
 
tables=Engine
|where=Developer="Company:{{PAGENAME}}"
+
|where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Developer="Company:€€€€€"|\sOR\s}}
 
|fields=_pageName,Developer,Website,First_release,Latest_release
 
|fields=_pageName,Developer,Website,First_release,Latest_release
 
|format=template
 
|format=template
 
|named args=yes
 
|named args=yes
|intro={{Development:Infobox company/intro/engine}}
+
|intro={{Infobox company/intro/engine}}
|template=Development:Infobox company/row/engine
+
|template=Infobox company/row/engine
 
|outro=</table></div>[[Category:Developers]]
 
|outro=</table></div>[[Category:Developers]]
 
|default=
 
|default=
Line 112: Line 118:
 
-->{{#cargo_query:
 
-->{{#cargo_query:
 
tables=Infobox_game
 
tables=Infobox_game
|where=Porters_PC_booter HOLDS LIKE "Company:{{PAGENAME}}"
+
|where={{#arraymap:{{PAGENAMEE}},{{{formernames|}}}|,|€€€€€|Porters_PC_booter HOLDS LIKE "Company:€€€€€"|\sOR\s}}
 
|fields=_pageName,Developers,Publishers,Engines,Released_PC_booter=Released
 
|fields=_pageName,Developers,Publishers,Engines,Released_PC_booter=Released
 
|format=template
 
|format=template
 
|named args=yes
 
|named args=yes
 
|intro=<h2>Games ported to PC booter</h2>{{Infobox company/intro/ported|PC booter}}
 
|intro=<h2>Games ported to PC booter</h2>{{Infobox company/intro/ported|PC booter}}
|template=Development:Infobox company/row
+
|template=Infobox company/row
 
|outro=</table></div>[[Category:Porters]]
 
|outro=</table></div>[[Category:Porters]]
 
|default=
 
|default=
Line 123: Line 129:
 
-->{{#cargo_query:
 
-->{{#cargo_query:
 
tables=Infobox_game
 
tables=Infobox_game
|where=Porters_DOS HOLDS LIKE "Company:{{PAGENAME}}"
+
|where={{#arraymap:{{PAGENAMEE}},{{{formernames|}}}|,|€€€€€|Porters_DOS HOLDS LIKE "Company:€€€€€"|\sOR\s}}
 
|fields=_pageName,Developers,Publishers,Engines,Released_DOS=Released
 
|fields=_pageName,Developers,Publishers,Engines,Released_DOS=Released
 
|format=template
 
|format=template
 
|named args=yes
 
|named args=yes
 
|intro=<h2>Games ported to DOS</h2>{{Infobox company/intro/ported|DOS}}
 
|intro=<h2>Games ported to DOS</h2>{{Infobox company/intro/ported|DOS}}
|template=Development:Infobox company/row
+
|template=Infobox company/row
 
|outro=</table></div>[[Category:Porters]]
 
|outro=</table></div>[[Category:Porters]]
 
|default=
 
|default=
Line 134: Line 140:
 
-->{{#cargo_query:
 
-->{{#cargo_query:
 
tables=Infobox_game
 
tables=Infobox_game
|where=Porters_Windows_3x HOLDS LIKE "Company:{{PAGENAME}}"
+
|where={{#arraymap:{{PAGENAMEE}},{{{formernames|}}}|,|€€€€€|Porters_Windows_3x HOLDS LIKE "Company:€€€€€"|\sOR\s}}
 
|fields=_pageName,Developers,Publishers,Engines,Released_Windows_3x=Released
 
|fields=_pageName,Developers,Publishers,Engines,Released_Windows_3x=Released
 
|format=template
 
|format=template
 
|named args=yes
 
|named args=yes
 
|intro=<h2>Games ported to Windows 3.x</h2>{{Infobox company/intro/ported|Windows 3.x}}
 
|intro=<h2>Games ported to Windows 3.x</h2>{{Infobox company/intro/ported|Windows 3.x}}
|template=Development:Infobox company/row
+
|template=Infobox company/row
 
|outro=</table></div>[[Category:Porters]]
 
|outro=</table></div>[[Category:Porters]]
 
|default=
 
|default=
Line 145: Line 151:
 
-->{{#cargo_query:
 
-->{{#cargo_query:
 
tables=Infobox_game
 
tables=Infobox_game
|where=Porters_Windows HOLDS LIKE "Company:{{PAGENAME}}"
+
|where={{#arraymap:{{PAGENAMEE}},{{{formernames|}}}|,|€€€€€|Porters_Windows HOLDS LIKE "Company:€€€€€"|\sOR\s}}
 
|fields=_pageName,Developers,Publishers,Engines,Released_Windows=Released
 
|fields=_pageName,Developers,Publishers,Engines,Released_Windows=Released
 
|format=template
 
|format=template
 
|named args=yes
 
|named args=yes
 
|intro=<h2>Games ported to Windows</h2>{{Infobox company/intro/ported|Windows}}
 
|intro=<h2>Games ported to Windows</h2>{{Infobox company/intro/ported|Windows}}
|template=Development:Infobox company/row
+
|template=Infobox company/row
 
|outro=</table></div>[[Category:Porters]]
 
|outro=</table></div>[[Category:Porters]]
 
|default=
 
|default=
Line 156: Line 162:
 
-->{{#cargo_query:
 
-->{{#cargo_query:
 
tables=Infobox_game
 
tables=Infobox_game
|where=Porters_Mac_OS HOLDS LIKE "Company:{{PAGENAME}}"
+
|where={{#arraymap:{{PAGENAMEE}},{{{formernames|}}}|,|€€€€€|Porters_Mac_OS HOLDS LIKE "Company:€€€€€"|\sOR\s}}
 
|fields=_pageName,Developers,Publishers,Engines,Released_Mac_OS=Released
 
|fields=_pageName,Developers,Publishers,Engines,Released_Mac_OS=Released
 
|format=template
 
|format=template
 
|named args=yes
 
|named args=yes
|intro=<h2>Games ported to Mac OS</h2>{{Infobox company/intro/ported|Mac OS}}
+
|intro=<h2>Games ported to Mac OS (Classic)</h2>{{Infobox company/intro/ported|Mac OS}}
|template=Development:Infobox company/row
+
|template=Infobox company/row
 
|outro=</table></div>[[Category:Porters]]
 
|outro=</table></div>[[Category:Porters]]
 
|default=
 
|default=
Line 167: Line 173:
 
-->{{#cargo_query:
 
-->{{#cargo_query:
 
tables=Infobox_game
 
tables=Infobox_game
|where=Porters_OS_X HOLDS LIKE "Company:{{PAGENAME}}"
+
|where={{#arraymap:{{PAGENAMEE}},{{{formernames|}}}|,|€€€€€|Porters_OS_X HOLDS LIKE "Company:€€€€€"|\sOR\s}}
 
|fields=_pageName,Developers,Publishers,Engines,Released_OS_X=Released
 
|fields=_pageName,Developers,Publishers,Engines,Released_OS_X=Released
 
|format=template
 
|format=template
 
|named args=yes
 
|named args=yes
 
|intro=<h2>Games ported to macOS (formerly OS X)</h2>{{Infobox company/intro/ported|OS X}}
 
|intro=<h2>Games ported to macOS (formerly OS X)</h2>{{Infobox company/intro/ported|OS X}}
|template=Development:Infobox company/row
+
|template=Infobox company/row
 
|outro=</table></div>[[Category:Porters]]
 
|outro=</table></div>[[Category:Porters]]
 
|default=
 
|default=
Line 178: Line 184:
 
-->{{#cargo_query:
 
-->{{#cargo_query:
 
tables=Infobox_game
 
tables=Infobox_game
|where=Porters_Linux HOLDS LIKE "Company:{{PAGENAME}}"
+
|where={{#arraymap:{{PAGENAMEE}},{{{formernames|}}}|,|€€€€€|Porters_Linux HOLDS LIKE "Company:€€€€€"|\sOR\s}}
 
|fields=_pageName,Developers,Publishers,Engines,Released_Linux=Released
 
|fields=_pageName,Developers,Publishers,Engines,Released_Linux=Released
 
|format=template
 
|format=template
 
|named args=yes
 
|named args=yes
 
|intro=<h2>Games ported to Linux</h2>{{Infobox company/intro/ported|Linux}}
 
|intro=<h2>Games ported to Linux</h2>{{Infobox company/intro/ported|Linux}}
|template=Development:Infobox company/row
+
|template=Infobox company/row
 
|outro=</table></div>[[Category:Porters]]
 
|outro=</table></div>[[Category:Porters]]
 
|default=
 
|default=
 +
}}</includeonly><noinclude>{{#cargo_declare:
 +
_table=Company
 +
|Website=URL
 +
|Parent=Page
 +
|Founded=Date
 +
|Defunct=Date
 +
}}</noinclude><includeonly>{{#cargo_store:
 +
_table=Company
 +
|Website={{{website|}}}
 +
|Parent=Company:{{{parent|}}}
 +
|Founded={{{founded|}}}
 +
|Defunct={{{defunct|}}}
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 07:58, 28 October 2021

Infobox company
Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).