Difference between revisions of "CompanyHistory"

From Sega Retro

Line 19: Line 19:
 
|group by=unreleased.name
 
|group by=unreleased.name
 
|order by=unreleased.date,unreleased.name
 
|order by=unreleased.date,unreleased.name
|where=({{#var:command}}) {{#if:{{{role|}}}|and (companies.role LIKE "{{{role|}}}%")}} {{#if:{{{format|}}}|and (companies.format="{{{format|}}}")}}
+
|where=({{#var:command}}) {{#if:{{{role|}}}|and (companies.role LIKE "{{{role|}}}%")}} {{#if:{{{format|}}}|and (companies.format="{{{format|}}}")}} {{#ifeq:{{{type|}}}|accessories|and releases.type="1"{{#vardefine:italics|}}|and not releases.type="1"{{#vardefine:italics|yes}}}}
 
|format=template
 
|format=template
 
|limit=1000
 
|limit=1000

Revision as of 09:59, 13 October 2020

Template to list a company's softography. It's a bit crude.

e.g. Sega, 32X:

Publisher

{{CompanyHistory|Sega|format=32X|role=Publisher}}

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `cargo__companies`.`name` AS `companiesname`,`cargo__unreleased`.`name` AS `releasesname`,`cargo__unreleased`.`date` AS `date`,`cargo__companies`.`company` AS `company`,`cargo__companies`.`format` AS `format`,`cargo__companies`.`role` AS `role`,`cargo__companies`.`credited` AS `credited` FROM `cargo__unreleased` LEFT OUTER JOIN `cargo__companies` ON ((`cargo__unreleased`.`name`=`cargo__companies`.`name`)) WHERE (`cargo__companies`.`company`="Sega") and (`cargo__companies`.`role` LIKE "Publisher%") and (`cargo__companies`.`format`="32X") and not releases.type="1" GROUP BY `cargo__unreleased`.`name` ORDER BY `cargo__unreleased`.`date`,`cargo__unreleased`.`name` LIMIT 1000 Function: CargoSQLQuery::run Error: 1054 Unknown column 'releases.type' in 'where clause' (localhost)

Developer

{{CompanyHistory|Sega|Sega CS|format=32X|role=Developer}}

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `cargo__companies`.`name` AS `companiesname`,`cargo__unreleased`.`name` AS `releasesname`,`cargo__unreleased`.`date` AS `date`,`cargo__companies`.`company` AS `company`,`cargo__companies`.`format` AS `format`,`cargo__companies`.`role` AS `role`,`cargo__companies`.`credited` AS `credited` FROM `cargo__unreleased` LEFT OUTER JOIN `cargo__companies` ON ((`cargo__unreleased`.`name`=`cargo__companies`.`name`)) WHERE (`cargo__companies`.`company`="Sega" OR `cargo__companies`.`company`="Sega CS") and (`cargo__companies`.`role` LIKE "Developer%") and (`cargo__companies`.`format`="32X") and not releases.type="1" GROUP BY `cargo__unreleased`.`name` ORDER BY `cargo__unreleased`.`date`,`cargo__unreleased`.`name` LIMIT 1000 Function: CargoSQLQuery::run Error: 1054 Unknown column 'releases.type' in 'where clause' (localhost)

Licensor

{{CompanyHistory|Sega|format=32X|role=Licensor}}

A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Query: SELECT `cargo__companies`.`name` AS `companiesname`,`cargo__unreleased`.`name` AS `releasesname`,`cargo__unreleased`.`date` AS `date`,`cargo__companies`.`company` AS `company`,`cargo__companies`.`format` AS `format`,`cargo__companies`.`role` AS `role`,`cargo__companies`.`credited` AS `credited` FROM `cargo__unreleased` LEFT OUTER JOIN `cargo__companies` ON ((`cargo__unreleased`.`name`=`cargo__companies`.`name`)) WHERE (`cargo__companies`.`company`="Sega") and (`cargo__companies`.`role` LIKE "Licensor%") and (`cargo__companies`.`format`="32X") and not releases.type="1" GROUP BY `cargo__unreleased`.`name` ORDER BY `cargo__unreleased`.`date`,`cargo__unreleased`.`name` LIMIT 1000 Function: CargoSQLQuery::run Error: 1054 Unknown column 'releases.type' in 'where clause' (localhost)