Template:InfoboxCompany: Difference between revisions
m fix Tag: Manual revert |
Fixed an issue where using this in visualeditor, you get the description showing as the example. I made the description an actual description. |
||
| (17 intermediate revisions by 11 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">{{{ | <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 | <th colspan=2 class="infobox-table-caption" >Basic information</th> | ||
</tr> | </tr> | ||
| Line 15: | Line 15: | ||
<tr> | <tr> | ||
<th>{{nowrap| | <th>{{nowrap|Legal structure}}</th> | ||
<td>{{{Type}}}</td> | <td>{{{Type}}}</td> | ||
</tr> | </tr> | ||
| Line 25: | Line 25: | ||
<tr> | <tr> | ||
<th>{{nowrap|Official | <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 = | | 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> | ||
[[Category:Styling templates]] | [[Category:Styling templates]] | ||
{{Clear}} | |||
== Template Data == | == Template Data == | ||
<templatedata> | <templatedata> | ||
| Line 65: | Line 67: | ||
"required": true | "required": true | ||
}, | }, | ||
"Type": { | |||
" | "description": "Type of company ownership", | ||
" | "example": "Public, Private, Government, Subsidiary", | ||
"required": true | "required": true | ||
}, | |||
"Founded": { | "Founded": { | ||
"type": "string", | "type": "string", | ||
| Line 77: | Line 79: | ||
"Industry": { | "Industry": { | ||
"type": "string", | "type": "string", | ||
"description": " | "description": "The industry (or industries) the company is in", | ||
"example": "Electronics, EV's, Esc", | "example": "Electronics, EV's, Esc", | ||
"required": true | "required": true | ||
| Line 87: | Line 89: | ||
}, | }, | ||
"Logo": { | "Logo": { | ||
"description": "The logo | "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 93: | Line 95: | ||
"default": "QuestionMark.svg", | "default": "QuestionMark.svg", | ||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||