Actions

Template

Difference between revisions of "Company"

From Sega Retro

(simplified a bit; removed inline option because it wasn't being used)
Line 1: Line 1:
<includeonly><span style="{{#if:{{{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}}{{{{#var:icon}}|}}}}{{#vardefine:syslist|{{{system|}}}}}|{{#vardefine:syslist|{{#var:systemfull}}}}}} {{{1|}}}{{#if:{{{region|}}}|&#32;({{{region|}}})}}</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|}}}}}|{{#vardefine:syslist|{{#var:systemfull}}}}}} {{{1|}}}{{#if:{{{region|}}}|&#32;({{{region|}}})}}</span>{{#vardefine:i|0}}{{#while:|{{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
 
|{{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
Line 27: Line 27:
 
{{company|[[Sega Studio China]], [[Wonic Team]]
 
{{company|[[Sega Studio China]], [[Wonic Team]]
 
| system=PS2,PS3,360
 
| system=PS2,PS3,360
 +
}}
 +
{{clear}}
 +
{{company|[[Sega Studio China]], [[Wonic Team]]
 +
| system=PS2,PS3,360
 +
| icons=no
 
}}
 
}}
 
</pre>
 
</pre>
Line 45: Line 50:
 
{{company|[[Sega Studio China]], [[Wonic Team]]
 
{{company|[[Sega Studio China]], [[Wonic Team]]
 
| system=PS2,PS3,360
 
| system=PS2,PS3,360
 +
}}
 +
{{clear}}
 +
{{company|[[Sega Studio China]], [[Wonic Team]]
 +
| system=PS2,PS3,360
 +
| icons=no
 
}}
 
}}
 
[[Category:Sega Retro templates]]</noinclude>
 
[[Category:Sega Retro templates]]</noinclude>

Revision as of 14:49, 15 March 2020

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