Difference between revisions of "Template:EOL"

From DAVE Developer's Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
Usage: <nowiki>{{EOL|EOL-productname= |NEW-productname-page= }}</nowiki> where:
+
Usage: <nowiki>{{EOL|status= |NEW-productname-page= }}</nowiki> where:
* EOL-productname: name of the EOL product
+
* 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
 
* NEW-productname-page: page name (internal link) of the new product
Example:<nowiki>{{EOL|EOL-productname=pippo |NEW-productname-page=pluto page }}</nowiki>:
+
Examples:
 
+
<nowiki>{{EOL|status=ACT|NEW-productname-page= }}</nowiki>:
{{EOL|EOL-productname=pippo |NEW-productname-page=pluto page }}
+
{{EOL|status=ACT |NEW-productname-page=pluto page }}
 
+
<nowiki>{{EOL|status=NFU|NEW-productname-page=pluto }}</nowiki>:
 +
{{EOL|status=NFU |NEW-productname-page=plut }}
 +
<nowiki>{{EOL|status=EOL|NEW-productname-page=pluto }}</nowiki>:
 +
{{EOL|status=EOL |NEW-productname-page=pluto }}
 
</noinclude>
 
</noinclude>
  
Line 12: Line 19:
 
<div style="float:left;border:solid #73B2C7 2px;margin:1px">
 
<div style="float:left;border:solid #73B2C7 2px;margin:1px">
 
{| cellspacing="0" style="width:600px;background:#ededed"
 
{| cellspacing="0" style="width:600px;background:#ededed"
| style="width:100px;height:45px;background:#ededed;text-align:center;font-size:14pt" | [[File:EOL.png|150px]]
+
| style="width:100px;height:45px;background:#ededed;text-align:center;font-size:14pt" |
| style="font-size:14pt;padding:4pt;line-height:1.25em" | '''{{{EOL-productname}}} is in End Of Life.<br>Please refer to new product [[{{{NEW-productname-page}}}]]'''
+
{{#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: [[{{{NEW-productname-page}}}]]
 +
| EOL: The product is End Of Life for new designs. Please refer to this product: [[{{{NEW-productname-page}}}]]
 +
}}
 
|}</div>
 
|}</div>
 
</includeonly>
 
</includeonly>

Revision as of 20:14, 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

Examples: {{EOL|status=ACT|NEW-productname-page= }}:


{{{iconwidth}}}px

The product is ACTIVE

{{EOL|status=NFU|NEW-productname-page=pluto }}:


{{{iconwidth}}}px

The product is NOT RECOMMENDED for new designs. Please refer to this product: plut

{{EOL|status=EOL|NEW-productname-page=pluto }}:


{{{iconwidth}}}px

The product is END OF LIFE. Please refer to this product: pluto