Difference between revisions of "Template:RandomEventOld"
(So enter does save edits..? It's utterly impossible to get this working with Wiki code, next HTML.) |
m (Fixing broken templates) |
||
(39 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| align="center" width="400"> | <includeonly><table align="center" width="400" height="16"> | ||
|- | <tr> | ||
| bgcolor="#FFFFCC" width="400" align="center" colspan="2" cellpadding="3" |< | {{#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> | ||
| width="80" | {{#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"> <span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;'>{{{text}}}</span></td>| avatar = <td width="50">{{{img}}}</td> | |||
<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="*"><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 == | |||
Use: | Use varies on the Random Event type: | ||
=== Standard === | |||
*img: | <code><nowiki>{{RandomEvent</nowiki>|'''img'''=|'''text'''=}}</code> | ||
*'''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>. | ||
{{RandomEventOld|img=http://images.neopets.com/events/slothAvatar.gif|text=Dr. Sloth has deemed you worthy of using his image on the NeoBoards!}} | |||
=== 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]]'''!}} | ||
<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.
- The text for the random events goes here, such as:
Something has happened! |
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.
- The text for the random events goes here, such as:
Winter Random Event!!! |
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.
- The text for the random events goes here, such as:
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.
- The text for the random events goes here, such as:
Something else happened! |
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.
- The text for the random event's first section goes here, such as:
- 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! | |
You hit the lottery!!! You won 500 NPs. | |
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.
- The text for the random event's first section goes here, such as:
- img2:
- The second image for Random Event, same terms as Image1.
Something has happened! |
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.
- The text for the random event's first section goes here, such as:
Something has happened! |
You are now eligible to use 'TCG - Return of Dr. Sloth Champion' as an avatar on the NeoBoards! |