Difference between revisions of "CompanyHistory"
From Sega Retro
(25 intermediate revisions by 2 users not shown) | |||
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,codeformat |
− | |fields=companies.name=companiesname,releases.name=releasesname,releases.date,companies.company,companies.format,companies.role,companies.credited | + | |fields=companies.name=companiesname,releases.name=releasesname,MIN(releases.date),companies.company,companies.format,companies.role,companies.credited,codeformat.code=test,codeformat.format=test2,companies.specificrole |
− | |join on=companies.name=releases.name | + | |join on=companies.name=releases.name,releases.console=codeformat.code |
|group by=releases.name | |group by=releases.name | ||
− | |where=({{#var:command}}) {{#if:{{{role|}}}|and companies.role | + | |order by=MIN(releases.date),releases.name |
− | | | + | |where=({{#var:command}}) {{#if:{{{role|}}}|and (companies.role LIKE "{{{role|}}}%")}} {{#ifeq:{{{type|}}}|hardware||{{#if:{{{format|}}}|and (companies.format="{{{format|}}}") and (codeformat.format="{{{format|}}}")}}}} {{#switch:{{{type|}}} |
+ | |accessories=and releases.type="1"{{#vardefine:italics|}} | ||
+ | |hardware=and (releases.type="2" or releases.type="-1"){{#vardefine:italics|}} | ||
+ | |#default=and not releases.type="1" and not releases.type="2" and not releases.type="-1"{{#vardefine:italics|yes}} | ||
+ | }} | ||
|format=template | |format=template | ||
+ | |limit=1000 | ||
|template=CompanyHistory/Cargo | |template=CompanyHistory/Cargo | ||
− | }}}}</includeonly><noinclude> | + | |default= |
+ | }}{{#ifeq:{{{type|}}}|accessories||{{#cargo_query: | ||
+ | table=unreleased,companies | ||
+ | |fields=companies.name=companiesname,unreleased.name=releasesname,unreleased.date,companies.company,companies.format,companies.role,companies.credited | ||
+ | |join on=unreleased.name=companies.name | ||
+ | |group by=unreleased.name | ||
+ | |order by=unreleased.date,unreleased.name | ||
+ | |where=({{#var:command}}) {{#if:{{{role|}}}|and (companies.role LIKE "{{{role|}}}%")}} {{#if:{{{format|}}}|and (companies.format="{{{format|}}}")}} | ||
+ | |format=template | ||
+ | |limit=1000 | ||
+ | |template=CompanyHistory/Cargo/Unreleased | ||
+ | |default= | ||
+ | }}}}}}}}{{#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. | ||
Line 17: | Line 34: | ||
===Publisher=== | ===Publisher=== | ||
− | <pre>{{CompanyHistory|Sega|format= | + | <pre>{{CompanyHistory|Sega|format=32X|role=Publisher}}</pre> |
− | {{CompanyHistory|Sega|format= | + | {{CompanyHistory|Sega|format=32X|role=Publisher}} |
===Developer=== | ===Developer=== | ||
− | <pre>{{CompanyHistory|Sega|format= | + | <pre>{{CompanyHistory|Sega|Sega CS|format=32X|role=Developer}}</pre> |
− | {{CompanyHistory|Sega|format= | + | {{CompanyHistory|Sega|Sega CS|format=32X|role=Developer}} |
===Licensor=== | ===Licensor=== | ||
− | <pre>{{CompanyHistory|Sega|format= | + | <pre>{{CompanyHistory|Sega|format=32X|role=Licensor}}</pre> |
− | {{CompanyHistory|Sega|format= | + | {{CompanyHistory|Sega|format=32X|role=Licensor}} |
+ | ===Books=== | ||
+ | <pre>{{CompanyHistory|IDW Publishing|format=book|role=Publisher}}</pre> | ||
+ | {{CompanyHistory|IDW Publishing|format=book|role=Publisher}} | ||
− | [[Category: | + | [[Category:Templates]] |
</noinclude> | </noinclude> |
Latest revision as of 11:37, 30 October 2022
Template to list a company's softography. It's a bit crude.
e.g. Sega, 32X:
Contents
Publisher
{{CompanyHistory|Sega|format=32X|role=Publisher}}
Developer
{{CompanyHistory|Sega|Sega CS|format=32X|role=Developer}}
Licensor
{{CompanyHistory|Sega|format=32X|role=Licensor}}
Books
{{CompanyHistory|IDW Publishing|format=book|role=Publisher}}
- Sonic the Hedgehog Volume 1: Fallout! (2018)
- Sonic the Hedgehog Volume 2: The Fate of Dr. Eggman (2019)
- Sonic the Hedgehog Volume 3: Battle For Angel Island (2019)
- Sonic the Hedgehog Volume 4: Infection (2019)
- Sonic the Hedgehog Volume 5: Crisis City (2020)
- Sonic the Hedgehog: Tangle & Whisper (2020)
- Sonic the Hedgehog Volume 6: The Last Minute (2020)
- Sonic the Hedgehog Volume 7: All or Nothing (2020)
- Sonic the Hedgehog Volume 8: Out of the Blue (2021)
- Sonic the Hedgehog: Bad Guys (2021)
- Sonic the Hedgehog: The IDW Collection 1 (2021)
- Sonic the Hedgehog 30th Anniversary Celebration: The Deluxe Edition (2021)
- Sonic the Hedgehog Volume 9: Chao Races & Badnik Bases (2022)
- Sonic the Hedgehog: Sonic & Tails: Best Buds Forever (2022)
- Sonic the Hedgehog Volume 10: Test Run! (2022)
- Sonic the Hedgehog: The IDW Collection 2 (2022)
- Sonic the Hedgehog 2: The Official Movie Pre-Quill (2022)
- Sonic the Hedgehog Volume 11: Zeti Hunt! (2022)
- Sonic the Hedgehog Volume 12: Trial by Fire (2022)
- Sonic the Hedgehog: Imposter Syndrome (2022)
- Sonic the Hedgehog Volume 13: Battle for the Empire (2023)
- Sonic the Hedgehog: The IDW Collection, Volume 3 (2023)
- Sonic the Hedgehog Volume 14: Overpowered (2023)
- Sonic the Hedgehog: Scrapnik Island (2023)
- Sonic the Hedgehog Volume 15: Urban Warfare (2023)
- Sonic the Hedgehog: The IDW Collection Volume 4 (2024)
- Sonic the Hedgehog: The IDW Collection Volume 5 (2025)