Jump to content

User:Scartol/StatusTemplate

From Wikipedia, the free encyclopedia


Usage

[edit]

To use this template, you'll need to install the Status switcher script (authored by Misza13). Once you've done so, copy and paste the following code into your Special:Mypage/StatusTemplate page:

<div style="float: left; border:solid #CCCCFF 1px; margin: 1px;">
{| cellspacing="0" style="width: 238px; background: #EEEEFF;"
| style="font-size: {{{info-s|8}}}pt; text-align: left; padding: 2pt; line-height: 1.25em; color: {{{info-fc|black}}};" | {{ #switch: {{{1}}}
 | in=[[Image:ButtonGreen.svg|40px]]   This user is <span style="color: green;">ONLINE</span>.
 | busy=[[Image:Gartoon-Gnome-desktop-config.png|40px]]   This user is <span style="color: #666;">BUSY</span>.
 | out=[[Image:ButtonRed.svg|40px]]   This user is <span style="color: red;">OFFLINE</span>.
}}
|}</div>