Template:ProductPage: Difference between revisions
mNo edit summary |
added section for browser extension's short description Tag: 2017 source edit |
||
Line 4: | Line 4: | ||
<table class="infobox-table"> | <table class="infobox-table"> | ||
<tr><th colspan=2 class="infobox-table-caption" >Basic Information</th></tr> | <tr><th colspan=2 class="infobox-table-caption" >Basic Information</th></tr> | ||
{{#if:{{{short_description|}}}|<tr><th>{{nowrap|Browser alert summary}}</th><td>{{{short_description}}}</td></tr>}} | |||
{{#if:{{{infobox_1_key|}}}|<tr><th>{{nowrap|{{{infobox_1_key}}}}}</th><td>{{{infobox_1_value|Not specified}}}</td></tr>}} | {{#if:{{{infobox_1_key|}}}|<tr><th>{{nowrap|{{{infobox_1_key}}}}}</th><td>{{{infobox_1_value|Not specified}}}</td></tr>}} | ||
{{#if:{{{infobox_2_key|}}}|<tr><th>{{nowrap|{{{infobox_2_key}}}}}</th><td>{{{infobox_2_value|Not specified}}}</td></tr>}} | {{#if:{{{infobox_2_key|}}}|<tr><th>{{nowrap|{{{infobox_2_key}}}}}</th><td>{{{infobox_2_value|Not specified}}}</td></tr>}} | ||
Line 11: | Line 12: | ||
{{#if:{{{infobox_6_key|}}}|<tr><th>{{nowrap|{{{infobox_6_key}}}}}</th><td>{{{infobox_6_value|Not specified}}}</td></tr>}} | {{#if:{{{infobox_6_key|}}}|<tr><th>{{nowrap|{{{infobox_6_key}}}}}</th><td>{{{infobox_6_value|Not specified}}}</td></tr>}} | ||
</table> | </table> | ||
</div>{{{description|}}} | </div> | ||
{{#if:{{{short_description|}}}|<div class="short-description"><strong>Alert shown in browser extension:</strong> {{{short_description}}}</div>}} | |||
{{{description|}}} | |||
== Consumer impact == | == Consumer impact == | ||
Line 25: | Line 30: | ||
== Consumer-protection incidents == | == Consumer-protection incidents == | ||
{{#if:{{{incidents_1_title|}}}|</ul><h4>{{{incidents_1_title}}} ({{{incidents_1_date|}}})</h4>{{{incidents_1_text|}}}}}{{#if:{{{incidents_2_title|}}}|</ul><h4>{{{incidents_2_title}}} ({{{incidents_2_date|}}})</h4>{{{incidents_2_text|}}}}}{{#if:{{{incidents_3_title|}}}|</ul><h4>{{{incidents_3_title}}} ({{{incidents_3_date|}}})</h4>{{{incidents_3_text|}}}}}{{#if:{{{incidents_4_title|}}}|</ul><h4>{{{incidents_4_title}}} ({{{incidents_4_date|}}})</h4>{{{incidents_4_text|}}}}}{{#if:{{{incidents_5_title|}}}|</ul><h4>{{{incidents_5_title}}} ({{{incidents_5_date|}}})</h4>{{{incidents_5_text|}}}}}{{#if:{{{incidents_6_title|}}}|</ul><h4>{{{incidents_6_title}}} ({{{incidents_6_date|}}})</h4>{{{incidents_6_text|}}}}}{{#if:{{{incidents_7_title|}}}|</ul><h4>{{{incidents_7_title}}} ({{{incidents_7_date|}}})</h4>{{{incidents_7_text|}}}}}{{#if:{{{incidents_8_title|}}}|</ul><h4>{{{incidents_8_title}}} ({{{incidents_8_date|}}})</h4>{{{incidents_8_text|}}}}}{{#if:{{{incidents_9_title|}}}|</ul><h4>{{{incidents_9_title}}} ({{{incidents_9_date|}}})</h4>{{{incidents_9_text|}}}}}{{#if:{{{incidents_10_title|}}}|</ul><h4>{{{incidents_10_title}}} ({{{incidents_10_date|}}})</h4>{{{incidents_10_text|}}}}}{{#if:{{{incidents_11_title|}}}|</ul><h4>{{{incidents_11_title}}} ({{{incidents_11_date|}}})</h4>{{{incidents_11_text|}}}}}{{#if:{{{incidents_12_title|}}}|</ul><h4>{{{incidents_12_title}}} ({{{incidents_12_date|}}})</h4>{{{incidents_12_text|}}}}} | {{#if:{{{incidents_1_title|}}}|</ul><h4>{{{incidents_1_title}}} ({{{incidents_1_date|}}})</h4>{{{incidents_1_text|}}}}}{{#if:{{{incidents_2_title|}}}|</ul><h4>{{{incidents_2_title}}} ({{{incidents_2_date|}}})</h4>{{{incidents_2_text|}}}}}{{#if:{{{incidents_3_title|}}}|</ul><h4>{{{incidents_3_title}}} ({{{incidents_3_date|}}})</h4>{{{incidents_3_text|}}}}}{{#if:{{{incidents_4_title|}}}|</ul><h4>{{{incidents_4_title}}} ({{{incidents_4_date|}}})</h4>{{{incidents_4_text|}}}}}{{#if:{{{incidents_5_title|}}}|</ul><h4>{{{incidents_5_title}}} ({{{incidents_5_date|}}})</h4>{{{incidents_5_text|}}}}}{{#if:{{{incidents_6_title|}}}|</ul><h4>{{{incidents_6_title}}} ({{{incidents_6_date|}}})</h4>{{{incidents_6_text|}}}}}{{#if:{{{incidents_7_title|}}}|</ul><h4>{{{incidents_7_title}}} ({{{incidents_7_date|}}})</h4>{{{incidents_7_text|}}}}}{{#if:{{{incidents_8_title|}}}|</ul><h4>{{{incidents_8_title}}} ({{{incidents_8_date|}}})</h4>{{{incidents_8_text|}}}}}{{#if:{{{incidents_9_title|}}}|</ul><h4>{{{incidents_9_title}}} ({{{incidents_9_date|}}})</h4>{{{incidents_9_text|}}}}}{{#if:{{{incidents_10_title|}}}|</ul><h4>{{{incidents_10_title}}} ({{{incidents_10_date|}}})</h4>{{{incidents_10_text|}}}}}{{#if:{{{incidents_11_title|}}}|</ul><h4>{{{incidents_11_title}}} ({{{incidents_11_date|}}})</h4>{{{incidents_11_text|}}}}}{{#if:{{{incidents_12_title|}}}|</ul><h4>{{{incidents_12_title}}} ({{{incidents_12_date|}}})</h4>{{{incidents_12_text|}}}}} | ||
Line 35: | Line 39: | ||
{ | { | ||
"params": { | "params": { | ||
"short_description": { | |||
"description": "This appears as a browser alert when someone visits this product's page. Limit to 140 characters. Be clear and concise.", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"infobox_logo": {}, | "infobox_logo": {}, | ||
"infobox_1_key": {}, | "infobox_1_key": {}, | ||
Line 116: | Line 125: | ||
"description": "This template generates a structured infobox and content section as a base for a product page", | "description": "This template generates a structured infobox and content section as a base for a product page", | ||
"paramOrder": [ | "paramOrder": [ | ||
"short_description", | |||
"infobox_logo", | "infobox_logo", | ||
"description", | "description", | ||
Line 192: | Line 202: | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata> | ||
</noinclude> |