Difference between revisions of "Template:RandomEventNew"

From NeoDex
Jump to navigation Jump to search
(Created page with "<includeonly><span style="width: 804px; height: 150px; background: no-repeat; position: relative;">{{{img}}} <span style="width: 250px; height: 150px; background-repeat: no-...")
 
Line 1: Line 1:
<includeonly><span style="width: 804px; height: 150px; background: no-repeat; position: relative;">{{{img}}}
<includeonly><span style="width: 804px; height: 150px; background: no-repeat; position: relative;">{{{img}}}<span style="width: 250px; height: 150px; background-repeat: no-repeat; position: absolute; top: -65px; left: 0px;">{{REbg}}</span><span style="width: 540px; height: 140px; overflow: hidden; display: table-cell; vertical-align: middle; padding-left: 250px; position: absolute; top: -35px;"><span style="padding-top: 35px; display: inline-block;{{text}}</span></span><span style="width: 804px; height: 150px; background: no-repeat; position: relative; position: absolute; top: -65px; left: 0px;">http://images.neopets.com/shh/txt/shh.png</span></span></includeonly><noinclude>
<span style="width: 250px; height: 150px; background-repeat: no-repeat; position: absolute; top: -65px; left: 0px;">{{REbg}}</span>
<span style="width: 540px; height: 140px; overflow: hidden; display: table-cell; vertical-align: middle; padding-left: 250px; position: absolute; top: -35px;"><span style="padding-top: 35px; display: inline-block;{{text}}</span></span><span style="width: 804px; height: 150px; background: no-repeat; position: relative; position: absolute; top: -65px; left: 0px;">http://images.neopets.com/shh/txt/shh.png</span>
</span></includeonly><noinclude>


== Purpose ==
== Purpose ==


To display easily display "new" [[Random Event]] types.
To easily display "new" [[Random Event]] types.


== Use ==
<code><nowiki>{{RandomEventNew</nowiki>|'''img'''=|'''REbg'''=|'''text'''=}}
*'''img'''
*The random event's image URL. If there happens to be none, fill this section with "'''<nowiki>&nbsp;</nowiki>'''" (No quotes, no bolding)
*'''REbg'''
**The image URL for the events background, like [http://images.neopets.com/shh/bg/32fh849i.jpg <nowiki>http://images.neopets.com/shh/bg/32fh849i.jpg></nowiki>], for instance.
*'''text'''
**The random event's text.
== Example ==
{{RandomEventNew|img=&nbsp;|REbg=http://images.neopets.com/shh/bg/tyrannia.jpg|text=Ahh! <b>NOT ANOTHER WAR!</b> Run for your life, poor peasant! Ruuuunnnn!}}


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

Revision as of 16:43, 20 March 2014


Purpose

To easily display "new" Random Event types.

Use

{{RandomEventNew|img=|REbg=|text=}}

  • img
  • The random event's image URL. If there happens to be none, fill this section with " " (No quotes, no bolding)
  • text
    • The random event's text.

Example

 Template:REbg<span style="padding-top: 35px; display: inline-block;Template:Textshh.png

---
>Pages that use this template<