Difference between revisions of "Company"

From Sega Retro

Line 11: Line 11:
 
}}
 
}}
 
}}{{#vardefine:i|0}}{{#while:|{{#vardefine:sys|{{#explode:{{#var:systemfull}}|,|{{#var:i}}}}}}{{#var:sys}}
 
}}{{#vardefine:i|0}}{{#while:|{{#vardefine:sys|{{#explode:{{#var:systemfull}}|,|{{#var:i}}}}}}{{#var:sys}}
|{{incvar|i}}{{CompanyStore
+
|{{incvar|i}}{{#vardefine:j|0}}{{#while:|{{#vardefine:comp|{{#explode:{{#var:{{{1|}}}}}|,|{{#var:j}}}}}}{{#var:comp}}
 +
|{{incvar|j}}{{CompanyStore
 
| name={{PAGENAME}}
 
| name={{PAGENAME}}
 
| format={{#if:{{#pos:{{#var:sys}}|Titan Video}}|{{delink|{{#var:sys}}}}|{{#replace:{{delink|{{#var:sys}}}}|Sega |}}}}
 
| format={{#if:{{#pos:{{#var:sys}}|Titan Video}}|{{delink|{{#var:sys}}}}|{{#replace:{{delink|{{#var:sys}}}}|Sega |}}}}
| company={{stripref|{{delink|{{{1|}}}}}}}
+
| company={{stripref|{{delink|{{#var:comp}}}}}}
 
| role={{#var:companyrole}}{{#if:{{{region|}}}| ({{{region|}}})}}
 
| role={{#var:companyrole}}{{#if:{{{region|}}}| ({{{region|}}})}}
 
| credited={{#ifeq:{{{credited|}}}|no|no}}
 
| credited={{#ifeq:{{{credited|}}}|no|no}}
 +
}}
 
}}
 
}}
 
}}<noinclude>
 
}}<noinclude>
Line 46: Line 48:
 
</pre>
 
</pre>
  
'''Test:''' {{company|[[Sonic Team]]
+
'''Test:''' {{company|[[Sonic Team]], [[Wonic Team]]
 
|system=PS2,PS3,360
 
|system=PS2,PS3,360
 
|region=
 
|region=

Revision as of 13:47, 6 January 2020

Usage

{{company|[[Sonic Team]]
|system=PS2,PS3,360
|region=
|inline=no
}}
{{company|[[Sega Studio China]]
|system=360
|region=China
}}
{{company|[[Sega Studio China]]
|system=
|region=
}}, {{company|[[Sega Studio China]]
|system=PS3
|region=Hong Kong
|icons=no
}}
{{clear}}
'''Test:''' {{company|[[Sega Studio China]]
|system=
|region=Hong Kong
|icons=
}}

Test:

Test:

Test:

,

Sega Studio China (Hong Kong)

Test:

Sega Studio China (Hong Kong)