LabelWML: Difference between revisions
From The Battle for Wesnoth Wiki
Documented 'visible_in_shroud' for [label] codeblocks. |
Corrected a key name; 'improved' the explanation for that key. |
||
| Line 14: | Line 14: | ||
* '''y''': Location for the label | * '''y''': Location for the label | ||
* ''' | * '''visible_in_fog''' (Yes/No): Determines whether or not the label is to be hidden under fog. 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. | * '''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:12, 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
- visible_in_fog (Yes/No): Determines whether or not the label is to be hidden under fog. 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.
This page was last edited on 25 October 2009, at 01:12.