Latest Neocron News and Information
- New test server patch #563 has been released to Vedeena
Difference between revisions of "Template:Nft"
From Neocron Wiki
m |
m |
||
Line 39: | Line 39: | ||
− | <div style=" | + | <div style="align:{{{align}}};"> |
<div class="thumbinner" style="width: 182px;"> | <div class="thumbinner" style="width: 182px;"> | ||
<div class="thumbimage">[[Image:{{{File}}}|180px|{{{Overlay}}}]]</div> | <div class="thumbimage">[[Image:{{{File}}}|180px|{{{Overlay}}}]]</div> |
Revision as of 23:08, 27 March 2008
This is a template to allow the use of thumb based pictures within a non floating environment. It can be called using the {{nft}} command on the page, a list of the arguments required to make the template work will be supplied below.
Thumb width = 180px
div.thumbinner {main.css (line 427) background-color:#606060; border:1px solid #00446A; font-size:94%; overflow:hidden; padding:3px !important; text-align:center; }
<div class="thumbinner" align="{{{align}}}"> <table width="184px"> <tr style="border:1px solid #00446A;">[[Image:{{{File}}}|180px|{{{Overlay}}}]]</tr> <tr>{{{Caption}}}</tr> </table> </div> div.tright {main.css (line 458) border:1px solid #00446A; clear:right; float:right; }
[[Image:{{{File}}}|180px|{{{Overlay}}}]]