Jump to content

User:Scartol/StatusTemplate

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by Scartol (talk | contribs) at 14:47, 20 August 2007. The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


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>