Difference between revisions of "Company"

From Sega Retro

(Created page with "{{#if: {{{1|}}} | {{{1|}}} }}{{#if: {{{1|}}} | ,  }}{{#forargs: | console | dev | {{#ifeq: {{#var:console}} | 1 || {{{{uc:{{#var:console}}}}|}} {{#if: {{#var:dev}} | {{#v...")
 
(41 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if: {{{1|}}} | {{{1|}}} }}{{#if: {{{1|}}} | ,  }}{{#forargs: | console | dev |
+
<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|}}}|&#32;({{{region|}}})}}{{#if:{{{role|}}}|&#32;({{{role|}}})}}</span>{{#vardefine:i|0}}{{#while:|{{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
{{#ifeq: {{#var:console}} | 1 ||
+
|{{incvar|i}}{{#vardefine:j|0}}{{#while:|{{#vardefine:comp|{{#explode:{{{1|}}}|,|{{#var:j}}}}}}{{#var:comp}}
{{{{uc:{{#var:console}}}}|}} {{#if: {{#var:dev}} | {{#var:dev}}&nbsp;}}
+
|{{incvar|j}}{{CompanyStore
 +
| name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}}
 +
| 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}}}}}}
 +
| role={{#var:companyrole}}{{#if:{{{region|}}}| ({{{region|}}})}}
 +
| specificrole={{#if:{{{role|}}}|{{Stripref|{{{role|}}}}}}}
 +
| credited={{#ifeq:{{{credited|}}}|no|no}}
 
}}
 
}}
}}<noinclude>
+
}}
 +
}}</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{developer|[[Sonic Team]]
+
{{company|[[Sonic Team]]
|ps2=|360=|ps3=|pc=[[Sega Studio China]]
+
| system=PS2,PS3,360
|md=|sms=[[Sega]]
+
| 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
 
}}
 
}}
 
</pre>
 
</pre>
  
{{developer|[[Sonic Team]]
+
{{company|[[Sonic Team]]
|ps2=|360=|ps3=|pc=[[Sega Studio China]]
+
| system=PS2,PS3,360
|md=|sms=[[Sega]]
+
| region=
 +
}}
 +
{{company|[[Sega Studio China]]| system=360
 +
| region=China
 
}}
 
}}
 
+
{{clear}}
[[Category:Sega Retro templates]]</noinclude>
+
'''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
 +
}}
 +
[[Category:Templates]]</noinclude>

Revision as of 11:14, 30 October 2022

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