Template:InfoboxProductLine: Difference between revisions
m clean up documentation |
m Protected "Template:InfoboxProductLine": Excessive vandalism ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
(25 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div class="infobox"> | ||
<div style=" | <div style="display:flex;gap:8px;flex-direction:column;"> | ||
<div class="infobox-title">{{{Title|{{PAGENAME}}}}}</div> | |||
<div | <div class="infobox-image">[[File:{{{Logo}}}|200px]]</div> | ||
<table class="infobox-table"> | |||
<table | |||
<tr> | <tr> | ||
<th colspan=2 | <th colspan=2 class="infobox-table-caption" >Basic Information</th> | ||
</tr> | </tr> | ||
Line 27: | Line 26: | ||
<tr> | <tr> | ||
<th>{{nowrap|Official Website}}</th> | <th>{{nowrap|Official Website}}</th> | ||
<td> | <td>{{{Official Website}}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
</includeonly> | </div></includeonly><noinclude> | ||
<noinclude> | |||
== Usage == | == Usage == | ||
{{InfoboxProductLine | {{InfoboxProductLine | ||
| Title = Product Name | | Title = Product Name | ||
| Release Year = 2000 | | Release Year = 2000 | ||
| Product Type = Type of product | | Product Type = Type of product | ||
| In Production = Yes | | In Production = Yes | ||
| Official Website = | | Official Website = https://example.com/ | ||
| Logo= QuestionMark.svg | |||
}} | }} | ||
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. | ||
<pre> | <pre> | ||
<nowiki> | <nowiki> | ||
Line 55: | Line 51: | ||
| In Production = | | In Production = | ||
| Official Website = | | Official Website = | ||
| Logo = | |||
}} | }} | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
[[Category:Styling templates]] | |||
{{Clear}} | |||
== Template Data == | == Template Data == | ||
Line 88: | Line 87: | ||
"type": "string", | "type": "string", | ||
"description": "Website of product if it exists. (use wayback machine if necessary)", | "description": "Website of product if it exists. (use wayback machine if necessary)", | ||
"required": true | |||
}, | |||
"Logo": { | |||
"description": "The logo accociated with this product. If there is no specific logo a picture of the product.", | |||
"example": "filename.[jpg|png|svg]", | |||
"type": "wiki-file-name", | |||
"autovalue": "QuestionMark.svg", | |||
"default": "QuestionMark.svg", | |||
"required": true | "required": true | ||
} | } |