User:Galbus/sandbox/barterupdate

From Lotro-Wiki.com
Jump to navigation Jump to search

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:
2 Premium Housing Writs
{{Barter|Premium Housing Writ|2 Premium Housing Writs|left}}
With Icon:
File:1091656944-1091388958-icon.png
2 Premium Housing Writs
{{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:
File:1091656944-1091388958-icon.png
10 Premium Housing Writs
{{Barter|Premium Housing Writ|10 Premium Housing Writs|left|icon=1091656944-1091388958}}
Update:
10 Premium Housing Writs
{{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):

2 Premium Housing Writs


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:

2 Premium Housing Writs