Difference between revisions of "Template:RandomEventNew"

From NeoDex
Jump to navigation Jump to search
Line 3: Line 3:
{{#switch: {{{type}}}| obelisk = <br><br>
{{#switch: {{{type}}}| obelisk = <br><br>
<center>
<center>
<span style="position: absolute; left: 0px; top: 80px;">http://images.neopets.com/shh/bg/tyrannia.jpg</span><span style="position: absolute; left: 0px; top: 45px;">[[File:Shh_obelisk.png|link=]]</span><span style="width: 540px; height: 140px; overflow: hidden; display: table-cell; vertical-align: middle; padding-left: 250px; position: absolute; left: 0px; top: 85px;"><span style="padding-top: 35px; display: inline-block">{{{text}}}</span></span><br><br><br><br>
<span width="804px" height="150px"><span style="position: absolute; left: 0px; top: 80px;">http://images.neopets.com/shh/bg/tyrannia.jpg</span><span style="position: absolute; left: 0px; top: 45px;">[[File:Shh_obelisk.png|link=]]</span><span style="width: 540px; height: 140px; overflow: hidden; display: table-cell; vertical-align: middle; padding-left: 250px; position: absolute; left: 0px; top: 85px;"><span style="padding-top: 35px; display: inline-block">{{{text}}}</span></span><br><br><br><br>
</center>| static = <center>
</span></center>| static = <center>
<span style="position: absolute; left: 0px; top: 60px;">http://images.neopets.com/shh/bg/32fh849i.jpg</span><span style="position: absolute; left: 0px; top: 45px;">http://images.neopets.com/shh/txt/shh.png</span><span style="width: 540px; height: 140px; overflow: hidden; display: table-cell; vertical-align: middle; padding-left: 250px; position: absolute; left: 0px; top: 85px;"><span style="padding-top: 35px; display: inline-block">{{{text}}}</span></span><br><br><br><br>
<span width="804px" height="150px">
<span style="position: absolute; left: 0px; top: 60px;">http://images.neopets.com/shh/bg/32fh849i.jpg</span><span style="position: absolute; left: 0px; top: 45px;">http://images.neopets.com/shh/txt/shh.png</span><span style="width: 540px; height: 140px; overflow: hidden; display: table-cell; vertical-align: middle; padding-left: 250px; position: absolute; left: 0px; top: 85px;"><span style="padding-top: 35px; display: inline-block">{{{text}}}</span></span></span><br><br><br><br>
</center>}}
</center>}}



Revision as of 19:38, 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







tyrannia.jpgShh obelisk.png1





32fh849i.jpgshh.png2




---
>Pages that use this template<