Difference between revisions of "Template:RandomEventOld"

From NeoDex
Jump to navigation Jump to search
m (Fixing broken templates)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><table align="center" width="400" height="16">
<includeonly><table align="center" width="400" height="16">
<tr>
<tr>
{{#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"><span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>'''Winter Random Event!!!'''</span>| tyrannian = <td bgcolor="#be793f" width="400" height="16" align="center" colspan="2" cellpadding="3"><span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>'''Tyrannian Random Event!!!'''</span>| custom = <td bgcolor="{{{color}}}" width="400" height="16" align="center" colspan="2" cellpadding="3"><span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>'''{{{title}}}'''</span>| normal = <td bgcolor="#FFFFCC" width="400" height="16" align="center" colspan="2" cellpadding="3"><span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>'''Something has happened!'''</span>| #default = <td bgcolor="#FFFFCC" width="400" height="16" align="center" colspan="2" cellpadding="3"><span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>'''Something has happened!'''</span>}}</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"> <span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>{{{text}}}</span></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 width="3"></td><td width="*"><font face="verdana">{{{text}}}</font><br></td>| #default = <td width="80"><div style="border: 1px solid #000;">{{{img}}}</div><td width="3"></td><td width="*"><font face="verdana">{{{text}}}</font><br></td>}}{{ #if: {{{stack|}}} | <tr>
<td width="350"> <span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>{{{text}}}</span></td>| normal = <td width="80"><div style="border: 1px solid #000;">{{{img}}}</div><td width="3"></td><td width="*"><span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>{{{text}}}</span><br></td>| #default = <td width="80"><div style="border: 1px solid #000;">{{{img}}}</div><td width="3"></td><td width="*"><span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>{{{text}}}</span><br></td>}}{{ #if: {{{stack|}}} | <tr>
<td width="80"><div style="border: 1px solid #000;">{{{img2}}}</div><td width="3"></td><td width="*"><font face="verdana">{{{text2}}}</font><br></td> }}
<td width="80"><div style="border: 1px solid #000;">{{{img2}}}</div><td width="3"></td><td width="*"><span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>{{{text2}}}</span><br></td> }}
</tr></table></includeonly><noinclude>
</tr></table></includeonly><noinclude>


Line 29: Line 29:




