Template:InfoboxCompany: Difference between revisions
m Reverted edit by ! (talk) to last revision by Jparks2112 Tag: Rollback |
added short description field for browser extension Tag: 2017 source edit |
||
(2 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
<tr> | <tr> | ||
<th colspan=2 class="infobox-table-caption" >Basic information</th> | <th colspan=2 class="infobox-table-caption" >Basic information</th> | ||
</tr> | |||
<tr> | |||
<th>{{nowrap|Short description}}</th> | |||
<td>{{{short_description}}}</td> | |||
</tr> | </tr> | ||
Line 35: | Line 40: | ||
== 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. | ||
'''Short description:''' This appears as a browser alert when someone visits this company's site. Limit to 140 characters. Be concise and clear. | |||
{{InfoboxCompany | {{InfoboxCompany | ||
| Company = Company Name | | Company = Company Name | ||
| short_description = Brief alert text that shows in the browser extension when users visit the site | |||
| Type = Public | | Type = Public | ||
| Founded = 2000 | | Founded = 2000 | ||
| Industry = Industrial | | Industry = Industrial | ||
| Official Website = | | Official Website = https://example.com/ | ||
| Logo = QuestionMark.svg | | Logo = QuestionMark.svg | ||
}} | }} | ||
Line 47: | Line 56: | ||
{{InfoboxCompany | {{InfoboxCompany | ||
| Company = | | Company = | ||
| short_description = | |||
| Type = | | Type = | ||
| Founded = | | Founded = | ||
Line 57: | Line 67: | ||
[[Category:Styling templates]] | [[Category:Styling templates]] | ||
{{Clear}} | {{Clear}} | ||
== Template Data == | == Template Data == | ||
<templatedata> | <templatedata> | ||
Line 95: | Line 106: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "short_description": { | ||
" | "type": "string", | ||
" | "description": "Appears in the browser extension as a warning or summary when someone visits this company's site. Limit to 140 characters.", | ||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
"description": "This is | "description": "This is a simple information box to use in company articles. Includes core details and short summary for external use.", | ||
"format": "block", | "format": "block", | ||
"paramOrder": [ | "paramOrder": [ | ||
"Name", | "Name", | ||
"short_description", | |||
"Type", | "Type", | ||
"Founded", | "Founded", |
Latest revision as of 05:18, 12 June 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.
Short description: This appears as a browser alert when someone visits this company's site. Limit to 140 characters. Be concise and clear.
Basic information | |
---|---|
Short description | Brief alert text that shows in the browser extension when users visit the site |
Founded | 2000 |
Type | Public |
Industry | Industrial |
Official website | https://example.com/ |
{{InfoboxCompany | Company = | short_description = | Type = | Founded = | Industry = | Official Website = | Logo = }}
Template Data
This is a simple information box to use in company articles. Includes core details and short summary for external use.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | Name | Name of Company | String | required |
short_description | short_description | Appears in the browser extension as a warning or summary when someone visits this company's site. Limit to 140 characters. | String | required |
Type | Type | Ownership status of company | String | required |
Founded | Founded | What year was the company founded | String | required |
Industry | Industry | conglomerate, electronics manufacturer
| String | required |
Official Website | Official Website | Website of the company. | String | required |
Logo | Logo | The logo associated with the company.
| File | required |