Latest Neocron News and Information

  • New test server patch #563 has been released to Vedeena

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 <nowiki>{{nft}}</nowiki> 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.
 
+
<nowiki>
 
+
{{nft
Thumb width = 180px
+
|align=''Alignment of the thumb''
 
+
|File=''Filename for the image (as uploaded to the wiki)''
div.thumbinner {main.css (line 427)
+
|Overlay=''Text to hover on mouse over''
background-color:#606060;
+
|Caption=''Caption text''
border:1px solid #00446A;
+
}}
font-size:94%;
+
</nowiki>
overflow:hidden;
 
padding:3px !important;
 
text-align:center;
 
}
 
 
<table width="600" align="center">
 
<table width="600" align="center">
 
<tr>
 
<tr>
Line 27: Line 23:
 
|File=New.png
 
|File=New.png
 
|Overlay=Neocron Wiki Logo
 
|Overlay=Neocron Wiki Logo
|Caption=This is the Neocron Wiki Logo
+
|Caption=This is the [[Neocron]] Wiki Logo
 
}}
 
}}
 
</td><td>
 
</td><td>
Line 38: Line 34:
 
</td></tr></table>
 
</td></tr></table>
 
<nowiki>
 
<nowiki>
<div class="thumbinner" align="{{{align}}}">
+
<div style="align:{{{align}}};">
<table width="184px">
+
<div class="thumbinner" style="width: 182px;">
  <tr style="border:1px solid #00446A;">[[Image:{{{File}}}|180px|{{{Overlay}}}]]</tr>
+
<div class="thumbimage">[[Image:{{{File}}}|180px|{{{Overlay}}}]]</div>
  <tr>{{{Caption}}}</tr>
+
<div class="thumbcaption">
</table>
+
<div class="magnify" style="float: right;">
 +
[[Image:Magnify-clip.png|15px]]
 +
</div>
 +
{{{Caption}}}
 +
</div>
 
</div>
 
</div>
 
div.tright {main.css (line 458)
 
border:1px solid #00446A;
 
clear:right;
 
float:right;
 
}
 
 
 
</nowiki>
 
</nowiki>
 
</noinclude>
 
</noinclude>
 
 
 
 
<div style="align:{{{align}}};">
 
<div style="align:{{{align}}};">
 
<div class="thumbinner" style="width: 182px;">
 
<div class="thumbinner" style="width: 182px;">

Revision as of 23:13, 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. {{nft |align=''Alignment of the thumb'' |File=''Filename for the image (as uploaded to the wiki)'' |Overlay=''Text to hover on mouse over'' |Caption=''Caption text'' }}

Neocron Wiki Logo

Magnify-clip.png

This is the Neocron Wiki Logo

Neocron Wiki Logo

Magnify-clip.png

This is the Neocron Wiki Logo

Neocron Wiki Logo

Magnify-clip.png

This is the Neocron Wiki Logo

<div style="align:{{{align}}};"> <div class="thumbinner" style="width: 182px;"> <div class="thumbimage">[[Image:{{{File}}}|180px|{{{Overlay}}}]]</div> <div class="thumbcaption"> <div class="magnify" style="float: right;"> [[Image:Magnify-clip.png|15px]] </div> {{{Caption}}} </div> </div>

[[Image:{{{File}}}|180px|{{{Overlay}}}]]

Magnify-clip.png

{{{Caption}}}