Editing Template:RandomEventOld

Jump to navigation Jump to search
You are not currently logged in. This edit will be associated with your IP address in the page's edit history.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<includeonly><table align="center" width="400" height="16">
<includeonly>{| align="center" width="400">
<tr>
|-
{{#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>
| bgcolor="#ffffcc" width="400" align="center" colspan="2" cellpadding="3" |<font face="verdana">'''Something Has Happened!'''</font>
<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>
| width="80" border="1px solid #000" |<div style="border: 1px solid #000;">{{{1}}}</div>
<td width="230"> <span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>{{{text}}}</span></td>| avatar = <td width="50">{{{img}}}</td>
| width="320" | <font face="verdana">{{{2}}}</font>
<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>
|}</includeonly><noinclude>Purpose:
<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>
 
== Purpose ==


To display easily [[Random Event]]s.
To display easily [[Random Event]]s.


== Use ==
<center>---</center>


Use varies on the Random Event type:
Use:


=== Standard ===
<code><nowiki>{{RandomEvent|1=Image|2=Text}}</nowiki></code>


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


<center>---</center>


{{RandomEventOld|img=http://images.neopets.com/events/slothAvatar.gif|text=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!}}
Example:
 
=== Winter ===
 
<code><nowiki>{{RandomEvent</nowiki>|'''type'''=|'''img'''=|'''text'''=}}</code>
 
*'''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 <u>always</u> be 80x80, no more and no less. Image can be on wiki, and displayed as '''<nowiki>[[File:Example_Image.png]]</nowiki>''', or linked to from Neopets.com by simply placing a URL such as "<nowiki>http://images.neopets.com/events/easter_bunny.gif</nowiki>" (No quotes).
 
*'''text''':
**The text for the random events goes here, such as:<br>The Easter Cybunny gives you an Easter Negg!! Cool!
**You'll need to use HTML terms like <nowiki><b></b> for bolding, <i></i> for italics, <u></u> for underlining, and <slash></slash> for slashing through text</nowiki>.
 
 
{{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 ===
 
<code><nowiki>{{RandomEvent</nowiki>|'''type'''=|'''img'''=|'''text'''=}}</code>
 
*'''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 <u>always</u> be 80x80, no more and no less. Image can be on wiki, and displayed as '''<nowiki>[[File:Example_Image.png]]</nowiki>''', or linked to from Neopets.com by simply placing a URL such as "<nowiki>http://images.neopets.com/events/easter_bunny.gif</nowiki>" (No quotes).
 
*'''text''':
**The text for the random events goes here, such as:<br>The Easter Cybunny gives you an Easter Negg!! Cool!
**You'll need to use HTML terms like <nowiki><b></b> for bolding, <i></i> for italics, <u></u> for underlining, and <slash></slash> for slashing through text</nowiki>.
 
=== Custom ===
 
<code><nowiki>{{RandomEvent</nowiki>|'''type'''=|'''color'''=|'''title'''=|'''img'''=|'''text'''=}}</code>
 
*'''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 <u>always</u> be 80x80, no more and no less. Image can be on wiki, and displayed as '''<nowiki>[[File:Example_Image.png]]</nowiki>''', or linked to from Neopets.com by simply placing a URL such as "<nowiki>http://images.neopets.com/events/easter_bunny.gif</nowiki>" (No quotes).
 
*'''text''':
**The text for the random events goes here, such as:<br>The Easter Cybunny gives you an Easter Negg!! Cool!
**You'll need to use HTML terms like <nowiki><b></b> for bolding, <i></i> for italics, <u></u> for underlining, and <slash></slash> for slashing through text</nowiki>.
 
 
{{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}}
 
 
=== Image Types ===
 
The following settings effect the style in which the '''image''' of the random event is displayed, can be used alongside the above types.
 
==== Stacked ====
 
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]].
 
<code><nowiki>{{RandomEvent</nowiki>|'''imagetype'''=stack|'''img'''=|'''text'''=|'''img2'''=|'''text2'''=}}</code>
 
*'''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 <u>always</u> be 80x80, no more and no less. Image can be on wiki, and displayed as '''<nowiki>[[File:Example_Image.png]]</nowiki>''', or linked to from Neopets.com by simply placing a URL such as "<nowiki>http://images.neopets.com/events/easter_bunny.gif</nowiki>" (No quotes).
 
*'''text''':
**The text for the random event's first section goes here, such as:<br>The Easter Cybunny gives you an Easter Negg!! Cool!
**You'll need to use HTML terms like <nowiki><b></b> for bolding, <i></i> for italics, <u></u> for underlining, and <slash></slash> for slashing through text</nowiki>.
 
*'''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.
 
 
{{RandomEventStack|1=http://images.neopets.com/events/lotteryman.gif|2=You hit the lottery!!! You won <b>500 NPs</b>.|3=http://images.neopets.com/items/food_aisha_cocoa.gif|4=You also won a <b>Aisha Hot Chocolate</b>.}}
 
==== Double-image ====
 
For displaying two images in one random event:
 
<code><nowiki>{{RandomEvent</nowiki>|'''imagetype'''=double|'''img'''=|'''img2'''=|'''text'''=}}</code>
 
*'''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 <u>always</u> be 80x80, no more and no less. Image can be on wiki, and displayed as '''<nowiki>[[File:Example_Image.png]]</nowiki>''', or linked to from Neopets.com by simply placing a URL such as "<nowiki>http://images.neopets.com/events/easter_bunny.gif</nowiki>" (No quotes).
 
*'''text''':
**The text for the random event's first section goes here, such as:<br>The Easter Cybunny gives you an Easter Negg!! Cool!
**You'll need to use HTML terms like <nowiki><b></b> for bolding, <i></i> for italics, <u></u> for underlining, and <slash></slash> for slashing through text</nowiki>.
 
*'''img2''':
**The second image for Random Event, same terms as Image1.
 
 
{{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 ====
 
For displaying Random events in which you win an avatar:
 
<code><nowiki>{{RandomEvent</nowiki>|'''imagetype'''=avatar|'''img'''=|'''text'''=}}</code>
 
*'''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 <u>always</u> be 50x50, no more and no less. Image can be on wiki, and displayed as '''<nowiki>[[File:Example_Image.png]]</nowiki>''', or linked to from Neopets.com by simply placing a URL such as "<nowiki>http://images.neopets.com/neoboards/avatars/superpea.gif</nowiki>" (No quotes).
 
*'''text''':
**The text for the random event's first section goes here, such as:<br>ou are now eligible to use '<b>Super Attack Pea</b>' as an avatar on the '''[[NeoBoards]]'''!
**You'll need to use HTML terms like <nowiki><b></b> for bolding, <i></i> for italics, <u></u> for underlining, and <slash></slash> for slashing through text</nowiki>.
 


{{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]]'''!}}
{{RandomEvent|1=http://images.neopets.com/events/slothAvatar.gif|2=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!}}


<center>---</center>
<center>---</center>
Line 160: Line 31:
{{WhatLinksHere|prefix=Template:|type=template}}
{{WhatLinksHere|prefix=Template:|type=template}}


[[Category:Templates/Media]]</noinclude>
[[Category:Tyrannia]][[Category:Templates/Media]]</noinclude>

Please note that all contributions to NeoDex may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here. You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see NeoDex:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)