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 5: Line 5:
 
|align=''Alignment of the thumb''
 
|align=''Alignment of the thumb''
 
|File=''Filename for the image (as uploaded to the wiki)''
 
|File=''Filename for the image (as uploaded to the wiki)''
 +
|size=''width of thumb (px)''
 
|Overlay=''Text to hover on mouse over''
 
|Overlay=''Text to hover on mouse over''
 
|Caption=''Caption text''
 
|Caption=''Caption text''
Line 14: Line 15:
 
{{nft
 
{{nft
 
|align=right
 
|align=right
|File=New.png
+
|file=New.png
|Overlay=Neocron Wiki Logo
+
|size=180px
|Caption=This is the Neocron Wiki Logo
+
|overlay=Neocron Wiki Logo
 +
|caption=This is the Neocron Wiki Logo
 
}}
 
}}
 
</td><td>
 
</td><td>
 
{{nft
 
{{nft
 
|align=right
 
|align=right
|File=New.png
+
|file=New.png
|Overlay=Neocron Wiki Logo
+
|size=120px
|Caption=This is the [[Neocron]] Wiki Logo
+
|overlay=Neocron Wiki Logo
 +
|caption=This is the [[Neocron]] Wiki Logo
 
}}
 
}}
 
</td><td>
 
</td><td>
 
{{nft
 
{{nft
 
|align=right
 
|align=right
|File=New.png
+
|file=New.png
|Overlay=Neocron Wiki Logo
+
|size=200px
|Caption=This is the Neocron Wiki Logo
+
|overlay=Neocron Wiki Logo
 +
|caption=This is the Neocron Wiki Logo
 
}}
 
}}
 
</td></tr></table>
 
</td></tr></table>
Line 47: Line 51:
 
</noinclude>
 
</noinclude>
 
<div style="align:{{{align}}};">
 
<div style="align:{{{align}}};">
<div class="thumbinner" style="width: 182px;">
+
<div class="thumbinner">
<div class="thumbimage">[[Image:{{{File}}}|180px|{{{Overlay}}}]]</div>
+
<div class="thumbimage">[[Image:{{{file}}}|{{{size}}}px|{{{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]]
 
[[Image:Magnify-clip.png|15px]]
 
</div>
 
</div>
{{{Caption}}}
+
{{{caption}}}
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 23:17, 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)'' |size=''width of thumb (px)'' |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}}}|{{{size}}}px|{{{overlay}}}]]

Magnify-clip.png

{{{caption}}}