Antiaris Mod Wiki
Tymon80 (talk | contribs)
mNo edit summary
Tymon80 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
<includeonly><span data-info="{{#expr:{{{1|1}}}*1000000}}" {{#if:{{{1|}}}|style="white-space:nowrap" <nowiki />}}title="{{#if:{{{1|}}}|{{{1|}}} <nowiki />}}Iron Coin{{#ifeq:{{{1|1}}}|1||s}}">{{#if:{{{1|}}}|{{{1|}}} <nowiki />}}[[File:Iron Coin.png|22px|link=Iron Coin|alt=Iron Coin]]</span></includeonly><noinclude>
+
<includeonly><span data-info="{{#expr:{{{1|1}}}*1000000}}" {{#if:{{{1|}}}|style="white-space:nowrap" <nowiki />}}title="{{#if:{{{1|}}}|{{{1|}}} <nowiki />}}Iron Coin{{#ifeq:{{{1|1}}}|1||s}}">{{#if:{{{1|}}}|{{{1|}}} <nowiki />}}[[File:Iron Coin.png|22px|link=Iron Coin|alt=Iron Coin]]</span></includeonly><noinclude>{{doc}}</noinclude>
A minimalist helper template to quickly create a "ic" ('''I'''ron '''C'''oin).
 
 
== Standard Usage ==
 
{| class="terraria"
 
!<nowiki>{{ic}}</nowiki>
 
|{{ic}}
 
|-
 
!<nowiki>{{ic|1}}</nowiki>
 
|{{ic|1}}
 
|-
 
!<nowiki>{{ic|5}}</nowiki>
 
|{{ic|5}}
 
|}
 
 
== Without a parameter ==
 
Using the template without any parameters will simply generate a Iron Coin, without anything other text.
 
 
== Render and link ==
 
*The ic template will not generate a link, and will not be linkable (neither the text, nor the medal).
 
*However, mousing over the template will create a '''hover text''' with the full English rendering, for readability:
 
{| class="terraria"
 
! {{ic}}
 
| Iron Coin
 
|-
 
! {{ic|1}}
 
| 1 Iron Coin
 
|-
 
! {{ic|5}}
 
| 5 Iron Coins
 
|}
 
 
[[Category:Shortcut templates]]
 
</noinclude>
 

Latest revision as of 17:38, 23 January 2019

Template-info Documentation The documentation below is transcluded from Template:Ic/doc. (edit | history)

A minimalist helper template to quickly create a "ic" (Iron Coin).

Standard Usage

{{ic}} Iron Coin
{{ic|1}} 1 Iron Coin
{{ic|5}} 5 Iron Coin

Multiple coins

If you want to create a price with multiple type coins, please insert a single non-breaking space ( &nbsp; ) between each coin:

{{gc|5}}&nbsp;{{sc|50}} 5 Gold Coin 50 Silver Coin

Without a parameter

Using the template without any parameters will simply generate a Iron Coin, without anything other text.

Render and link

  • The ic template will not generate a link, and will not be linkable (neither the text, nor the coin).
  • However, mousing over the template will create a hover text with the full English rendering, for readability:
Iron Coin Iron Coin
1 Iron Coin 1 Iron Coin
5 Iron Coin 5 Iron Coins

See Also