Actions

Template

Difference between revisions of "CompanyBob"

From NEC Retro

 
Line 1: Line 1:
{{BobTable|
+
<div itemscope itemtype="https://schema.org/Organization">
{{BobRow||{{{logo|}}}|align=center|default=[[File:Notavailable.svg]][[Category:Companies without logos]]|content=[[File:{{{logo}}}|{{#if:{{{width|}}}|{{{width}}}|320x240}}px]]}}
+
<span style="display:none" itemprop="logo">{{filepath:{{{logo}}}}}</span>
{{BobRow||{{{title|}}}|default=Fast facts on {{PAGENAME}}|content=Fast facts on {{{title}}}|headline=yes|align=center}}
+
{{BobTablePlus|
{{BobRow|Founded|{{{founded|}}}}}
+
{{BobRowPlus
{{BobRow|Defunct|{{{defunct|}}}}}
+
| if={{{logo|}}}
{{BobRow|Merged with|{{{mergedwith|}}}}}
+
| align=center
{{BobRow|Merged into|{{{mergedinto|}}}}}
+
| default=[[File:Notavailable.svg]][[Category:Companies without logos]]
{{BobRow|Headquarters|{{{headquarters|}}}}}
+
| content=[[File:{{{logo}}}|320x240px]]
}}{{#if:{{NAMESPACE}}||{{#ifeq:{{{label|}}}|yes|[[Category:Publishing labels]]|[[Category:Companies]]}}}}<noinclude>
+
}}
 +
{{BobRowPlus
 +
| if={{{title|}}}
 +
| default=<span content="name">{{PAGENAME}}</span>
 +
| content=<span content="name">{{{title}}}</span>
 +
| headline=yes
 +
| align=center
 +
}}
 +
{{BobRowPlus
 +
| if={{{founded|}}}
 +
| title=Founded
 +
| content=<span content="foundingDate">{{{founded|}}}</span>
 +
}}
 +
{{BobRowPlus
 +
| if={{{defunct|}}}
 +
| title=Defunct
 +
| content=<span itemprop="dissolutionDate">{{{defunct|}}}</span>
 +
}}
 +
{{BobRowPlus
 +
| if={{{mergedwith|}}}
 +
| title=Merged with
 +
| content={{{mergedwith|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{mergedinto|}}}
 +
| title=Merged into
 +
| content={{{mergedinto|}}}
 +
}}
 +
{{BobRowPlus
 +
| if={{{headquarters|}}}
 +
| title=Headquarters
 +
| content=<span itemprop="location">{{{headquarters|}}}</span>{{#vardefine:country|{{CountryCheck|{{{headquarters|}}}}}}}{{#if:{{#var:country}}|[[Category:Companies in {{#var:country}}]]|}}
 +
}}{{#if:{{{headquarters}}}||[[Category:No headquarters]]}}
 +
{{BobRowPlus
 +
| if={{{prev|}}}{{{next|}}}
 +
| title=
 +
| content=<div style="display: inline-block; text-align:center; min-width:50%;">{{#if:{{{prevdate|}}}|'''{{{prevdate}}}'''|}}</div><div style="display: inline-block; text-align:center; min-width:50%;">{{#if:{{{nextdate|}}}|'''{{{nextdate}}}'''|}}</div>
 +
{{BobPrevNext|{{{prev|}}}|{{{next|}}}}}
 +
{{BobPrevNext|{{{prev2|}}}|{{{next2|}}}}}
 +
{{BobPrevNext|{{{prev3|}}}|{{{next3|}}}}}
 +
{{BobPrevNext|{{{prev4|}}}|{{{next4|}}}}}
 +
}}
 +
}}</div>{{#if:{{NAMESPACE}}||{{#ifeq:{{{label|}}}|yes|[[Category:Publishing labels]]|[[Category:Companies]]}}}}<div style="display:none;">
 +
<div style="display:none;">
 +
{{#seo:
 +
|image={{filepath:{{{logo}}}}}
 +
|site_name=NEC Retro
 +
|locale=en_GB
 +
}}</div></div><noinclude>
 
==Usage==
 
==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.
 
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.
Line 14: Line 62:
 
{{CompanyBob
 
{{CompanyBob
 
| logo=
 
| logo=
| width=
 
 
| founded=
 
| founded=
 
| defunct=
 
| defunct=
Line 24: Line 71:
  
 
All fields are optional.
 
All fields are optional.
 
 
[[Category:Breakout box templates]]</noinclude>
 
[[Category:Breakout box templates]]</noinclude>

Latest revision as of 18:44, 31 December 2021

Notavailable.svg
CompanyBob

{{#seo:

|image=
|site_name=NEC Retro
|locale=en_GB
}}

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=
| mergedwith=
| mergedinto=
| headquarters=
}}

All fields are optional.