Difference between revisions of "Company"
From Sega Retro
Line 1: | Line 1: | ||
<div style="{{#ifeq:{{{inline|}}}|no|font-size:8pt;|display:inline;}}">{{#vardefine:i|0}}{{#if:{{{system|}}}| | <div style="{{#ifeq:{{{inline|}}}|no|font-size:8pt;|display:inline;}}">{{#vardefine:i|0}}{{#if:{{{system|}}}| | ||
− | {{#ifeq:{{{icons|}}}|no| | + | {{#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}} | |
|{{incvar|i}}{{CompanyStore | |{{incvar|i}}{{CompanyStore | ||
| name={{PAGENAME}} | | name={{PAGENAME}} | ||
Line 10: | Line 10: | ||
| credited={{#ifeq:{{{credited|}}}|no|no}} | | credited={{#ifeq:{{{credited|}}}|no|no}} | ||
}} | }} | ||
− | }} | + | }}{{#ifeq:{{#var:multi}}{{{system|}}}|yes|{{#vardefine:i|0}}{{#while:|{{#vardefine:sys|{{#explode:{{#var:systemfull}}|,|{{#var:i}}}}}}{{#var:sys}} |
− | |{{CompanyStore | + | |{{incvar|i}}{{CompanyStore |
| name={{PAGENAME}} | | name={{PAGENAME}} | ||
− | | format={{ | + | | 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}} | ||
+ | }} | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> |
Revision as of 21:29, 23 November 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=Taiwan }}, {{company|[[Sega Studio China]] |system=PS3 |region=Hong Kong |icons=no }}
Test:
Test:
Sega Studio China
(China)
Test:
Sega Studio China
(Taiwan)
,
Sega Studio China
(Hong Kong)