Difference between revisions of "Template:Nft"

From Neocron Wiki
Jump to: navigation, search
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 class="thumb tright">
+
 
 +
 
 +
<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;">
<a class="internal" title="Enlarge" href="/Image:SmallDatabaseLlink.jpg">
+
[[Image:Magnify-clip.png|15px]]
<img width="15" height="11" alt="" src="/skins/common/images/magnify-clip.png"/>
 
</a>
 
 
</div>
 
</div>
Small Database Link
+
{{{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; }



Neocron Wiki Logo

Magnify-clip.png

This is the Neocron Wiki Logo

<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}}}]]

Magnify-clip.png

{{{Caption}}}