Difference between revisions of "Template:Gil"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m (Fix excessive newlines)
m (Protected "Template:Gil" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[File:gilicon.png|link=Gil|20px|Gil]] {{{1}}}</includeonly>
<includeonly><span style="position:relative; bottom:2px;">[[File:Gil.png|{{{size|20}}}px|link=Gil|Gil]]</span>{{#if:{{{1|}}}|&nbsp;{{formatnum:{{{1}}}}}{{#if:{{{2|}}}|-{{formatnum:{{{2}}}}}}}|}}</includeonly><noinclude>
<noinclude>
== Usage ==
== Usage ==
<pre>
<pre>
{{Gil|<amount of Gil to display>}}
{{Gil|<amount of Gil to display>|<optional max value>}}
</pre>
</pre>


Example: <code><nowiki>{{Gil|100}}</nowiki></code> will display {{Gil|100}}.
== Parameters ==
; size
: Optional. Icon size. Defaults to 20px.
 
== Examples ==
<pre>{{Gil|5000}}</pre>
{{Gil|5000}}
 
<pre>{{Gil|5000|10000}}</pre>
{{Gil|5000|10000}}
[[Category:Currency icon templates|Gil]]
</noinclude>
</noinclude>

Latest revision as of 14:10, 31 August 2018

Usage

{{Gil|<amount of Gil to display>|<optional max value>}}

Parameters

size
Optional. Icon size. Defaults to 20px.

Examples

{{Gil|5000}}

Gil 5,000

{{Gil|5000|10000}}

Gil 5,000-10,000