Difference between revisions of "Template:EOL"

From DAVE Developer's Wiki
Jump to: navigation, search
Line 20: Line 20:
 
| style="height:45px;background:#FFFFFF;text-align:center;font-size:{{{fontsize}}}pt" |
 
| style="height:45px;background:#FFFFFF;text-align:center;font-size:{{{fontsize}}}pt" |
 
{{#switch: {{{status}}}
 
{{#switch: {{{status}}}
  | ACT = [[File:Traffic-light-GREEN.png|{{{width}}}/3px]]
+
  | ACT = [[File:Traffic-light-GREEN.png|{{{width}}}px]]
  | NFU = [[File:Traffic-light-YELLOW.png|{{{width}}}/3px]]
+
  | NFU = [[File:Traffic-light-YELLOW.png|{{{width}}}px]]
  | EOL = [[File:Traffic-light-RED.png|{{{width}}}/3px]]
+
  | EOL = [[File:Traffic-light-RED.png|{{{width}}}px]]
 
}}  
 
}}  
 
| style="font-size:{{{fontsize}}}pt;padding:4pt;line-height:1.25em" |  
 
| style="font-size:{{{fontsize}}}pt;padding:4pt;line-height:1.25em" |  

Revision as of 10:19, 21 January 2022

Usage: {{EOL|width= |fontsize= |status= |NEW-productname-page=}} where:

  • width: 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 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