Difference between revisions of "Company"
From Sega Retro
Line 2: | Line 2: | ||
{{#ifeq:{{{icons|}}}|no||{{#while:|{{#vardefine:icon|{{#explode:{{{system|}}}|,|{{#var:i}}}}}}{{#var:icon}}|{{incvar|i}}{{{{#var:icon}}|}}}} | {{#ifeq:{{{icons|}}}|no||{{#while:|{{#vardefine:icon|{{#explode:{{{system|}}}|,|{{#var:i}}}}}}{{#var:icon}}|{{incvar|i}}{{{{#var:icon}}|}}}} | ||
|{{{{{system|}}}}} | |{{{{{system|}}}}} | ||
− | }}}} {{{1|}}}{{#if:{{{region|}}}| ({{{region|}}})}}</div>{{#vardefine:i|0}}{{#while:|{{#vardefine:sys|{{#explode:{{{system|}}}|,|{{#var:i}}}}}}{{#var:sys}} | + | }}}} {{{1|}}}{{#if:{{{region|}}}| ({{{region|}}})}}</div>{{#vardefine:i|0}}{{#while:|{{#vardefine:sys|{{#explode:{{{system|}}}|,|{{#var:i}}}}}}{{#var:sys}} |
|{{incvar|i}}{{CompanyStore | |{{incvar|i}}{{CompanyStore | ||
| name={{PAGENAME}} | | name={{PAGENAME}} | ||
| format={{Code2Format|{{#var:sys}}}} | | format={{Code2Format|{{#var:sys}}}} | ||
| company={{delink|{{{1|}}}}} | | company={{delink|{{{1|}}}}} | ||
− | | role={{#var:companyrole}} {{#if:{{{region|}}}|({{{region|}}})}} | + | | role={{#var:companyrole}}{{#if:{{{region|}}}| ({{{region|}}})}} |
| credited={{#ifeq:{{{credited|}}}|no|no}} | | credited={{#ifeq:{{{credited|}}}|no|no}} | ||
}} | }} | ||
Line 15: | Line 15: | ||
| format={{delink|{{#var:sys}}}} | | format={{delink|{{#var:sys}}}} | ||
| company={{delink|{{{1|}}}}} | | company={{delink|{{{1|}}}}} | ||
− | | role={{#var:companyrole}} {{#if:{{{region|}}}|({{{region|}}})}} | + | | role={{#var:companyrole}}{{#if:{{{region|}}}| ({{{region|}}})}} |
| credited={{#ifeq:{{{credited|}}}|no|no}} | | credited={{#ifeq:{{{credited|}}}|no|no}} | ||
}} | }} | ||
Line 38: | Line 38: | ||
|region=Hong Kong | |region=Hong Kong | ||
|icons=no | |icons=no | ||
+ | }} | ||
+ | {{clear}} | ||
+ | '''Test:''' {{company|[[Sega Studio China]] | ||
+ | |system= | ||
+ | |region=Hong Kong | ||
+ | |icons= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 57: | Line 63: | ||
|icons=no | |icons=no | ||
}} | }} | ||
+ | {{clear}} | ||
+ | '''Test:''' {{company|[[Sega Studio China]]|system=|region=Hong Kong|icons=}} | ||
[[Category:Sega Retro templates]]</noinclude> | [[Category:Sega Retro templates]]</noinclude> |
Revision as of 19:35, 1 December 2018
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:
Sega Studio China
(China)
Test:
,
Sega Studio China
(Hong Kong)
Test:
Sega Studio China (Hong Kong)