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 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | 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. | + | This is a template to allow the use of thumb based pictures within a non floating environment. It can be called using the <nowiki>{{nft}}</nowiki> command on the page, a list of the arguments required to make the template work will be supplied below. |
Line 20: | Line 20: | ||
|Caption=This is the Neocron Wiki Logo | |Caption=This is the Neocron Wiki Logo | ||
}} | }} | ||
− | + | <nowiki> | |
<div class="thumbinner" align="{{{align}}}"> | <div class="thumbinner" align="{{{align}}}"> | ||
<table width="184px"> | <table width="184px"> | ||
Line 28: | Line 28: | ||
</div> | </div> | ||
+ | div.tright {main.css (line 458) | ||
+ | border:1px solid #00446A; | ||
+ | clear:right; | ||
+ | float:right; | ||
+ | } | ||
+ | </nowiki> | ||
</noinclude> | </noinclude> | ||
− | <div | + | |
+ | |||
+ | <div style="clear:{{{align}}}; float:{{{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> | ||
<div class="thumbcaption"> | <div class="thumbcaption"> | ||
<div class="magnify" style="float: right;"> | <div class="magnify" style="float: right;"> | ||
− | + | [[Image:Magnify-clip.png|15px]] | |
− | |||
− | |||
</div> | </div> | ||
− | + | {{{Caption}}} | |
</div> | </div> | ||
</div> | </div> |
Revision as of 23:07, 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}}}]]