Open main menu

DAVE Developer's Wiki β

Changes

Template:EOL

1,280 bytes removed, 12:38, 21 January 2022
no edit summary
<noinclude>
Usage: <nowiki>{{EOL|width= |iconwidth= |fontsize= |status= |NEW-productname-page= }}</nowiki> where:* width: value in px (symbol px is not required)* iconwidth: value in px (symbol px is not required)* fontsize: value in pt (symbol pt is not required)
* status: can be:
** ACT (means Active)
** NFU (Not ReccomendedRecommended)
** 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
Examples:
 
 
 
<div style="float:left;border:solid #73B2C7 2px;margin:1px">
{| cellspacing="0" style="width:600px;background:#ededed"
| style="width:100px;height:45px;background:#ededed;text-align:center;font-size:14pt" |
{{#switch: status
| ACT: A
| NFU: B
| EOL: C [[File:EOL.png|150px]]
}}
| style="font-size:14pt;padding:4pt;line-height:1.25em" |
{{#switch: status
| ACT: The product is active
| NFU: The product is Not Reccomended for new designs. Please refer to this product: [[pluto]]
| EOL: The product is End Of Life for new designs. Please refer to this product: [[pluto]]
}}
|}</div>
 
 
 
 
<div style="float:left;border:solid #73B2C7 2px;margin:1px">
{| cellspacing="0" style="width:600px;background:#ededed"
| style="width:100px;height:45px;background:#ededed;text-align:center;font-size:14pt" |
{{#switch: status
| ACT: A
| NFU: B
| EOL: C [[File:EOL.png|150px]]
}}
| style="font-size:14pt;padding:4pt;line-height:1.25em" |
{{#switch: status
| ACT: The product is active
| NFU: The product is Not Reccomended for new designs. Please refer to this product: [[pluto]]
| EOL: The product is End Of Life for new designs. Please refer to this product: [[pluto]]
}}
|}</div>
 
*
 
 
<div style="float:left;border:solid #73B2C7 2px;margin:1px">
{| cellspacing="0" style="width:600px;background:#ededed"
| style="width:100px;height:45px;background:#ededed;text-align:center;font-size:14pt" |
{{#switch: status
| ACT: A
| NFU: B
| EOL: C [[File:EOL.png|150px]]
}}
| style="font-size:14pt;padding:4pt;line-height:1.25em" |
{{#switch: status
| ACT: The product is active
| NFU: The product is Not Reccomended for new designs. Please refer to this product: [[pluto]]
| EOL: The product is End Of Life for new designs. Please refer to this product: [[pluto]]
}}
|}</div>
 
</noinclude>
<includeonly>
<div style="float:left;border:solid #73B2C7 2px;margin:1px">
{| cellspacing="0" style="width:600px;background:#ededed"
| style="width:100px;height:45px;background:#ededed;text-align:center;font-size:14pt" |
{{#switch: {{{status}}}
| ACT = A<div style="float:left;border:solid #FFFFFF 2px;margin:2px"> | NFU = B<div style="float:left;border:solid #ededed 2px;margin:2px"> | EOL = C <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:EOLTraffic-light-GREEN.png|{{{iconwidth}}}px]] | NFU = [[File:Traffic-light-YELLOW.png|150px{{{iconwidth}}}px]] | buEOL = [[File:Traffic-light-RED.png|{{{iconwidth}}}px]]
}}
| style="font-size:14pt{{{fontsize}}}pt;padding:4pt;line-height:1.25em" |
{{#switch: {{{status}}}
| ACT = The product is active'''ACTIVE''' | NFU = The product is Not Reccomended '''NOT RECOMMENDED''' for new designs. Please refer to this product: [[{{{NEW-productname-page}}}]] | EOL = The product is End Of Life'''END OF LIFE'''. Please refer to this product: [[{{{NEW-productname-page}}}]] | bu
}}
|}</div>
</includeonly>
dave_user, Administrators
5,190
edits