Difference between revisions of "Company"
From Sega Retro
Line 1: | Line 1: | ||
<includeonly><span style="{{#if:{{#ifeq:{{{icons|}}}|no||{{{system|}}}}}|font-size:8pt;display:block;line-height:0px}}">{{#vardefine:i|0}}{{#if:{{{system|}}}|{{#while:|{{#vardefine:icon|{{#explode:{{{system|}}}|,|{{#var:i}}}}}}{{#var:icon}}|{{incvar|i}}{{#ifeq:{{{icons|}}}|no||{{{{#var:icon}}|}}}}}}{{#vardefine:syslist|{{{system|}}}}}|{{#switch:{{#var:type}}|2|-1={{#vardefine:systemfull|hardware}}|4={{#vardefine:systemfull|book}}}}{{#vardefine:syslist|{{#var:systemfull}}}}}} {{{1|}}}{{#if:{{{region|}}}| ({{{region|}}})}}{{#if:{{{role|}}}| ({{{role|}}})}}</span>{{#vardefine:i|0}}{{#while:|{{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}} | <includeonly><span style="{{#if:{{#ifeq:{{{icons|}}}|no||{{{system|}}}}}|font-size:8pt;display:block;line-height:0px}}">{{#vardefine:i|0}}{{#if:{{{system|}}}|{{#while:|{{#vardefine:icon|{{#explode:{{{system|}}}|,|{{#var:i}}}}}}{{#var:icon}}|{{incvar|i}}{{#ifeq:{{{icons|}}}|no||{{{{#var:icon}}|}}}}}}{{#vardefine:syslist|{{{system|}}}}}|{{#switch:{{#var:type}}|2|-1={{#vardefine:systemfull|hardware}}|4={{#vardefine:systemfull|book}}}}{{#vardefine:syslist|{{#var:systemfull}}}}}} {{{1|}}}{{#if:{{{region|}}}| ({{{region|}}})}}{{#if:{{{role|}}}| ({{{role|}}})}}</span>{{#vardefine:i|0}}{{#while:|{{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}} | ||
− | |{{incvar|i}}{{#vardefine:j|0}}{{#while:|{{#vardefine:comp|{{#explode:{{ | + | |{{incvar|i}}{{#vardefine:j|0}}{{#vardefine:input|{{FormatCommas|{{{1|}}}}}}}{{#while:|{{#vardefine:comp|{{#explode:{{#var:input}}|,|{{#var:j}}}}}}{{#var:comp}} |
|{{incvar|j}}{{CompanyStore | |{{incvar|j}}{{CompanyStore | ||
| name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}} | | name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}} | ||
| format={{#if:{{{system|}}}|{{Code2Format|{{#var:sys}}}}|{{#if:{{#pos:{{#var:sys}}|Titan Video}}|{{delink|{{#var:sys}}}}|{{#replace:{{delink|{{#var:sys}}}}|Sega |}}}}}} | | format={{#if:{{{system|}}}|{{Code2Format|{{#var:sys}}}}|{{#if:{{#pos:{{#var:sys}}|Titan Video}}|{{delink|{{#var:sys}}}}|{{#replace:{{delink|{{#var:sys}}}}|Sega |}}}}}} | ||
− | | company={{delink|{{stripref|{{#var:comp}}}}}} | + | | company={{#replace:{{delink|{{stripref|{{#var:comp}}}}}}|_|,}} |
| role={{#var:companyrole}}{{#if:{{{region|}}}| ({{{region|}}})}} | | role={{#var:companyrole}}{{#if:{{{region|}}}| ({{{region|}}})}} | ||
| specificrole={{#if:{{{role|}}}|{{Stripref|{{{role|}}}}}}} | | specificrole={{#if:{{{role|}}}|{{Stripref|{{{role|}}}}}}} | ||
Line 54: | Line 54: | ||
{{clear}} | {{clear}} | ||
{{company|[[Sega Studio China]], [[Wonic Team]] | {{company|[[Sega Studio China]], [[Wonic Team]] | ||
+ | | system=PS2,PS3,360 | ||
+ | | icons=no | ||
+ | }} | ||
+ | {{clear}} | ||
+ | {{company|[[Club Specialty Overseas, Inc.]], [[Sega Inc]] | ||
| system=PS2,PS3,360 | | system=PS2,PS3,360 | ||
| icons=no | | icons=no | ||
}} | }} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 03:27, 13 September 2024
Usage
{{company|[[Sonic Team]] | system=PS2,PS3,360 | region= }} {{company|[[Sega Studio China]]| system=360 | region=China }} {{clear}} '''Test:''' {{company|[[Sega Studio China]] | system= | region=Hong Kong }} {{clear}} {{company|[[Sega Studio China]], [[Wonic Team]] | system=PS2,PS3,360 }} {{clear}} {{company|[[Sega Studio China]], [[Wonic Team]] | system=PS2,PS3,360 | icons=no }}Sonic Team
Sega Studio China (China)
Test: Sega Studio China (Hong Kong)
Sega Studio China, Wonic Team