Difference between revisions of "LabelWML"
From The Battle for Wesnoth Wiki
m (removing {{DevFeature}} tags) |
(Documented 'visible_in_shroud' for [label] codeblocks.) |
||
Line 15: | Line 15: | ||
* '''fogged'''(Yes/No): Controls if the label is to be hidden under fog or not (by default all labels are hidden under fog) | * '''fogged'''(Yes/No): Controls if the label is to be hidden under fog or not (by default all labels are hidden under fog) | ||
+ | |||
+ | * '''visible_in_shroud''' (Yes/No): {{DevFeature}} Determines whether or not the label is to be hidden under shroud. By default, all labels are hidden under shroud. | ||
[[Category:WML Reference]] | [[Category:WML Reference]] |
Revision as of 01:03, 25 October 2009
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
- fogged(Yes/No): Controls if the label is to be hidden under fog or not (by default all labels are hidden under fog)
- visible_in_shroud (Yes/No): Template:DevFeature Determines whether or not the label is to be hidden under shroud. By default, all labels are hidden under shroud.