Latest Neocron News and Information

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

Difference between revisions of "Template:Nft/doc"

From Neocron Wiki
Jump to: navigation, search
m (New page: <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 o...)
 
 
(5 intermediate revisions by 2 users not shown)
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. Overlay is an '''optional''' argument.
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>
 
<nowiki>
 
{{nft
 
{{nft
 
|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)''
+
|size=''width of thumb in pixels - do not add px at the end''
 
|Overlay=''Text to hover on mouse over''
 
|Overlay=''Text to hover on mouse over''
 
|Caption=''Caption text''
 
|Caption=''Caption text''
Line 16: Line 15:
 
|align=right
 
|align=right
 
|file=New.png
 
|file=New.png
|size=180px
+
|size=180
 
|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>
 
{{nft
 
{{nft
 
|align=right
 
|align=right
 
|file=New.png
 
|file=New.png
|size=120px
+
|size=120
 
|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>
 
{{nft
 
{{nft
 
|align=right
 
|align=right
 
|file=New.png
 
|file=New.png
|size=200px
+
|size=200
 
|overlay=Neocron Wiki Logo
 
|overlay=Neocron Wiki Logo
 
|caption=This is the Neocron Wiki Logo
 
|caption=This is the Neocron Wiki Logo
Line 49: Line 50:
 
</div>
 
</div>
 
</nowiki>
 
</nowiki>
</noinclude>
 

Latest revision as of 20:34, 29 September 2012

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>