Template:Price: Difference between revisions
Template page
More actions
Content deleted Content added
Created page with "<includeonly> {{#if:{{{2}}}| {{#switch:{{{2}}} |#default=link=|{{{iconsize|22px}}} |Credits=link=|{{{iconsize|22px}}} |Cred=link=|{{{iconsize|22px}}} |Token=link=|{{{iconsize|22px}}} |Augment=link=|{{{iconsize|22px}}} |Assorted Seeds=File:Icon Loot Nature.png|link=|{{{iconsize|2..." |
No edit summary |
||
| Line 13: | Line 13: | ||
</includeonly> |
</includeonly> |
||
<noinclude> |
<noinclude> |
||
| ⚫ | |||
===Template:Price=== |
|||
'''Parameters:''' ''Amount'', ''Currency'', ''Icon size'' |
|||
'''Amount:''' Must be entered. |
|||
<br>'''Currency:''' Optional. (Default value: 'RaiderCredits') |
|||
<br> '''Icon size:''' Optional. (Default value: '22px') |
|||
===Example=== |
|||
| ⚫ | |||
<pre>{{Price|2,400}} |
|||
{{Price|2,400|RaiderCredits|iconsize=28px}} |
{{Price|2,400|RaiderCredits|iconsize=28px}} |
||
{{Price|70|Cred|iconsize=32px}} |
{{Price|70|Cred|iconsize=32px}} |
||
| Line 20: | Line 30: | ||
{{Price|10|Assorted Seeds}} |
{{Price|10|Assorted Seeds}} |
||
</pre></div> |
</pre></div> |
||
Output: |
|||
{{Price|1,100}} |
{{Price|1,100}} |
||
{{Price|2,400|RaiderCredits}} |
{{Price|2,400|RaiderCredits|iconsize=48px}} |
||
{{Price|70|Cred |
{{Price|70|Cred}} |
||
{{Price|250|Token|iconsize=64px}} |
{{Price|250|Token|iconsize=64px}} |
||
{{Price|1|Augment|iconsize= |
{{Price|1|Augment|iconsize=20px}} |
||
{{Price|10|Assorted Seeds}} |
{{Price|10|Assorted Seeds}} |
||
</noinclude> |
</noinclude> |
||
Revision as of 22:08, 24 October 2025
Template:Price
Parameters: Amount, Currency, Icon size
Amount: Must be entered.
Currency: Optional. (Default value: 'RaiderCredits')
Icon size: Optional. (Default value: '22px')
Example
{{Price|2,400}}
{{Price|2,400|RaiderCredits|iconsize=28px}}
{{Price|70|Cred|iconsize=32px}}
{{Price|250|Token|iconsize=36px}}
{{Price|1|Augment|iconsize=64px}}
{{Price|10|Assorted Seeds}}
Output:
1,100
2,400
70
250
1
10