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
(Template fix applied)
m
Line 1: Line 1:
<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.
 
<nowiki>
 
{{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''
 
}}
 
</nowiki>
 
<table width="600" align="center">
 
<tr>
 
<td>
 
{{nft
 
|align=right
 
|file=New.png
 
|size=180px
 
|overlay=Neocron Wiki Logo
 
|caption=This is the Neocron Wiki Logo
 
}}
 
</td><td>
 
{{nft
 
|align=right
 
|file=New.png
 
|size=120px
 
|overlay=Neocron Wiki Logo
 
|caption=This is the [[Neocron]] Wiki Logo
 
}}
 
</td><td>
 
{{nft
 
|align=right
 
|file=New.png
 
|size=200px
 
|overlay=Neocron Wiki Logo
 
|caption=This is the Neocron Wiki Logo
 
}}
 
</td></tr></table>
 
<nowiki>
 
<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>
 
</nowiki>
 
</noinclude>
 
 
<div style="align:{{{align}}}; border:2px solid #00446A;width:{{ #expr: 10 + {{{size}}} }}px">
 
<div style="align:{{{align}}}; border:2px solid #00446A;width:{{ #expr: 10 + {{{size}}} }}px">
 
<div class="thumbinner">
 
<div class="thumbinner">
Line 59: Line 8:
 
{{{caption}}}
 
{{{caption}}}
 
</div>
 
</div>
</div>
+
</div><noinclude>
 +
{{Documentation}}
 +
</noinclude>

Revision as of 23:04, 12 June 2008

<div style="align:{{{align}}}; border:2px solid #00446A;width:Expression error: Unrecognized punctuation character "{".px">

[[Image:{{{file}}}|{{{size}}}px|{{{overlay}}}]]

Magnify-clip.png

{{{caption}}}

Template-info.pngTemplate Documentation[edit]

This documentation is transcluded from Template:Nft/doc. (edit | history)
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. Overlay is an optional argument. {{nft |align=''Alignment of the thumb'' |File=''Filename for the image (as uploaded to the wiki)'' |size=''width of thumb in pixels - do not add px at the end'' |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>