Difference between revisions of "CompanyHistory"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly><span style="display:none;">{{#if:{{{1|}}}|{{#vardefine:companyname|{{{1}}}}}{{#vardefine:command|companies.company="{{{1}}}"}}{{#fornumargs: n | + | <includeonly>{{#vardefine:results|}}<span style="display:none;">{{#if:{{{1|}}}|{{#vardefine:companyname|{{{1}}}}}{{#vardefine:command|companies.company="{{{1}}}"}}{{#fornumargs: n |
| value | | value | ||
| {{#vardefine:nameList|{{#var:nameList}},{{#var:value}}}}{{#ifexpr:{{#var:n}} > 1|{{#vardefine:command|{{#var:command}} OR companies.company="{{#var:value}}"}}|}} | | {{#vardefine:nameList|{{#var:nameList}},{{#var:value}}}}{{#ifexpr:{{#var:n}} > 1|{{#vardefine:command|{{#var:command}} OR companies.company="{{#var:value}}"}}|}} | ||
− | }}</span>{{#cargo_query: | + | }}</span>{{#vardefine:results|{{#var:results}}{{#cargo_query: |
table=companies,releases | table=companies,releases | ||
|fields=companies.name=companiesname,releases.name=releasesname,releases.date,companies.company,companies.format,companies.role,companies.credited | |fields=companies.name=companiesname,releases.name=releasesname,releases.date,companies.company,companies.format,companies.role,companies.credited | ||
Line 13: | Line 13: | ||
|template=CompanyHistory/Cargo | |template=CompanyHistory/Cargo | ||
|default= | |default= | ||
− | }}}}</includeonly><noinclude> | + | }}}}}}{{#var:results}}</includeonly><noinclude> |
Template to list a company's softography. It's a bit crude. | Template to list a company's softography. It's a bit crude. | ||
Revision as of 07:56, 4 January 2020
Template to list a company's softography. It's a bit crude.
e.g. Sega, 32X:
Publisher
{{CompanyHistory|Sega|format=32X|role=Publisher}}
Developer
{{CompanyHistory|Sega|Sega CS|format=32X|role=Developer}}
Licensor
{{CompanyHistory|Sega|format=32X|role=Licensor}}