Difference between revisions of "Template:Currency"

From eRepublik Official Wiki
Jump to: navigation, search
m (Undo revision 374851 by Jan Baykara (Talk))
 
m (small corrections)
Line 1: Line 1:
<includeonly>{{Nowrap|1=[[File:{{Currency/Switch|{{{1}}}}}|16px]] '''{{#if: {{{2|}}}|{{{2}}}&nbsp;}}{{L|{{Currency/Switch2|{{{1}}}}}|<font color="blue">{{{1|GOLD}}}</font>}}'''}}</includeonly>
+
<includeonly>{{Nowrap|1=[[File:{{Currency/Switch|{{{1}}}}}|16px]] '''{{#if: {{{2|}}}|{{{2}}}&nbsp;}}{{L|{{Currency/Switch2|{{{1}}}}}|<font color="blue">{{{1|GOLD}}}</font>}}'''}}</includeonly><noinclude>This is the '''Currency template'''. It is intended to serve as a graphical aid for tutorials. It will produce the flag of the [[currency]] entered with a link to the currency's respective country. If an amount is specified, then it will be shown as well. The text of the template will not wrap around at the end of a line.
 
+
<noinclude>This is the '''Currency template'''. It is intended to serve as a graphical aid for tutorials. It will produce the flag of the [[currency]] entered with a link to the currency's respective country. If an amount is specified, then it will be shown as well. The text of the template will not wrap around at the end of a line.
+
  
 
Writing {{Pre|code=yes|<nowiki>{{Currency|PKR|20}}</nowiki>}} will produce {{Currency|PKR|20}} . If no currency is specified, the template will default to {{Currency}} .
 
Writing {{Pre|code=yes|<nowiki>{{Currency|PKR|20}}</nowiki>}} will produce {{Currency|PKR|20}} . If no currency is specified, the template will default to {{Currency}} .
  
 
[[Gold]] is also included with this template. If you write {{Pre|code=yes|<nowiki>{{Currency|Gold|5}}</nowiki>}}, the template will produce {{Currency|Gold|5}}.
 
[[Gold]] is also included with this template. If you write {{Pre|code=yes|<nowiki>{{Currency|Gold|5}}</nowiki>}}, the template will produce {{Currency|Gold|5}}.
 
  
 
[[Category:Graphical Aid Templates|Currency]]</noinclude>
 
[[Category:Graphical Aid Templates|Currency]]</noinclude>

Revision as of 02:23, 13 August 2015

This is the Currency template. It is intended to serve as a graphical aid for tutorials. It will produce the flag of the currency entered with a link to the currency's respective country. If an amount is specified, then it will be shown as well. The text of the template will not wrap around at the end of a line.

Writing {{Currency|PKR|20}} will produce Flag-Pakistan.jpg 20 PKR . If no currency is specified, the template will default to Icon - Gold.gif Gold .

Gold is also included with this template. If you write {{Currency|Gold|5}}, the template will produce Icon - Gold.gifGold.