Difference between revisions of "Template:EOL"
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | Usage: <nowiki>{{EOL|status= |NEW-productname-page= }}</nowiki> where: | + | Usage: <nowiki>{{EOL| |width= |fontsize= |status= |NEW-productname-page=}}</nowiki> where: |
+ | * width: value in % (symbol % is not required) | ||
+ | * fontsize: value in pt (symbol pt is not required) | ||
* status: can be: | * status: can be: | ||
** ACT (means Active) | ** ACT (means Active) | ||
Line 15: | Line 17: | ||
| EOL = <div style="float:left;border:solid #FF0000 2px;margin:2px"> | | EOL = <div style="float:left;border:solid #FF0000 2px;margin:2px"> | ||
}} | }} | ||
− | {| cellspacing="0" style="width: | + | {| cellspacing="0" style="width:{{{width}}}%;background:#FFFFFF" |
− | | style="width: | + | | style="width:100%;height:45px;background:#FFFFFF;text-align:center;font-size:{{{fontsize}}}pt" | |
{{#switch: {{{status}}} | {{#switch: {{{status}}} | ||
| ACT = [[File:Traffic-light-GREEN.png|100px]] | | ACT = [[File:Traffic-light-GREEN.png|100px]] | ||
Line 22: | Line 24: | ||
| EOL = [[File:Traffic-light-RED.png|100px]] | | EOL = [[File:Traffic-light-RED.png|100px]] | ||
}} | }} | ||
− | | style="font-size: | + | | style="font-size:{{{fontsize}}}pt;padding:4pt;line-height:1.25em" | |
{{#switch: {{{status}}} | {{#switch: {{{status}}} | ||
− | | ACT = The product is | + | | ACT = The product is '''ACTIVE''' |
− | | NFU = The product is | + | | NFU = The product is '''NOT RECOMMENDED''' for new designs. Please refer to this product: [[{{{NEW-productname-page}}}]] |
− | | EOL = The product is | + | | EOL = The product is '''END OF LIFE'''. Please refer to this product: [[{{{NEW-productname-page}}}]] |
}} | }} | ||
|}</div> | |}</div> | ||
</includeonly> | </includeonly> |
Revision as of 10:10, 21 January 2022
Usage: {{EOL| |width= |fontsize= |status= |NEW-productname-page=}} where:
- width: value in % (symbol % is not required)
- 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