Difference between revisions of "Template:RandomEventOld"

From NeoDex
Jump to navigation Jump to search
(All random event types are operational!)
Line 3: Line 3:
{{#switch: {{{type}}}| winter = <td bgcolor="#ccccff" width="400" height="16" align="center" colspan="2" cellpadding="3"><font face="verdana">'''Winter Random Event!!!'''</font>| tyrannian = <td bgcolor="#be793f" width="400" height="16" align="center" colspan="2" cellpadding="3"><font face="verdana">'''Tyrannian Random Event!!!'''</font>| custom = <td bgcolor="{{{color}}}" width="400" height="16" align="center" colspan="2" cellpadding="3"><font face="verdana">'''{{{title}}}'''</font>| normal = <td bgcolor="#FFFFCC" width="400" height="16" align="center" colspan="2" cellpadding="3"><font face="verdana">'''Something has happened!'''</font>| #default = <td bgcolor="#FFFFCC" width="400" height="16" align="center" colspan="2" cellpadding="3"><font face="verdana">'''Something has happened!'''</font>}}</td></tr></table>
{{#switch: {{{type}}}| winter = <td bgcolor="#ccccff" width="400" height="16" align="center" colspan="2" cellpadding="3"><font face="verdana">'''Winter Random Event!!!'''</font>| tyrannian = <td bgcolor="#be793f" width="400" height="16" align="center" colspan="2" cellpadding="3"><font face="verdana">'''Tyrannian Random Event!!!'''</font>| custom = <td bgcolor="{{{color}}}" width="400" height="16" align="center" colspan="2" cellpadding="3"><font face="verdana">'''{{{title}}}'''</font>| normal = <td bgcolor="#FFFFCC" width="400" height="16" align="center" colspan="2" cellpadding="3"><font face="verdana">'''Something has happened!'''</font>| #default = <td bgcolor="#FFFFCC" width="400" height="16" align="center" colspan="2" cellpadding="3"><font face="verdana">'''Something has happened!'''</font>}}</td></tr></table>
<table align="center" width="400"><tr>
<table align="center" width="400"><tr>
{{#switch: {{{imagetype}}}| double = <td width="85"><div style="border: 1px solid #000;">{{{img}}}</div><td width="85"><<div style="border: 1px solid #000;">{{{img2}}}</div></td>
{{#switch: {{{imagetype}}}| double = <td width="85"><div style="border: 1px solid #000;">{{{img}}}</div><td width="85"><div style="border: 1px solid #000;">{{{img2}}}</div></td>
<td width="230"> <font face="verdana">{{{text}}}</font></td>| avatar = <td width="50">{{{img}}}</td>
<td width="230"> <font face="verdana">{{{text}}}</font></td>| avatar = <td width="50">{{{img}}}</td>
<td width="350"> <font face="verdana">{{{text}}}</font></td>| normal = <td width="80" ><div style="border: 1px solid #000;">{{{img}}}</div></td>
<td width="350"> <font face="verdana">{{{text}}}</font></td>| normal = <td width="80" ><div style="border: 1px solid #000;">{{{img}}}</div></td>
Line 35: Line 35:


{{RandomEvent|stack=yes|img=http://images.neopets.com/events/slothAvatar.gif|text=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!|img2=http://images.neopets.com/events/slothAvatar.gif|text2=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!}}
{{RandomEvent|stack=yes|img=http://images.neopets.com/events/slothAvatar.gif|text=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!|img2=http://images.neopets.com/events/slothAvatar.gif|text2=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!}}
{{RandomEvent|type=winter|img=http://images.neopets.com/events/slothAvatar.gif|text=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!}}
{{RandomEvent|type=tyrannian|img=http://images.neopets.com/events/slothAvatar.gif|text=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!}}
{{RandomEvent|type=custom|color=#88D397|title=Something else happened!|img=http://images.neopets.com/events/slothAvatar.gif|text=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!}}
{{RandomEvent|imagetype=avatar|img=http://images.neopets.com/neoboards/avatars/sloth.gif|text=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!}}


<center>---</center>
<center>---</center>

Revision as of 03:19, 19 March 2014

Purpose:

To display easily Random Events.

---

Use:

{{RandomEvent|img=Image|text=Text}}

  • img:
    • The Random Event's associated image is placed here. This image should always be 80x80, no more and no less. Image can be on wiki, and displayed as [[File:Example_Image.png]], or linked to from Neopets.com by simply placing a URL such as "http://images.neopets.com/events/easter_bunny.gif" (No quotes).
  • text:
    • The text for the random events goes here, such as:
      The Easter Cybunny gives you an Easter Negg!! Cool!
    • You'll need to use HTML terms like <b></b> for bolding, <i></i> for italics, <u></u> for underlining, and <slash></slash> for slashing through text.
---

Example:

{{{BGImage}}}
{{{Text}}}
Shh.png
{{{Image}}}
{{{BGImage}}}
{{{Text}}}
Shh.png
{{{Image}}}
{{{BGImage}}}
{{{Text}}}
Shh.png
{{{Image}}}
{{{BGImage}}}
{{{Text}}}
Shh.png
{{{Image}}}
{{{BGImage}}}
{{{Text}}}
Shh.png
{{{Image}}}
{{{BGImage}}}
{{{Text}}}
Shh.png
{{{Image}}}
{{{BGImage}}}
{{{Text}}}
Shh.png
{{{Image}}}
---
>Pages that use this template<