Difference between revisions of "Template:RandomEventOld"

From NeoDex
Jump to navigation Jump to search
m (Reverted edits by 123.164.148.134 (talk) to last revision by Macbeth)
(We should start logging random events in the midst of the "increased chance" of them occurring. I'll start a list soon, please contribute.)
Line 1: Line 1:
{| style="font-family: Verdana, sans-serif; width: 400px; border: 0; margin: 0 auto;" cellpadding="3" cellspacing="0"
<includeonly>{| align="center" width="400">
|-
|-
|colspan="2" style="background-color:#ffffcc;color:#000000;text-align: center;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:9pt;"|'''Something Has Happened!'''
| bgcolor="#ffffcc" width="400" align="center" colspan="2" cellpadding="3" |'''Something Has Happened!'''
|-
|-
|style="width: 80px;" class="giveborder"|{{{1}}}
| width="80" border="1px solid #000" |<div style="border: 1px solid #000;">{{{1}}}</div>
|style="font-family:Verdana,Arial,Helvetica,sans-serif;text-align:left;font-size:9pt;"|{{{2}}}
| width="320" | {{{2}}}
|-
|}</includeonly><noinclude>Purpose:
|}
 
To display easily [[Random Event]]s.
 
<center>---</center>
 
 
Use:
 
<code><nowiki>{{RandomEvent|1=Image|2=Text}}</nowiki></code>
 
*Image:
**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>.
 
<center>---</center>
 
Example:
 
{{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>
 
{{WhatLinksHere|prefix=Template:|type=template}}
 
[[Category:Tyrannia]][[Category:Templates/Media]]</noinclude>

Revision as of 19:53, 18 March 2014

Purpose:

To display easily Random Events.

---


Use:

{{RandomEvent|1=Image|2=Text}}

  • Image:
    • 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}}}
---
>Pages that use this template<