19,799
edits
m (can simplify it a little more :)) |
(Added parameter to allow the card to be scaled in cases where item gifts run off the card, due to limitations with template made exclusively with div tags.) |
||
Line 1: | Line 1: | ||
<div style="background: #FAF3DD; {{roundy|5px}}; border: 5px solid #746C64; width: 320px; height: | <div style="background: #FAF3DD; {{roundy|5px}}; border: 5px solid #746C64; width: 320px; height: {{{h|190}}}px"> | ||
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundybr}}; float: left"></div> | <div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundybr}}; float: left"></div> | ||
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundybl}}; float: right | <div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundybl}}; float: right"></div> | ||
<div style="background: #394D68; text-align: center; color: #FAF3DD; {{roundy|2px}}; margin-top: 11px">{{{title| }}}</div> | <div style="background: #394D68; text-align: center; color: #FAF3DD; {{roundy|2px}}; margin-top: 11px">{{{title| }}}</div> | ||
<div style="height: | <div style="height: {{#expr:{{{h|190}}}-60}}px; color: #394D68; display: table; padding:10px; background: #FAF3DD">{{#tag:ab|{{{msg|}}}}}</div> | ||
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundytr}}; float: left"></div> | <div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundytr}}; float: left"></div> | ||
<div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundytl}}; float: right | <div style="position: relative; background: #746C64; height: 10px; width: 10px; {{roundytl}}; float: right"></div> | ||
</div><noinclude>[[Category:Event templates]][[Category:Table templates]]</noinclude> | </div><noinclude>[[Category:Event templates]][[Category:Table templates]]</noinclude> |