|
|
(20 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | <noinclude>
| + | <div style="float:left;border:solid #73B2C7 2px;margin:1px"> |
− | Usage: <nowiki>{{EOL|width= |iconwidth= |fontsize= |status= |NEW-productname-page=}}</nowiki> where:
| + | {| cellspacing="0" style="width:600px;background:#ededed" |
− | * width: value in px (symbol px is not required)
| + | | style="width:100px;height:45px;background:#ededed;text-align:center;font-size:14pt" | [[File:EOL.png|150px]] |
− | * iconwidth: value in px (symbol px is not required)
| + | | style="font-size:14pt;padding:4pt;line-height:1.25em" | '''{{{nome-prodotto}}} is in End Of Life.<br>Please refer to new product [[{{{new-prodotto}}}]]''' |
− | * fontsize: value in pt (symbol pt is not required)
| |
− | * status: can be:
| |
− | ** ACT (means Active)
| |
− | ** NFU (Not Recommended)
| |
− | ** EOL (End Of Life)
| |
− | in cases of NFU or EOL the other link is required
| |
− | * NEW-productname-page: page name (internal link) of the new product
| |
− | </noinclude>
| |
− | | |
− | <includeonly>
| |
− | {{#switch: {{{status}}}
| |
− | | ACT = <div style="float:left;border:solid #FFFFFF 2px;margin:2px">
| |
− | | NFU = <div style="float:left;border:solid #ededed 2px;margin:2px">
| |
− | | EOL = <div style="float:left;border:solid #FF0000 2px;margin:2px">
| |
− | }}
| |
− | {| cellspacing="0" style="width:{{{width}}}px;background:#FFFFFF" | |
− | | style="height:45px;background:#FFFFFF;text-align:center;font-size:{{{fontsize}}}pt" | | |
− | {{#switch: {{{status}}}
| |
− | | ACT = [[File:Traffic-light-GREEN.png|{{{iconwidth}}}px]]
| |
− | | NFU = [[File:Traffic-light-YELLOW.png|{{{iconwidth}}}px]]
| |
− | | EOL = [[File:Traffic-light-RED.png|{{{iconwidth}}}px]]
| |
− | }}
| |
− | | style="font-size:{{{fontsize}}}pt;padding:4pt;line-height:1.25em" | | |
− | {{#switch: {{{status}}}
| |
− | | ACT = The product is '''ACTIVE'''
| |
− | | NFU = The product is '''NOT RECOMMENDED''' for new designs. Please refer to this product: [[{{{NEW-productname-page}}}]]
| |
− | | EOL = The product is '''END OF LIFE'''. Please refer to this product: [[{{{NEW-productname-page}}}]]
| |
− | }}
| |
| |}</div> | | |}</div> |
− | </includeonly>
| |