Difference between revisions of "Template:EOL"
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | Usage: <nowiki>{{EOL | + | Usage: <nowiki>{{EOL|status= |NEW-productname-page= }}</nowiki> where: |
− | |||
− | |||
− | |||
* status: can be: | * status: can be: | ||
** ACT (means Active) | ** ACT (means Active) | ||
− | ** NFU (Not | + | ** NFU (Not Reccomended) |
** EOL (End Of Life) | ** EOL (End Of Life) | ||
in cases of NFU or EOL the other link is required | in cases of NFU or EOL the other link is required | ||
Line 14: | Line 11: | ||
<includeonly> | <includeonly> | ||
{{#switch: {{{status}}} | {{#switch: {{{status}}} | ||
− | | ACT = <div style="float:left;border:solid # | + | | ACT = <div style="float:left;border:solid #00FF00 2px;margin:2px"> |
− | | NFU = <div style="float:left;border:solid # | + | | NFU = <div style="float:left;border:solid #0000FF 2px;margin:2px"> |
| 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:400px;background:#FFFFFF" |
− | | style="height:45px;background:#FFFFFF;text-align:center;font-size: | + | | style="width:100px;height:45px;background:#FFFFFF;text-align:center;font-size:14pt" | |
{{#switch: {{{status}}} | {{#switch: {{{status}}} | ||
− | | ACT = [[File:Traffic-light-GREEN.png| | + | | ACT = [[File:Traffic-light-GREEN.png|150px]] |
− | | NFU = [[File:Traffic-light-YELLOW.png| | + | | NFU = [[File:Traffic-light-YELLOW.png|150px]] |
− | | EOL = [[File:Traffic-light-RED.png| | + | | EOL = [[File:Traffic-light-RED.png|150px]] |
}} | }} | ||
− | | style="font-size: | + | | style="font-size:14pt;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 Reccomended 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 20:43, 20 January 2022
Usage: {{EOL|status= |NEW-productname-page= }} where:
- status: can be:
- ACT (means Active)
- NFU (Not Reccomended)
- 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