Difference between revisions of "Company"

From Sega Retro

Line 2: Line 2:
 
|{{incvar|i}}{{#vardefine:j|0}}{{#while:|{{#vardefine:comp|{{#explode:{{{1|}}}|,|{{#var:j}}}}}}{{#var:comp}}
 
|{{incvar|i}}{{#vardefine:j|0}}{{#while:|{{#vardefine:comp|{{#explode:{{{1|}}}|,|{{#var:j}}}}}}{{#var:comp}}
 
|{{incvar|j}}{{CompanyStore
 
|{{incvar|j}}{{CompanyStore
| name={{#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={{delink|{{stripref|{{#var:comp}}}}}}

Revision as of 15:56, 2 April 2021

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
}}
Sony PlayStation 2
Sony PlayStation 3
Xbox 360
Sonic Team

Xbox 360
Sega Studio China (China)

Test: Sega Studio China (Hong Kong)

Sony PlayStation 2
Sony PlayStation 3
Xbox 360
Sega Studio China, Wonic Team

Sega Studio China, Wonic Team