Jump to content

Template:CompanyInfobox: Difference between revisions

From Consumer Rights Wiki
Schang1146 (talk | contribs)
Fix templatedata
MtPenguinMonster (talk | contribs)
Merge request
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
     <div style="display: flex; gap: 8px; flex-direction: column">
     <div style="display: flex; gap: 8px; flex-direction: column">
         <div class="infobox-title">{{PAGENAME}}</div>
         <div class="infobox-title">{{PAGENAME}}</div>
         <div class="infobox-image">[[File:{{{Logo|QuestionMark.svg}}}|200px]]</div>
         {{#if:{{{Logo|}}}|<div class="infobox-image">[[File:{{{Logo|QuestionMark.svg}}}|200px]]</div>|}}
         <table class="infobox-table">
         <table class="infobox-table">
             <tr>
             <tr>
Line 34: Line 34:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{{MergeRequest|Having two different infobox templates is confusing. One should just redirect to the other.|[[Template:InfoboxCompany]]}}
== Usage ==
== Usage ==
To have this infobox appear to the right of the page, add this to the page with the text you wish to appear on the box when using the source editor.
To have this infobox appear to the right of the page, add this to the page with the text you wish to appear on the box when using the source editor.
Line 39: Line 40:
| Founded = 2000
| Founded = 2000
| Industry = Industrial
| Industry = Industrial
| Logo = QuestionMark.svg
| Logo =  
| Type = Public
| Type = Public
| Website = https://example.com/
| Website = https://example.com/

Latest revision as of 12:24, 14 August 2025


🔄 A merge request has been made for this article

There has been a merge request for this page for the following reason:

Having two different infobox templates is confusing. One should just redirect to the other.

Merge with:Template:InfoboxCompany


Once the merge has been completed, please contact a mod, who can delete the extra pages. Alternatively, edit the unneeded pages such that they contain only a redirect to the merged page.

If you believe the merge has been completed but the page is still not deleted please contact a moderator either on discord or via their talk pages.


Usage[edit source]

To have this infobox appear to the right of the page, add this to the page with the text you wish to appear on the box when using the source editor.

CompanyInfobox
Basic information
Founded 2000
Legal Structure Public
Industry Industrial
Official website https://example.com/


This is the "CompanyInfobox" template.

It should be called in the following format:

{{CompanyInfobox
|Founded=
|Industry=
|Logo=
|Type=
|Website=
}}

Edit the page to see the template text.

Template Data[edit source]

This is a a simple information box to use in product line articles. Parameters are the information displayed on the infobox.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
FoundedFounded

What year-month-day was the company founded (month and day are NOT required)

Example
2000-01-01
Dateoptional
IndustryIndustry

What economic sector a company belongs to based on its main activity

Example
Electronics,Servers,Streaming Services
Stringoptional
LogoLogo

The logo associated with the company

Default
QuestionMark.svg
Example
filename.[jpg|png|svg]
Fileoptional
TypeType

Type of company ownership

Example
Public
Stringoptional
WebsiteWebsite

Website of the company

Example
https://www.apple.com/
URLoptional