Difference between revisions of "Template:EOL"
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | Usage: <nowiki>{{EOL| | | + | Usage: <nowiki>{{EOL|width= |iconwidth= |fontsize= |status= |NEW-productname-page=}}</nowiki> where: |
− | * width: value in | + | * 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) | * fontsize: value in pt (symbol pt is not required) | ||
* status: can be: | * status: can be: | ||
Line 13: | Line 14: | ||
<includeonly> | <includeonly> | ||
{{#switch: {{{status}}} | {{#switch: {{{status}}} | ||
− | | ACT = <div style="float:left;border:solid # | + | | ACT = <div style="float:left;border:solid #FFFFFF 2px;margin:2px"> |
− | | NFU = <div style="float:left;border:solid # | + | | NFU = <div style="float:left;border:solid #ededed 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:{{{width}}} | + | {| cellspacing="0" style="width:{{{width}}}px;background:#FFFFFF" |
− | | style=" | + | | style="height:45px;background:#FFFFFF;text-align:center;font-size:{{{fontsize}}}pt" | |
{{#switch: {{{status}}} | {{#switch: {{{status}}} | ||
− | | ACT = [[File:Traffic-light-GREEN.png| | + | | ACT = [[File:Traffic-light-GREEN.png|{{{iconwidth}}}px]] |
− | | NFU = [[File:Traffic-light-YELLOW.png| | + | | NFU = [[File:Traffic-light-YELLOW.png|{{{iconwidth}}}px]] |
− | | EOL = [[File:Traffic-light-RED.png| | + | | EOL = [[File:Traffic-light-RED.png|{{{iconwidth}}}px]] |
}} | }} | ||
| style="font-size:{{{fontsize}}}pt;padding:4pt;line-height:1.25em" | | | style="font-size:{{{fontsize}}}pt;padding:4pt;line-height:1.25em" | |
Latest revision as of 12:38, 21 January 2022
Usage: {{EOL|width= |iconwidth= |fontsize= |status= |NEW-productname-page=}} 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 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