User:Galbus/sandbox/barterupdate
< User:Galbus | sandbox
This page uses a sandboxed version of the Barter Template. It is located here.
Original Barter usage
{{Barter | <item> | [rename=]<what to display> | [float=]<left or right> | icon=<icon name> }}
Without Icon field: ![]() |
{{Barter|Premium Housing Writ|2 Premium Housing Writs|left}} |
With Icon: |
{{Barter|Premium Housing Writ|2 Premium Housing Writs|left|icon=1091656944-1091388958}} |
Barter usage with this update
{{Barter | <item> | [rename=]<what to display> | [float=]<left or right> | [icon=]<icon name> }}
Original: |
{{Barter|Premium Housing Writ|10 Premium Housing Writs|left|icon=1091656944-1091388958}} |
Update: ![]() |
{{Barter|Premium Housing Writ|10 Premium Housing Writs|left|1091656944-1091388958}} |
In this update, you'll see the new icon name style because icon/field 4 overrides the item/field 1 (only if icon/field 4 is set):

If you don't use field (param) names, then you must follow the specified order in the template.
- Field 1 is always the item name.
- Field 2 is always the item name to display (i.e. 2 Premium Housing Writs)
- Field 3 is always the float left or right. If this field is omitted, then there will not be spacing between the icon and the displayed text.
- Field 4 is always the icon name (i.e. 1091656944-1091388958)
If you don't include the field (param) 4 / icon then you'll see whatever icon name matches the Field (param) 1 or Item: |