Difference between revisions of "Template:Infobox company"
From PCGamingWiki, the wiki about fixing PC games
m (added |+order=asc|+limit=1 to everything) |
(updated most queries to use Cargo) |
||
Line 72: | 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> | + | }}<span style="display:none">{{#default_form:Company page}}</span></table><includeonly><!-- |
− | + | -->{{#cargo_query: | |
− | + | tables=Infobox_game | |
− | + | |where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Developers HOLDS LIKE "Company:€€€€€"|\sOR\s}} | |
− | </table><includeonly><!-- | + | |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 |
− | | | + | |named args=yes |
− | + | |intro=<h2>Games developed</h2>{{Infobox company/intro/company}} | |
− | | | + | |template=Infobox company/row/company |
− | | | + | |outro=</table></div>[[Category:Developers]] |
− | | | + | |default= |
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | intro | ||
− | |||
− | |||
− | |||
− | | template | ||
− | | | ||
− | | default | ||
}}<!-- | }}<!-- | ||
− | -->{{# | + | -->{{#cargo_query: |
− | | | + | tables=Infobox_game |
− | | | + | |where={{#arraymap:{{PAGENAME}},{{{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 |
− | | | + | |format=template |
− | | | + | |named args=yes |
− | | | + | |intro=<h2>Games published</h2>{{Infobox company/intro/company}} |
− | | | + | |template=Infobox company/row/company |
− | + | |outro=</table></div>[[Category:Publishers]] | |
− | + | |default= | |
− | |||
− | |||
− | | | ||
− | | intro | ||
− | |||
− | |||
− | |||
− | | template | ||
− | | | ||
− | | default | ||
}}<!-- | }}<!-- | ||
− | -->{{# | + | -->{{#cargo_query: |
− | | | + | tables=Engine |
− | | | + | |where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Developer="Company:€€€€€"|\sOR\s}} |
− | | | + | |fields=_pageName,Developer,Website,First_release,Latest_release |
− | | | + | |format=template |
− | | | + | |named args=yes |
− | | | + | |intro={{Infobox company/intro/engine}} |
− | | intro | + | |template=Infobox company/row/engine |
− | + | |outro=</table></div>[[Category:Developers]] | |
− | + | |default= | |
− | |||
− | | template | ||
− | | | ||
− | | default | ||
}}<!-- | }}<!-- | ||
− | -->{{# | + | -->{{#cargo_query: |
− | | | + | tables=Infobox_game |
− | | | + | |where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Porters_PC_booter HOLDS LIKE "Company:€€€€€"|\sOR\s}} |
− | | | + | |fields=_pageName,Developers,Publishers,Engines,Released_PC_booter=Released |
− | | | + | |format=template |
− | | | + | |named args=yes |
− | | | + | |intro=<h2>Games ported to PC booter</h2>{{Infobox company/intro/ported|PC booter}} |
− | | | + | |template=Infobox company/row |
− | | intro | + | |outro=</table></div>[[Category:Porters]] |
− | + | |default= | |
− | |||
− | |||
− | | template | ||
− | | | ||
− | | default | ||
}}<!-- | }}<!-- | ||
− | -->{{# | + | -->{{#cargo_query: |
− | | | + | tables=Infobox_game |
− | | | + | |where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Porters_DOS HOLDS LIKE "Company:€€€€€"|\sOR\s}} |
− | | | + | |fields=_pageName,Developers,Publishers,Engines,Released_DOS=Released |
− | | | + | |format=template |
− | | | + | |named args=yes |
− | | intro | + | |intro=<h2>Games ported to DOS</h2>{{Infobox company/intro/ported|DOS}} |
− | + | |template=Infobox company/row | |
− | + | |outro=</table></div>[[Category:Porters]] | |
− | + | |default= | |
− | | template | ||
− | | | ||
− | | default | ||
}}<!-- | }}<!-- | ||
− | -->{{# | + | -->{{#cargo_query: |
− | | | + | tables=Infobox_game |
− | | | + | |where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Porters_Windows_3x HOLDS LIKE "Company:€€€€€"|\sOR\s}} |
− | | | + | |fields=_pageName,Developers,Publishers,Engines,Released_Windows_3x=Released |
− | | | + | |format=template |
− | | | + | |named args=yes |
− | | intro | + | |intro=<h2>Games ported to Windows 3.x</h2>{{Infobox company/intro/ported|Windows 3.x}} |
− | + | |template=Infobox company/row | |
− | + | |outro=</table></div>[[Category:Porters]] | |
− | + | |default= | |
− | | template | ||
− | | | ||
− | | default | ||
}}<!-- | }}<!-- | ||
− | -->{{# | + | -->{{#cargo_query: |
− | | | + | tables=Infobox_game |
− | | | + | |where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Porters_Windows HOLDS LIKE "Company:€€€€€"|\sOR\s}} |
− | | | + | |fields=_pageName,Developers,Publishers,Engines,Released_Windows=Released |
− | | | + | |format=template |
− | | | + | |named args=yes |
− | | intro | + | |intro=<h2>Games ported to Windows</h2>{{Infobox company/intro/ported|Windows}} |
− | + | |template=Infobox company/row | |
− | + | |outro=</table></div>[[Category:Porters]] | |
− | + | |default= | |
− | | template | ||
− | | | ||
− | | default | ||
}}<!-- | }}<!-- | ||
− | -->{{# | + | -->{{#cargo_query: |
− | | | + | tables=Infobox_game |
− | | | + | |where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Porters_Mac_OS HOLDS LIKE "Company:€€€€€"|\sOR\s}} |
− | | | + | |fields=_pageName,Developers,Publishers,Engines,Released_Mac_OS=Released |
− | | | + | |format=template |
− | | | + | |named args=yes |
− | | intro | + | |intro=<h2>Games ported to Mac OS (Classic)</h2>{{Infobox company/intro/ported|Mac OS}} |
− | + | |template=Infobox company/row | |
− | + | |outro=</table></div>[[Category:Porters]] | |
− | + | |default= | |
− | | template | ||
− | | | ||
− | | default | ||
}}<!-- | }}<!-- | ||
− | -->{{# | + | -->{{#cargo_query: |
− | | | + | tables=Infobox_game |
− | | | + | |where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Porters_OS_X HOLDS LIKE "Company:€€€€€"|\sOR\s}} |
− | | | + | |fields=_pageName,Developers,Publishers,Engines,Released_OS_X=Released |
− | | | + | |format=template |
− | | | + | |named args=yes |
− | | intro | + | |intro=<h2>Games ported to macOS (formerly OS X)</h2>{{Infobox company/intro/ported|OS X}} |
− | + | |template=Infobox company/row | |
− | + | |outro=</table></div>[[Category:Porters]] | |
− | | | + | |default= |
− | | template | ||
− | | | ||
− | | default | ||
}}<!-- | }}<!-- | ||
− | -->{{# | + | -->{{#cargo_query: |
− | | | + | tables=Infobox_game |
− | | | + | |where={{#arraymap:{{PAGENAME}},{{{formernames|}}}|,|€€€€€|Porters_Linux HOLDS LIKE "Company:€€€€€"|\sOR\s}} |
− | | | + | |fields=_pageName,Developers,Publishers,Engines,Released_Linux=Released |
− | | | + | |format=template |
− | | | + | |named args=yes |
− | | intro | + | |intro=<h2>Games ported to Linux</h2>{{Infobox company/intro/ported|Linux}} |
− | + | |template=Infobox company/row | |
− | + | |outro=</table></div>[[Category:Porters]] | |
− | | | + | |default= |
− | | template | ||
− | | | ||
− | | default | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 06:48, 2 October 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?)