Difference between revisions of "CompanyBob"
From Sega Retro
(7 intermediate revisions by 2 users not shown) | |||
Line 29: | Line 29: | ||
| title=[[Third-party T-series codes|T-series code]] | | title=[[Third-party T-series codes|T-series code]] | ||
| content={{{tseries|}}}[[Category:T-series publishers]][[Category:Third-party software publishers]] | | content={{{tseries|}}}[[Category:T-series publishers]][[Category:Third-party software publishers]] | ||
− | {{#vardefine:tseries1|{{#explode:{{Stripformat|{{{tseries|}}}}}|,|0}}}}{{#vardefine:tseries2|{{#explode:{{Stripformat|{{{tseries|}}}}}|,|1}} | + | {{#vardefine:tseries1|{{#explode:{{Stripformat|{{{tseries|}}}}}|,|0}}}}{{#vardefine:tseries2|{{#explode:{{Stripformat|{{{tseries|}}}}}|,|1}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
{{BobRowPlus | {{BobRowPlus | ||
Line 54: | Line 40: | ||
| title=Merged into | | title=Merged into | ||
| content={{{mergedinto|}}} | | content={{{mergedinto|}}} | ||
+ | }} | ||
+ | {{BobRowPlus | ||
+ | | if={{{predecessor|}}} | ||
+ | | title=Predecessor | ||
+ | | content={{{predecessor|}}} | ||
+ | }} | ||
+ | {{BobRowPlus | ||
+ | | if={{{successor|}}} | ||
+ | | title=Successor | ||
+ | | content={{{successor|}}} | ||
}} | }} | ||
{{BobRowPlus | {{BobRowPlus | ||
Line 75: | Line 71: | ||
|address5={{{headquarters5|}}} | |address5={{{headquarters5|}}} | ||
}}}} | }}}} | ||
− | }}<includeonly>{{#if:{{{headquarters}}}||[[Category:No headquarters]]}}</includeonly> | + | }}<includeonly>{{#if:{{{headquarters}}}||[[Category:No headquarters]]}}{{ |
+ | #cargo_store: | ||
+ | _table = companydetails | ||
+ | |company={{#titleparts:{{PAGENAME}}}} | ||
+ | |division={{{division|}}} | ||
+ | |start={{Stripref|{{{founded|}}}}} | ||
+ | |end={{Stripref|{{{defunct|}}}}} | ||
+ | |tseries={{#var:tseries1}} | ||
+ | |paddedtseries={{padleft:{{#explode:{{#var:tseries1}}|-|1}}|5|0}} | ||
+ | |tseries2={{#var:tseries2}} | ||
+ | |paddedtseries2={{padleft:{{#explode:{{#var:tseries2}}|-|1}}|5|0}} | ||
+ | }}</includeonly> | ||
{{BobRowPlus | {{BobRowPlus | ||
| if={{{prev|}}}{{{next|}}} | | if={{{prev|}}}{{{next|}}} | ||
Line 89: | Line 96: | ||
{{#if:{{NAMESPACE}}|| | {{#if:{{NAMESPACE}}|| | ||
− | |||
− | |||
{{#if:{{{division|}}}|[[Category:{{Delink|{{{division|}}}}} divisions]][[Category:All divisions]]|[[Category:All companies]] | {{#if:{{{division|}}}|[[Category:{{Delink|{{{division|}}}}} divisions]][[Category:All divisions]]|[[Category:All companies]] | ||
{{#vardefine:country|{{CountryCheck|{{{headquarters|}}}}}}} | {{#vardefine:country|{{CountryCheck|{{{headquarters|}}}}}}} | ||
− | {{#ifeq:{{#var:country}}|unknown|[[Category: | + | {{#ifeq:{{#var:country}}|unknown|[[Category:Companies in unknown countries]]|[[Category:Companies in {{#var:country}}]]}} |
− | }} | ||
}} | }} | ||
}} | }} | ||
Line 105: | Line 109: | ||
}}</div><noinclude> | }}</div><noinclude> | ||
{{#cargo_declare: | {{#cargo_declare: | ||
− | _table = | + | _table = companydetails |
|company=Text <!-- page name (formatted) --> | |company=Text <!-- page name (formatted) --> | ||
+ | |division=Text | ||
+ | |start=Text | ||
+ | |end=Text | ||
|tseries=Text <!-- t-series code --> | |tseries=Text <!-- t-series code --> | ||
|paddedtseries=Text <!-- for sorting --> | |paddedtseries=Text <!-- for sorting --> | ||
+ | |tseries2=Text <!-- t-series code --> | ||
+ | |paddedtseries2=Text <!-- for sorting --> | ||
}} | }} | ||
==Usage== | ==Usage== | ||
Line 121: | Line 130: | ||
| mergedwith= | | mergedwith= | ||
| mergedinto= | | mergedinto= | ||
+ | | predecessor= | ||
+ | | successor= | ||
| headquarters= | | headquarters= | ||
}} | }} |
Latest revision as of 16:26, 7 July 2023
This template defines the table "companydetails". View table.
Usage
This template is to be used on articles on companies, primarily third-party developers. "Merged with" should be used for companies that merge together to make an entirely new company, whereas "merged into" involves companies becoming the property of another company. Merged companies do not go defunct, but should have the date of the merge listed in the merged info space.
{{CompanyBob | logo= | founded= | defunct= | tseries= | mergedwith= | mergedinto= | predecessor= | successor= | headquarters= }}
All fields are optional.