Jump to content

Template:InfoboxCompany: Difference between revisions

From Consumer_Action_Taskforce
mNo edit summary
Tag: Reverted
m Protected "Template:InfoboxCompany": Excessive vandalism ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly><div class="infobox">
<includeonly><div class="infobox">
<div style="display:flex;gap:8px;flex-direction:column;">
<div style="display:flex;gap:8px;flex-direction:column;">
     <div class="infobox-title">{{{Title|{{PAGENAME}}}}}</div>
     <div class="infobox-title">{{{Company|{{PAGENAME}}}}}</div>
     <div class="infobox-image">[[File:{{{Logo}}}|200px]]</div>
     <div class="infobox-image">[[File:{{{Logo}}}|200px]]</div>
     <table class="infobox-table">
     <table class="infobox-table">


             <tr>  
             <tr>  
                 <th colspan=2 class="infobox-table-caption" >Basic Information</th>  
                 <th colspan=2 class="infobox-table-caption" >Basic information</th>  
             </tr>
             </tr>


Line 25: Line 25:
   
   
             <tr>
             <tr>
                 <th>{{nowrap|Official Website}}</th>
                 <th>{{nowrap|Official website}}</th>
                 <td>{{{Official Website}}}</td>
                 <td>{{{Official Website}}}</td>
             </tr>
             </tr>
Line 40: Line 40:
| Founded = 2000
| Founded = 2000
| Industry = Industrial
| Industry = Industrial
| Official Website = somewebsite.somewhere
| Official Website = https://example.com/
| Logo= QuestionMark.svg
| Logo = QuestionMark.svg
}}
}}
<pre>
<pre>
Line 51: Line 51:
| Industry =
| Industry =
| Official Website =
| Official Website =
| Logo=
| Logo =
}}
}}
</nowiki>
</nowiki>
</pre>
</pre>
<noinclude>[[Category:Styling templates]]</noinclude>
[[Category:Styling templates]]
{{Clear}}
 
== Template Data ==
== Template Data ==
<templatedata>
<templatedata>
Line 87: Line 89:
},
},
"Logo": {
"Logo": {
"description": "The logo accociated with the company.",
"description": "The logo associated with the company.",
"example": "filename.[jpg|png|svg]",
"example": "filename.[jpg|png|svg]",
"type": "wiki-file-name",
"type": "wiki-file-name",
Line 96: Line 98:
"Type": {
"Type": {
"description": "Type of company ownership",
"description": "Type of company ownership",
"example": "Public, Private, Government, Subsidiary"
"example": "Public, Private, Government, Subsidiary",
"required": true
}
}
},
},

Latest revision as of 06:53, 28 February 2025

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.

Company Name
Basic information
Founded 2000
Type Public
Industry Industrial
Official website https://example.com/

{{InfoboxCompany
| Company =
| Type = 
| Founded =
| Industry =
| Official Website =
| Logo =
}}

Template Data

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
NameName

Name of Company

Stringrequired
TypeType

Type of company ownership

Example
Public, Private, Government, Subsidiary
Unknownrequired
FoundedFounded

What year was the company founded

Stringrequired
IndustryIndustry

conglomerate, electronics manufacturer

Example
Electronics, EV's, Esc
Stringrequired
Official WebsiteOfficial Website

Website of the company.

Stringrequired
LogoLogo

The logo associated with the company.

Default
QuestionMark.svg
Example
filename.[jpg|png|svg]
Auto value
QuestionMark.svg
Filerequired