{{RandomEvent|img=http://images.neopets.com/events/slothAvatar.gif|text=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!}}
{{RandomEventOld|img=http://images.neopets.com/events/slothAvatar.gif|text=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!}}


=== Winter ===
=== Winter ===
Line 46: Line 46:




{{RandomEvent|type=winter|img=http://images.neopets.com/events/snow_faerie.gif|text=The Snow Faerie says <b>'I wonder whats at the top of the mountain...'</b>}}
{{RandomEventOld|type=winter|img=http://images.neopets.com/events/snow_faerie.gif|text=The Snow Faerie says <b>'I wonder whats at the top of the mountain...'</b>}}


=== Tyrannian ===
=== Tyrannian ===
Line 83: Line 83:




{{RandomEvent|type=custom|color=#88D397|title=Something else happened!|img=http://images.neopets.com/games/aaa/dailydare/2010/prize/nc-prize-bag.gif|text=Blah Blah Blah}}
{{RandomEventOld|type=custom|color=#88D397|title=Something else happened!|img=http://images.neopets.com/games/aaa/dailydare/2010/prize/nc-prize-bag.gif|text=Blah Blah Blah}}




Line 135: Line 135:




{{RandomEvent|imagetype=double|img=http://images.neopets.com/items/petpet_frowny.gif|img2=http://images.neopets.com/items/pets_smiley.gif|text=Sadness... Happiness... Plenty of mixed feelings. :( :)}}
{{RandomEventOld|imagetype=double|img=http://images.neopets.com/items/petpet_frowny.gif|img2=http://images.neopets.com/items/pets_smiley.gif|text=Sadness... Happiness... Plenty of mixed feelings. :( :)}}


==== Avatars ====
==== Avatars ====
Line 154: Line 154:




{{RandomEvent|imagetype=avatar|img=http://images.neopets.com/neoboards/avatars/rods_champion.gif|text=You are now eligible to use '<b>TCG - Return of Dr. Sloth Champion</b>' as an avatar on the '''[[NeoBoards]]'''!}}
{{RandomEventOld|imagetype=avatar|img=http://images.neopets.com/neoboards/avatars/rods_champion.gif|text=You are now eligible to use '<b>TCG - Return of Dr. Sloth Champion</b>' as an avatar on the '''[[NeoBoards]]'''!}}


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

Latest revision as of 01:03, 1 October 2014


Purpose[edit]

To display easily Random Events.

Use[edit]

Use varies on the Random Event type:

Standard[edit]

{{RandomEvent|img=|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.


Something has happened!
slothAvatar.gif
Dr. Sloth has deemed you worthy of using his image on the NeoBoards!

Winter[edit]

{{RandomEvent|type=|img=|text=}}

  • type:
    • This defines the type of event. If left empty, or if this section is absent, then the event will display as a normal event. In this case, you put winter in this section.
  • 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.


Winter Random Event!!!
snow_faerie.gif
The Snow Faerie says 'I wonder whats at the top of the mountain...'

Tyrannian[edit]

{{RandomEvent|type=|img=|text=}}

  • type:
    • This defines the type of event. If left empty, or if this section is absent, then the event will display as a normal event. In this case, you put tyrannian in this section.
  • 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.

Custom[edit]

{{RandomEvent|type=|color=|title=|img=|text=}}

  • type:
    • This defines the type of event. If left empty, or if this section is absent, then the event will display as a normal event. In this case, you put custom in this section.
  • color:
    • The background color of the "Something has happened!" bar. Should be written in hexidecimal like: #00ffcc
  • title:
    • The title for the "Something had happened!" bar. You can make it say anything you wish, as long as it fits.
  • 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.


Something else happened!
nc-prize-bag.gif
Blah Blah Blah


Image Types[edit]

The following settings effect the style in which the image of the random event is displayed, can be used alongside the above types.

Stacked[edit]

Allows two Random Event entries to appear in a Doubler-decker stye, with one right on top of the other. This presently pertains to special events used by the old version of the Premium Service.

{{RandomEvent|imagetype=stack|img=|text=|img2=|text2=}}

  • imagetype:
    • Allows you to define the way in which the image(s) are presented. In this case, you fill this section with stack.
  • img:
    • The Random Event's first 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 event's first section 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.
  • img2:
    • The image for the Random Event's second entry, same terms as Image1.
  • text2:
    • The image for the Random Event's second entry, same terms as Text2.


Something has happened!
lotteryman.gif
You hit the lottery!!! You won 500 NPs.
food_aisha_cocoa.gif
You also won a Aisha Hot Chocolate.

Double-image[edit]

For displaying two images in one random event:

{{RandomEvent|imagetype=double|img=|img2=|text=}}

  • imagetype:
    • Allows you to define the way in which the image(s) are presented. In this case, you fill this section with double.
  • img:
    • The Random Event's first 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 event's first section 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.
  • img2:
    • The second image for Random Event, same terms as Image1.


Something has happened!
petpet_frowny.gif
pets_smiley.gif
Sadness... Happiness... Plenty of mixed feelings. :( :)

Avatars[edit]

For displaying Random events in which you win an avatar:

{{RandomEvent|imagetype=avatar|img=|text=}}

  • imagetype:
    • Allows you to define the way in which the image(s) are presented. In this case, you fill this section with double.
  • img:
    • The Random Event's first image is placed here. This image should always be 50x50, 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/neoboards/avatars/superpea.gif" (No quotes).
  • text:
    • The text for the random event's first section goes here, such as:
      ou are now eligible to use 'Super Attack Pea' as an avatar on the NeoBoards!
    • 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.


Something has happened!
rods_champion.gif You are now eligible to use 'TCG - Return of Dr. Sloth Champion' as an avatar on the NeoBoards!
---
>Pages that use this template<