Template:ProductCargo: Difference between revisions
Schang1146 (talk | contribs) Remove WIP tag |
+really good docs for visualeditor ngl |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 35: | Line 35: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly>{{#cargo_store:_table=Product | ||
{{#cargo_store:_table=Product | |||
| ArticleType = {{{ArticleType|}}} | | ArticleType = {{{ArticleType|}}} | ||
| Category = {{{Category|}}} | | Category = {{{Category|}}} | ||
| Line 46: | Line 45: | ||
| ReleaseYear = {{{ReleaseYear|}}} | | ReleaseYear = {{{ReleaseYear|}}} | ||
| Website = {{{Website|}}} | | Website = {{{Website|}}} | ||
}} | }}<div class="infobox"> | ||
<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">{{PAGENAME}}</div> | <div class="infobox-title">{{PAGENAME}}</div> | ||
| Line 77: | Line 75: | ||
</table> | </table> | ||
</div> | </div> | ||
</div> | </div></includeonly> | ||
</ | <noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"ArticleType": { | |||
"label": "Article type", | |||
"description": "The type of article it is.", | |||
"suggested": true | |||
}, | |||
"Category": {}, | |||
"Company": { | |||
"description": "The company that owns the product.", | |||
"suggested": true | |||
}, | |||
"Description": { | |||
"description": "Describe the product here.", | |||
"suggested": true | |||
}, | |||
"InProduction": { | |||
"label": "In production", | |||
"description": "If it is in production, type ‘yes’. If it isn’t, type ‘no’.", | |||
"example": "Yes", | |||
"type": "boolean", | |||
"suggested": true | |||
}, | |||
"Logo": { | |||
"description": "The logo. You can add already existing logos here.", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"ProductLine": { | |||
"label": "Product line", | |||
"description": "The line of products it is in.", | |||
"example": "Amazon Echo", | |||
"suggested": true | |||
}, | |||
"ReleaseYear": { | |||
"label": "Release year", | |||
"description": "The year that this product was released.", | |||
"suggested": true | |||
}, | |||
"Website": { | |||
"description": "The website for the product.", | |||
"type": "url", | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"ArticleType", | |||
"Category", | |||
"Company", | |||
"Description", | |||
"InProduction", | |||
"Logo", | |||
"ProductLine", | |||
"ReleaseYear", | |||
"Website" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | |||