mNo edit summary |
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
A minimalist helper template to quickly create a "ic" (Iron Coin).
Standard Usage
{{ic}} | |
---|---|
{{ic|1}} | 1 |
{{ic|5}} | 5 |
Multiple coins
If you want to create a price with multiple type coins, please insert a single non-breaking space ( ) between each coin:
{{gc|5}} {{sc|50}} | 5 50 |
---|
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 | |
1 | 1 Iron Coin |
5 | 5 Iron Coins |
See Also
- template:pc: Platinum Coin.
- template:gc: Gold Coin.
- template:sc: Silver Coin.
- template:cc: Copper Coin.
- template:ic: Iron Coin