Difference between revisions of "LabelWML"
From The Battle for Wesnoth Wiki
(Label WML tag) |
(Remove DevFeature, highlight tags and attributes) |
||
Line 4: | Line 4: | ||
The following keys and tags are recognized in '''[label]''' tag: | The following keys and tags are recognized in '''[label]''' tag: | ||
− | * ''text'' Visible text in label. | + | * '''text''': Visible text in label. |
− | * ''team_name'' Name of the team that can see the label. Label is visible to everyone if this is empty. | + | * '''team_name''': Name of the team that can see the label. Label is visible to everyone if this is empty. |
− | * ''colour'' colour of the label. Format is ''r,g,b'' where r, g and b are number between 0 and 255. | + | * '''colour''': colour of the label. Format is ''r,g,b'' where r, g and b are number between 0 and 255. |
− | * ''x'' Location for the label | + | * '''x''': Location for the label |
− | * ''y'' Location for the label | + | * '''y''': Location for the label |
Revision as of 15:04, 19 February 2008
The [label] tag
The following keys and tags are recognized in [label] tag:
- text: Visible text in label.
- team_name: Name of the team that can see the label. Label is visible to everyone if this is empty.
- colour: colour of the label. Format is r,g,b where r, g and b are number between 0 and 255.
- x: Location for the label
- y: Location for the label