Difference between revisions of "Template:EOL"

From DAVE Developer's Wiki
Jump to: navigation, search
Line 11: Line 11:
 
<includeonly>
 
<includeonly>
 
{{#switch: {{{status}}}
 
{{#switch: {{{status}}}
  | ACT = <div style="float:left;border:solid #FF0000 2px;margin:1px">
+
  | ACT = <div style="float:left;border:solid #00FF00 2px;margin:2px">
  | NFU = <div style="float:left;border:solid #0000FF 2px;margin:1px">
+
  | NFU = <div style="float:left;border:solid #0000FF 2px;margin:2px">
  | EOL = <div style="float:left;border:solid #00FF00 2px;margin:1px">
+
  | EOL = <div style="float:left;border:solid #FF0000 2px;margin:2px">
 
}}  
 
}}  
{| cellspacing="0" style="width:600px;background:#FFFFFF"
+
{| cellspacing="0" style="width:400px;background:#FFFFFF"
| style="width:100px;height:45px;background:#ededed;text-align:center;font-size:14pt" |
+
| style="width:100px;height:45px;background:#FFFFFF;text-align:center;font-size:14pt" |
 
{{#switch: {{{status}}}
 
{{#switch: {{{status}}}
  | ACT = A
+
  | ACT = [[File:Traffic-light-GREEN.png|150px]]
  | NFU = B
+
  | NFU = [[File:Traffic-light-YELLOW.png|150px]]
  | EOL = C [[File:EOL.png|150px]]
+
  | EOL = [[File:Traffic-light-RED.png|150px]]
 
}}  
 
}}  
 
| style="font-size:14pt;padding:4pt;line-height:1.25em" |  
 
| style="font-size:14pt;padding:4pt;line-height:1.25em" |  

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