Difference between revisions of "Template:WML Tags"

From The Battle for Wesnoth Wiki
(added [sound_source] & [remove_sound_source] to the WML template)
(Add [special_note])
(183 intermediate revisions by 52 users not shown)
Line 1: Line 1:
{| class="gallery" style="width:175px;float: right;border: 1px solid #B48648; color:#B48648; font-size: 7pt;margin-left;10px;"
+
{| class="reference-sidebar"
 
|-
 
|-
 
|
 
|
<span style="float: right;"><small class="editlink noprint plainlinksneverexpand">[{{SERVER}}{{localurl:Template:WML Tags|action=edit}} edit ]</small></span>
+
<span class="editlink">&#91;[{{SERVER}}{{localurl:Template:WML Tags|action=edit}} edit]&#93;</span>'''WML Tags'''
'''WML Tags'''
 
 
 
 
|-
 
|-
 
|''A:''  
 
|''A:''  
 
[[AbilitiesWML|abilities]],
 
[[AbilitiesWML|abilities]],
[[CampaignWML#The_.5Babout.5D_tag|about]],
+
[[CampaignWML#Campaign credits|about]],
[[UnitWML|advancefrom]],
+
[[Creating_Custom_AIs#Behavior_Candidate_Actions|add_ai_behavior]],
[[UnitWML|advancement]],
+
[[SingleUnitWML|advance]],
[[StatisticalScenarioWML|advances]],
+
[[AdvancedPreferenceWML|advanced_preference]],
[[AiWML|ai]],
+
[[UnitTypeWML|advancefrom]],
[[DirectActionsWML|allow_recruit]],
+
[[UnitTypeWML#After_max_level_advancement_.28AMLA.29|advancement]],
[[DirectActionsWML|allow_undo]],
+
[[StatisticalScenarioWML#The_.5Bteam.5D_tag|advances]],
[[VariablesWML|array]],
+
[[AbilitiesWML#Common_keys_and_tags_for_every_ability|affect_adjacent]],
[[UnitWML|attack]],
+
[[Wesnoth_AI_Framework#The_.5Bai.5D_Tag_.E2.80.94_Top-level_Elements|ai]],
[[StatisticalScenarioWML|attacks]],
+
[[StandardSideFilter|allied_with]],  
[[AiWML|avoid]];
+
[[DirectActionsWML#.5Ballow_end_turn.5D|allow_end_turn]],
 +
[[DirectActionsWML#.5Ballow_extra_recruit.5D|allow_extra_recruit]],
 +
[[DirectActionsWML#.5Ballow_recruit.5D|allow_recruit]],
 +
[[DirectActionsWML#.5Ballow_undo.5D|allow_undo]],
 +
[[ConditionalActionsWML#Meta-Condition_Tags|and]],
 +
[[InterfaceActionsWML#.5Banimate_unit.5D|animate]],
 +
[[InterfaceActionsWML#.5Banimate_unit.5D|animate_unit]],
 +
[[AnimationWML|animation]],
 +
[[Wesnoth_AI_Framework#The_.5Bai.5D_Tag_.E2.80.94_Aspects|aspect]],
 +
[[UnitTypeWML#Attacks|attack]],
 +
[[AnimationWML|attack_anim]],
 +
[[StatisticalScenarioWML#The_.5Bteam.5D_tag|attacks]],
 +
[[AiWML#List_of_AI_Aspects|avoid]];
 
|-
 
|-
 
|''B:''  
 
|''B:''  
[[UnitWML|base_unit]],[[CampaignWML#The_.5Bbinary_path.5D_tag|binary_path]],[[HelpWML|bold]];
+
[[UnitTypeWML#Other_tags|base_unit]],  
 +
[[AbilitiesWML|berserk]],
 +
[[BinaryPathWML|binary_path]],
 +
[[InternalActionsWML#Flow_control_actions|break]],
 +
[[EditorWML#The_.5Bbrush.5D_tag|brush]];
 
|-
 
|-
 
|''C:''  
 
|''C:''  
[[CampaignWML#The_.5Bcampaign.5D_tag|campaign]], [[DirectActionsWML|capture_village]], [[ReplayWML|choose]],
+
[[CampaignWML#The_.5Bcampaign.5D_tag|campaign]],
[[InternalActionsWML|clear_variable]],
+
[[DirectActionsWML#.5Bcancel_action.5D|cancel_action]],
[[InterfaceActionsWML|colour_adjust]],
+
[[Wesnoth_AI_Framework#The_.5Bcandidate_action.5D_Tag|candidate_action]],
[[ReplayWML|command]];
+
[[DirectActionsWML#.5Bcapture_village.5D|capture_village]],
 +
[[ConditionalActionsWML#.5Bswitch.5D|case]],
 +
[[AbilitiesWML#The_.5Bspecials.5D_tag|chance_to_hit]],
 +
[[InterfaceActionsWML#.5Bchange_theme.5D|change_theme]],
 +
[[InterfaceActionsWML#.5Bchat.5D|chat]],
 +
[[ReplayWML|choose]],
 +
[[PersistenceWML|clear_global_variable]],
 +
[[InterfaceActionsWML#.5Bclear_menu_item.5D|clear_menu_item]],
 +
[[InternalActionsWML#.5Bclear_variable.5D|clear_variable]],
 +
[[InterfaceActionsWML#.5Bcolor_adjust.5D|color_adjust]],
 +
[[GameConfigWML#Color_Palettes|color_range]],
 +
command&nbsp;([[ConditionalActionsWML#.5Bcommand.5D|action]], [[ReplayWML|replay]]),
 +
[[InternalActionsWML#Flow_control_actions|continue]],
 +
[[AiWML#The_.5Bgoal.5D_Tag|criteria]];
 
|-
 
|-
 
|''D:''  
 
|''D:''  
[[AbilitiesWML|damage]],[[StatisticalScenarioWML|deaths]],[[InterfaceActionsWML|debug_message]],[[UnitWML|defend]],[[StatisticalScenarioWML|defends]],
+
[[AbilitiesWML#The_.5Bspecials.5D_tag|damage]],
[[UnitWML|defense]],
+
[[AnimationWML#death|death]],
[[InterfaceActionsWML|delay]],
+
[[StatisticalScenarioWML#The_.5Bteam.5D_tag|deaths]],
 +
[[AnimationWML#default|default]],  
 +
[[AnimationWML#defend|defend]],
 +
[[StatisticalScenarioWML#The_.5Bteam.5D_tag|defends]],
 +
[[UnitsWML#.5Bmovetype.5D|defense]],
 +
[[InterfaceActionsWML#.5Bdelay.5D|delay]],
 +
[[InterfaceActionsWML#.5Bdeprecated_message.5D|deprecated_message]],
 
[[ReplayWML|destination]],
 
[[ReplayWML|destination]],
[[DirectActionsWML|disallow_recruit]],
+
[[CampaignWML|difficulty]],
[[InternalActionsWML|do]];
+
[[AbilitiesWML|disable]],
 +
[[DirectActionsWML#.5Bdisallow_end_turn.5D|disallow_end_turn]],
 +
[[DirectActionsWML#.5Bdisallow_extra_recruit.5D|disallow_extra_recruit]],
 +
[[DirectActionsWML#.5Bdisallow_recruit.5D|disallow_recruit]],
 +
[[ConditionalActionsWML#.5Bwhile.5D|do]],
 +
[[DirectActionsWML#.5Bdo_command.5D|do_command]],
 +
[[AbilitiesWML#The_.5Bspecials.5D_tag|drains]],
 +
[[AnimationWML#draw_weapon_anim|draw_weapon_anim]];
 
|-
 
|-
 
|''E:''  
 
|''E:''  
[[EffectWML|effect]],[[InternalActionsWML|else]],[[ReplayWML|end_turn]],
+
[[EditorWML#The_.5Beditor_group.5D_tag|editor_group]],
[[DirectActionsWML|endlevel]],
+
[[EditorWML#The_.5Beditor_music.5D_tag|editor_music]],
 +
[[EditorWML#The_.5Beditor_times.5D_tag|editor_times]],
 +
[[EffectWML|effect]],
 +
else&nbsp;([[ConditionalActionsWML#.5Bif.5D|action]], [[AnimationWML#.5Bif.5D_and_.5Belse.5D|animation]]), [[ConditionalActionsWML#.5Bif.5D|elseif]],
 +
[[DirectActionsWML#.5Bendlevel.5D|endlevel]],
 +
end_turn&nbsp;([[DirectActionsWML#.5Bend_turn.5D|action]], [[ReplayWML|replay]]),
 +
[[StandardSideFilter|enemy_of]],
 +
[[Wesnoth_AI_Framework#Available_Engines|engine]],
 +
[[CampaignWML#Campaign_credits|entry]],  
 
[[EraWML|era]],
 
[[EraWML|era]],
 
[[EventWML|event]],
 
[[EventWML|event]],
[[ThemeWML|expenses]];
+
[[AnimationWML#Simplified_animation_blocks|extra_anim]];
 
|-
 
|-
|''F:''  
+
|''F:''
[[FilterWML|filter]], [[FilterWML|filter_location]], [[FilterWML|filter_second]], [[HelpWML|format]], [[AnimationWML|frame]];
+
[[Wesnoth_AI_Framework#The_.5Bai.5D_Tag_.E2.80.94_Aspects|facet]],
 +
[[InterfaceActionsWML#.5Banimate_unit.5D|facing]],
 +
[[InterfaceActionsWML#.5Bmove_units_fake.5D|fake_unit]],
 +
[[ConditionalActionsWML#True_Condition_Tags|false]],
 +
[[PblWML#.5Bfeedback.5D|feedback]],
 +
[[UnitTypeWML#Other_tags|female]],
 +
filter ([[FilterWML|concept]], [[EventWML#.5Bfilter.5D|event]]),
 +
[[StandardUnitFilter|filter_adjacent]],
 +
[[StandardLocationFilter|filter_adjacent_location]],  
 +
[[FilterWML#Filtering_Weapons|filter_attack]],
 +
[[AbilitiesWML#Common_keys_and_tags_for_every_weapon_special|filter_attacker]],
 +
[[AbilitiesWML#Common_keys_and_tags_for_every_ability|filter_base_value]],
 +
[[EventWML#.5Bfilter_condition.5D|filter_condition]],
 +
[[AbilitiesWML#Common_keys_and_tags_for_every_weapon_special|filter_defender]],
 +
[[AiWML#Filtering_Combat_with_the_.27attacks.27_Aspect|filter_enemy]],
 +
[[StandardLocationFilter|filter_location]],
 +
[[AbilitiesWML#Common_keys_and_tags_for_every_weapon_special|filter_opponent]],
 +
[[AiWML#Filtering_Combat_with_the_.27attacks.27_Aspect|filter_own]],
 +
[[StandardLocationFilter|filter_owner]],
 +
[[StandardLocationFilter|filter_radius]],
 +
[[SingleUnitWML|filter_recall]],
 +
[[StandardUnitFilter|filter_second]],
 +
[[FilterWML#Filtering_Weapons|filter_second_attack]],
 +
[[AbilitiesWML|filter_self]],
 +
[[StandardSideFilter|filter_side]],
 +
[[FilterWML#Filtering_Vision|filter_vision]],
 +
[[AbilitiesWML#Common_keys_and_tags_for_every_weapon_special|filter_weapon]],
 +
[[FilterWML#Filtering_on_WML_data|filter_wml]],
 +
[[InternalActionsWML#.5Bfind_path.5D|find_path]],
 +
[[InternalActionsWML#.5Bfire_event.5D|fire_event]],
 +
[[AbilitiesWML#The_.5Bspecials.5D_tag|firststrike]],
 +
[[InterfaceActionsWML#.5Bfloating_text.5D|floating_text]],
 +
[[ConditionalActionsWML#.5Bfor.5D|for]],
 +
[[ConditionalActionsWML#.5Bforeach.5D|foreach]],
 +
[[AnimationWML#Frames|frame]],
 +
[[DirectActionsWML#.5Bfull_heal.5D|full_heal]];
 
|-
 
|-
 
|''G:''  
 
|''G:''  
[[GameConfigWML|game_config]], [[ScenarioWML|generator]], [[DirectActionsWML|gold]], [[ThemeWML|gold]];
+
[[GameConfigWML|game_config]],
 +
[[PersistenceWML|get_global_variable]],
 +
[[AiWML#The_.5Bgoal.5D_Tag|goal]],
 +
[[DirectActionsWML#.5Bgold.5D|gold]],
 +
[[InterfaceActionsWML#.5Bobjectives.5D|gold_carryover]];
 
|-
 
|-
 
|''H:''  
 
|''H:''  
[[InternalActionsWML|have_unit]], [[HelpWML|header]], [[InterfaceActionsWML|hide_unit]];
+
[[DirectActionsWML#.5Bharm_unit.5D|harm_unit]],
 +
[[StandardSideFilter|has_ally]],
 +
[[StandardUnitFilter|has_attack]],
 +
[[StandardSideFilter|has_unit]],
 +
[[ConditionalActionsWML#Condition_Tags|have_location]],
 +
[[ConditionalActionsWML#Condition_Tags|have_unit]],
 +
[[AbilitiesWML#The_.5Bspecials.5D_tag|heal_on_hit]],
 +
[[DirectActionsWML#.5Bheal_unit.5D|heal_unit]],
 +
[[AnimationWML#healed|healed_anim]],
 +
[[AnimationWML#healing|healing_anim]],
 +
[[AbilitiesWML|heals]],
 +
[[UnitsWML#.5Bhide_help.5D|hide_help]],
 +
[[InterfaceActionsWML#.5Bhide_unit.5D|hide_unit]],
 +
[[AbilitiesWML|hides]];
 
|-
 
|-
 
|''I:''  
 
|''I:''  
[[InternalActionsWML|if]], [[TimeWML|illuminated_time]], [[TerrainGraphicsWML|image]],
+
[[AnimationWML#idling|idle_anim]],
[[HelpWML|img]], [[ThemeWML|income]], [[HelpWML|italic]], [[InterfaceActionsWML|item]];
+
if&nbsp;([[ConditionalActionsWML#.5Bif.5D|action]], [[AnimationWML#.5Bif.5D_and_.5Belse.5D|animation]]),
 +
[[AbilitiesWML|illuminates]],  
 +
[[TerrainGraphicsWML|image]],
 +
[[ReplayWML|init_side]],
 +
[[InternalActionsWML#.5Binsert_tag.5D|insert_tag]],
 +
[[InterfaceActionsWML#.5Binspect.5D|inspect]],
 +
[[InterfaceActionsWML#.5Bitem.5D|item]],
 +
[[EditorWML#The_.5Bitem_group.5D_tag|item_group]];
 
|-
 
|-
 
|''J:''
 
|''J:''
[[HelpWML|jump]];
+
[[UnitsWML#.5Bmovetype.5D|jamming_costs]],
 +
[[InternalActionsWML#.5Bset_variables.5D|join]];
 
|-
 
|-
 
|''K:''  
 
|''K:''  
[[DirectActionsWML|kill]], [[StatisticalScenarioWML|killed]];
+
[[DirectActionsWML#.5Bkill.5D|kill]],
 +
[[StatisticalScenarioWML|killed]];
 
|-
 
|-
 
|''L:''  
 
|''L:''  
[[LabelWML|label]] ([[InterfaceActionsWML|map]], [[ThemeWML|theme]]), [[LanguageWML|language]], [[AiWML|leader_goal]];
+
[[InterfaceActionsWML#.5Blabel.5D|label]],
 +
[[LanguageWML|language]],
 +
[[SideWML|leader]],
 +
[[AiWML#List_of_AI_Aspects|leader_goal]],
 +
[[AbilitiesWML|leadership]],
 +
[[AnimationWML#leading|leading_anim]],
 +
[[AnimationWML#levelin|levelin_anim]],
 +
[[AnimationWML#levelout|levelout_anim]],
 +
[[DirectActionsWML#.5Blift_fog.5D|lift_fog]],
 +
[[AI_Recruitment#Aspect_recruitment_instructions|limit]],
 +
[[InternalActionsWML#.5Bset_variables.5D|literal]],
 +
[[ModificationWML#The_.5Bresource.5D_toplevel_tag|load_resource]],
 +
[[LocaleWML|locale]],
 +
[[InterfaceActionsWML#.5Block_view.5D|lock_view]],
 +
[[LuaWML|lua]];
 
|-
 
|-
 
|''M:''  
 
|''M:''  
[[ThemeWML|main_map]],[[ThemeWML|menu]], [[InterfaceActionsWML|message]], [[ThemeWML|mini_map]],
+
[[UnitTypeWML#Other_tags|male]],  
[[AnimationWML|missile_frame]], [[SingleUnitWML|modifications]], [[DirectActionsWML|modify_side]],
+
[[SavefileWML|menu_item]],  
[[DirectActionsWML|modify_turns]], [[ReplayWML|move]], [[InterfaceActionsWML|move_unit_fake]], [[UnitWML|movement costs]],
+
[[InterfaceActionsWML#.5Bmessage.5D|message]],
[[UnitsWML|movetype]], [[ScenarioWML|multiplayer]], [[EraWML|multiplayer_side]], [[InterfaceActionsWML|music]];
+
[[Micro AIs|micro_ai]],
 +
[[AnimationWML#The_content_of_a_frame|missile_frame]],
 +
[[ModificationWML|modification]],
 +
[[SingleUnitWML|modifications]],
 +
[[DirectActionsWML#.5Bmodify_ai.5D|modify_ai]],
 +
[[DirectActionsWML#.5Bmodify_side.5D|modify_side]],
 +
[[DirectActionsWML#.5Bmodify_turns.5D|modify_turns]],
 +
[[DirectActionsWML#.5Bmodify_unit.5D|modify_unit]],
 +
[[ModificationWML|modify_unit_type]],
 +
[[ReplayWML|move]],
 +
[[DirectActionsWML#.5Bmove_unit.5D|move_unit]],
 +
[[InterfaceActionsWML#.5Bmove_unit_fake.5D|move_unit_fake]],
 +
[[InterfaceActionsWML#.5Bmove_units_fake.5D|move_units_fake]],
 +
[[AnimationWML#movement|movement_anim]],
 +
[[UnitsWML#.5Bmovetype.5D|movement costs]],
 +
[[UnitsWML#.5Bmovetype.5D|movetype]],
 +
[[ScenarioWML|multiplayer]],
 +
[[EraWML|multiplayer_side]],
 +
[[MusicListWML#.5Bmusic.5D|music]];
 
|-
 
|-
 
|''N:''  
 
|''N:''  
[[FilterWML|not]], [[ThemeWML|num_units]];
+
[[ConditionalActionsWML#Meta-Condition_Tags|not]],  
 +
[[InterfaceActionsWML#.5Bobjectives.5D|note]];
 
|-
 
|-
 
|''O:''  
 
|''O:''  
[[DirectActionsWML|object]], [[InterfaceActionsWML|objectives]], [[InterfaceActionsWML|objective]],
+
[[DirectActionsWML#.5Bobject.5D|object]],
[[ThemeWML|observers]], [[InterfaceActionsWML|option]], [[InternalActionsWML|or]];
+
[[InterfaceActionsWML#.5Bobjectives.5D|objective]],
 +
[[InterfaceActionsWML#.5Bobjectives.5D|objectives]],
 +
[[DirectActionsWML#.5Bon_undo.5D|on_undo]],
 +
[[InterfaceActionsWML#.5Bopen_help.5D|open_help]],
 +
[[InterfaceActionsWML#.5Bmessage.5D|option]],
 +
[[OptionWML|options]],
 +
[[ConditionalActionsWML#Meta-Condition_Tags|or]];
 
|-
 
|-
 
|''P:''  
 
|''P:''  
[[ThemeWML|panel]], [[IntroWML|part]], [[DirectActionsWML|place_shroud]], [[ThemeWML|position]],
+
[[IntroWML|part]],  
[[InterfaceActionsWML|print]], [[AiWML|protect_location]], [[AiWML|protect_unit]];
+
[[AbilitiesWML#The_.5Bspecials.5D_tag|petrifies]],
 +
[[DirectActionsWML#.5Bpetrify.5D|petrify]],  
 +
[[DirectActionsWML#.5Bplace_shroud.5D|place_shroud]],  
 +
[[AbilitiesWML#The_.5Bspecials.5D_tag|plague]],  
 +
[[AbilitiesWML#The_.5Bspecials.5D_tag|poison]],
 +
[[UnitTypeWML#Other_tags|portrait]],
 +
[[AnimationWML#post_movement|post_movement_anim]],
 +
[[AnimationWML#pre_movement|pre_movement_anim]],
 +
[[InternalActionsWML#.5Bfire_event.5D|primary_attack]],
 +
[[InternalActionsWML#.5Bfire_event.5D|primary_unit]],  
 +
[[InterfaceActionsWML#.5Bprint.5D|print]],  
 +
[[DirectActionsWML#.5Bput_to_recall_list.5D|put_to_recall_list]];
 
|-
 
|-
 
|''R:''  
 
|''R:''  
[[UnitsWML|race]], [[ReplayWML|random]], [[ReplayWML|recall]], [[StatisticalScenarioWML|recalls]],
+
[[UnitsWML#.5Brace.5D|race]],  
[[ReplayWML|recruit]], [[StatisticalScenarioWML|recruits]], [[InterfaceActionsWML|redraw]],
+
[[InternalActionsWML#.5Brandom_placement.5D|random_placement]],
[[HelpWML|ref]], [[DirectActionsWML|remove_shroud]], [[InterfaceActionsWML|remove_unit_overlay]],
+
recall&nbsp;([[DirectActionsWML#.5Brecall.5D|action]], [[ReplayWML|replay]]),  
[[InterfaceActionsWML|removeitem]], [[InterfaceActionsWML|remove_sound_source]], [[SavefileWML|replay]], [[SavefileWML|replay_start]],
+
[[StatisticalScenarioWML|recalls]],
[[UnitWML|resistance]], [[ThemeWML|resolution]], [[ReplayWML|results]], [[InternalActionsWML|role]];
+
[[ReplayWML|recruit]],  
 +
[[AnimationWML#recruited|recruit_anim]],
 +
[[AnimationWML#recruiting|recruiting_anim]],
 +
[[StatisticalScenarioWML|recruits]],  
 +
[[InterfaceActionsWML#.5Bredraw.5D|redraw]],
 +
[[AbilitiesWML|regenerate]],
 +
[[InternalActionsWML#.5Bremove_event.5D|remove_event]],
 +
[[InterfaceActionsWML#.5Bremove_item.5D|remove_item]],
 +
[[DirectActionsWML#.5Bremove_object.5D|remove_object]],
 +
[[DirectActionsWML#.5Bremove_shroud.5D|remove_shroud]],  
 +
[[InterfaceActionsWML#.5Bremove_sound_source.5D|remove_sound_source]],
 +
[[DirectActionsWML#.5Bremove_time_area.5D|remove_time_area]],
 +
[[InterfaceActionsWML#.5Bremove_unit_overlay.5D|remove_unit_overlay]],
 +
[[ConditionalActionsWML#.5Brepeat.5D|repeat]],
 +
[[DirectActionsWML#.5Breplace_map.5D|replace_map]],  
 +
[[DirectActionsWML#.5Breplace_schedule.5D|replace_schedule]],  
 +
[[ReplayWML|replay]],  
 +
[[SavefileWML|replay_start]],
 +
[[DirectActionsWML#.5Breset_fog.5D|reset_fog]],
 +
resistance&nbsp;([[AbilitiesWML|ability]], [[UnitsWML#.5Bmovetype.5D|unit]]),
 +
[[UnitsWML#.5Bresistance_defaults.5D|resistance_defaults]],
 +
[[ModificationWML#The_.5Bresource.5D_toplevel_tag|resource]],
 +
[[InternalActionsWML#Flow_control_actions|return]],
 +
[[InternalActionsWML#.5Brole.5D|role]],
 +
[[TerrainMaskWML|rule]];
 
|-
 
|-
 
|''S:''  
 
|''S:''  
[[SavefileWML|save]], [[ScenarioWML|scenario]],
+
[[SavefileWML|save]],  
[[InterfaceActionsWML|scroll]], [[InterfaceActionsWML|scroll_to]],
+
[[ScenarioWML|scenario]],
[[InterfaceActionsWML|scroll_to_unit]], [[HelpWML|section]],
+
[[InterfaceActionsWML#.5Bscroll.5D|scroll]],  
[[InterfaceActionsWML#.5Bset_menu_item.5D_.28SVN_trunk_only.29|set_menu_item]], [[DirectActionsWML|set_recruit]],
+
[[InterfaceActionsWML#.5Bscroll_to.5D|scroll_to]],
[[InternalActionsWML|set_variable]], [[SideWML|side]], [[ThemeWML|side_playing]], [[SavefileWML|snapshot]],
+
[[InterfaceActionsWML#.5Bscroll_to_unit.5D|scroll_to_unit]],  
[[InterfaceActionsWML|sound]], [[InterfaceActionsWML|sound_source]], [[ReplayWML|source]], [[AbilitiesWMLTechnical1.1.3|specials]], [[EventWML|special_filter]], [[EventWML|special_filter_second]],
+
[[InternalActionsWML#.5Bfire_event.5D|secondary_attack]],
 +
[[InternalActionsWML#.5Bfire_event.5D|secondary_unit]],
 +
[[HelpWML|section]],  
 +
[[InterfaceActionsWML#.5Bselect_unit.5D|select_unit]],
 +
[[ReplayWML|sequence]],
 +
[[DirectActionsWML#.5Bset_extra_recruit.5D|set_extra_recruit]],
 +
[[PersistenceWML|set_global_variable]],
 +
[[InterfaceActionsWML#.5Bset_menu_item.5D|set_menu_item]],  
 +
[[DirectActionsWML#.5Bset_recruit.5D|set_recruit]],
 +
[[EffectWML|set_specials]],  
 +
[[InternalActionsWML#.5Bset_variable.5D|set_variable]],  
 +
[[InternalActionsWML#.5Bset_variables.5D|set_variables]],
 +
[[AnimationWML#sheath_weapon|sheath_weapon_anim]],
 +
show_if&nbsp;([[InterfaceActionsWML#.5Bmessage.5D|message]], [[InterfaceActionsWML#.5Bset_menu_item.5D|set_menu_item]]),
 +
[[InterfaceActionsWML#.5Bshow_objectives.5D|show_objectives]],
 +
[[SideWML|side]],  
 +
[[AbilitiesWML|skirmisher]],
 +
[[AbilitiesWML#The_.5Bspecials.5D_tag|slow]],  
 +
[[SavefileWML|snapshot]],
 +
[[InterfaceActionsWML#.5Bsound.5D|sound]],  
 +
[[InterfaceActionsWML#.5Bsound_source.5D|sound_source]],  
 +
source&nbsp;([[ReplayWML|replay]], [[DirectActionsWML#.5Btunnel.5D|teleport]]),
 +
[[UnitTypeWML#Other_tags|special_note]],
 +
[[AbilitiesWML#The_.5Bspecials.5D_tag|specials]],  
 +
[[InternalActionsWML#.5Bset_variables.5D|split]],
 +
[[Wesnoth_AI_Framework#Available_Stages|stage]],  
 +
[[AnimationWML#standing|standing_anim]],  
 
[[StatisticalScenarioWML#The_.5Bstatistics.5D_tag|statistics]],
 
[[StatisticalScenarioWML#The_.5Bstatistics.5D_tag|statistics]],
[[ThemeWML|status]], [[DirectActionsWML|stone]], [[InternalActionsWML|store_gold]], [[InternalActionsWML|store_locations]],
+
[[SingleUnitWML|status]],  
[[InternalActionsWML|store_starting_location]], [[InternalActionsWML|store_side]], [[InternalActionsWML|store_unit]], [[IntroWML|story]];
+
[[InternalActionsWML#.5Bstore_gold.5D|store_gold]],  
 +
[[InternalActionsWML#.5Bstore_items.5D|store_items]],  
 +
[[InternalActionsWML#.5Bstore_locations.5D|store_locations]],
 +
[[InternalActionsWML#.5Bstore_map_dimensions.5D|store_map_dimensions]],
 +
[[InternalActionsWML#.5Bstore_reachable_locations.5D|store_reachable_locations]],
 +
[[InternalActionsWML#.5Bstore_relative_direction.5D|store_relative_direction]],
 +
[[InternalActionsWML#.5Bstore_side.5D|store_side]],
 +
[[InternalActionsWML#.5Bstore_starting_location.5D|store_starting_location]],  
 +
[[InternalActionsWML#.5Bstore_time_of_day.5D|store_time_of_day]],
 +
[[InternalActionsWML#.5Bstore_turns.5D|store_turns]],  
 +
[[InternalActionsWML#.5Bstore_unit.5D|store_unit]],  
 +
[[InternalActionsWML#.5Bstore_unit_defense.5D|store_unit_defense]],
 +
[[InternalActionsWML#.5Bstore_unit_type.5D|store_unit_type]],
 +
[[InternalActionsWML#.5Bstore_unit_type_ids.5D|store_unit_type_ids]],
 +
[[InternalActionsWML#.5Bstore_villages.5D|store_villages]],
 +
[[IntroWML|story]],
 +
[[AbilitiesWML#The_.5Bspecials.5D_tag|swarm]],
 +
[[ConditionalActionsWML#.5Bswitch.5D|switch]],
 +
[[InternalActionsWML#.5Bsync_variable.5D|sync_variable]];
 
|-
 
|-
 
|''T:''  
 
|''T:''  
[[AiWML|target]],
+
[[DirectActionsWML#.5Btunnel.5D|target]],  
 
[[StatisticalScenarioWML#The_.5Bteam.5D_tag|team]],
 
[[StatisticalScenarioWML#The_.5Bteam.5D_tag|team]],
[[DirectActionsWML|teleport]], [[UnitWML|teleport_anim]],
+
teleport&nbsp;([[AbilitiesWML|ability]], [[DirectActionsWML#.5Bteleport.5D|action]]),
[[TerrainWML|terrain]], [[DirectActionsWML|terrain]], [[TerrainGraphicsWML|terrain_graphics]], [[TerrainMaskWML|terrain_mask]], [[ScenarioWML#Test_scenario|test]],
+
[[AnimationWML#pre_teleport|teleport_anim]],
[[CampaignWML#The_.5Btextdomain.5D_tag|textdomain]], [[ThemeWML|theme]], [[InternalActionsWML|then]],
+
[[DirectActionsWML#.5Bterrain.5D|terrain]],  
[[TerrainGraphicsWML|tile]], [[TimeWML|time]], [[ScenarioWML|time_area]], [[ThemeWML|time_of_day]],
+
[[UnitsWML#.5Bterrain_defaults.5D|terrain_defaults]],
[[HelpWML|topic]], [[HelpWML|toplevel]], [[SingleUnitWML|trait]], [[ThemeWML|turn]], [[ScenarioWML|tutorial]];
+
[[TerrainGraphicsWML|terrain_graphics]],  
 +
[[TerrainMaskWML|terrain_mask]],  
 +
[[TerrainWML|terrain_type]],
 +
[[ScenarioWML#Test_scenario|test]],
 +
[[InterfaceActionsWML#.5Btest_condition.5D|test_condition]],
 +
[[InterfaceActionsWML#.5Bmessage.5D|text_input]],
 +
[[GettextForWesnothDevelopers#The_textdomain_declaration|textdomain]],
 +
[[ThemeWML|theme]],
 +
[[ConditionalActionsWML#.5Bif.5D|then]],
 +
[[TerrainGraphicsWML|tile]],  
 +
[[TimeWML|time]],  
 +
[[DirectActionsWML#.5Btime_area.5D|time_area]],  
 +
[[HelpWML|topic]],  
 +
[[HelpWML|toplevel]],
 +
[[UnitsWML#.5Btrait.5D|trait]],
 +
[[DirectActionsWML#.5Btransform_unit.5D|transform_unit]],  
 +
[[InternalActionsWML#.5Bfind_path.5D|traveler]],  
 +
[[ConditionalActionsWML#True_Condition_Tags|true]],
 +
[[DirectActionsWML#.5Btunnel.5D|tunnel]],  
 +
[[ScenarioWML|tutorial]];
 
|-
 
|-
 
|''U:''  
 
|''U:''  
[[InterfaceActionsWML|unhide_unit]], unit&nbsp;([[UnitWML|define]], [[SingleUnitWML|create]]),
+
[[InterfaceActionsWML#.5Bunhide_unit.5D|unhide_unit]],  
[[ThemeWML|unit_abilities]], [[ThemeWML|unit_alignment]], [[ThemeWML|unit_description]],
+
[[SingleUnitWML|unit]],
[[ThemeWML|unit_hp]], [[ThemeWML|unit_image]], [[ThemeWML|unit_level]], [[ThemeWML|unit_moves]],
+
[[InterfaceActionsWML#.5Bunit_overlay.5D|unit_overlay]],  
[[InterfaceActionsWML|unit_overlay]], [[ThemeWML|unit_profile]], [[ThemeWML|unit_status]],
+
[[UnitTypeWML|unit_type]],  
[[ThemeWML|unit_traits]], [[ThemeWML|unit_type]], [[ThemeWML|unit_weapons]], [[ThemeWML|unit_xp]],
+
[[InternalActionsWML|unit_worth]],  
[[UnitsWML|units]], [[DirectActionsWML|unstone]], [[DirectActionsWML|unstore_unit]], [[ThemeWML|upkeep]];
+
[[UnitsWML|units]],
 +
[[InterfaceActionsWML#.5Bunlock_view.5D|unlock_view]],
 +
[[DirectActionsWML#.5Bunpetrify.5D|unpetrify]],  
 +
[[DirectActionsWML#.5Bunstore_unit.5D|unstore_unit]],
 +
[[InternalActionsWML#.5Bunsynced.5D|unsynced]];
 
|-
 
|-
 
| ''V:''  
 
| ''V:''  
[[InternalActionsWML|variable]], [[VariablesWML|variables]], [[SideWML|village]], [[ThemeWML|villages]];
+
[[InternalActionsWML#.5Bset_variables.5D|value]],
 +
[[ConditionalActionsWML#Condition_Tags|variable]],
 +
[[VariablesWML#The_.5Bvariables.5D_tag|variables]],
 +
[[UnitTypeWML#Other_tags|variation]],
 +
[[AnimationWML#victory|victory_anim]],
 +
[[SideWML|village]],
 +
[[UnitsWML#.5Bmovetype.5D|vision_costs]],
 +
[[InterfaceActionsWML#.5Bvolume.5D|volume]];
 
|-
 
|-
 
| ''W:''  
 
| ''W:''  
[[InternalActionsWML|while]], [[FilterWML|wml_filter]]
+
[[ConditionalActionsWML#.5Bwhile.5D|while]],
|}
+
[[InterfaceActionsWML#.5Bwml_message.5D|wml_message]],
 +
[[SchemaWML|wml_schema]];
 +
|-
 +
| ''Z:''
 +
[[InterfaceActionsWML#.5Bzoom.5D|zoom]];
 +
|}<includeonly>[[Category:WML Reference]]</includeonly><noinclude>A box with all the WML tags, each one linking to the page and section they are described in. This box should be included in each of the WML reference pages.</noinclude>

Revision as of 21:31, 7 December 2019

[edit]WML Tags

A:

abilities, about, add_ai_behavior, advance, advanced_preference, advancefrom, advancement, advances, affect_adjacent, ai, allied_with, allow_end_turn, allow_extra_recruit, allow_recruit, allow_undo, and, animate, animate_unit, animation, aspect, attack, attack_anim, attacks, avoid;

B:

base_unit, berserk, binary_path, break, brush;

C:

campaign, cancel_action, candidate_action, capture_village, case, chance_to_hit, change_theme, chat, choose, clear_global_variable, clear_menu_item, clear_variable, color_adjust, color_range, command (action, replay), continue, criteria;

D:

damage, death, deaths, default, defend, defends, defense, delay, deprecated_message, destination, difficulty, disable, disallow_end_turn, disallow_extra_recruit, disallow_recruit, do, do_command, drains, draw_weapon_anim;

E:

editor_group, editor_music, editor_times, effect, else (action, animation), elseif, endlevel, end_turn (action, replay), enemy_of, engine, entry, era, event, extra_anim;

F:

facet, facing, fake_unit, false, feedback, female, filter (concept, event), filter_adjacent, filter_adjacent_location, filter_attack, filter_attacker, filter_base_value, filter_condition, filter_defender, filter_enemy, filter_location, filter_opponent, filter_own, filter_owner, filter_radius, filter_recall, filter_second, filter_second_attack, filter_self, filter_side, filter_vision, filter_weapon, filter_wml, find_path, fire_event, firststrike, floating_text, for, foreach, frame, full_heal;

G:

game_config, get_global_variable, goal, gold, gold_carryover;

H:

harm_unit, has_ally, has_attack, has_unit, have_location, have_unit, heal_on_hit, heal_unit, healed_anim, healing_anim, heals, hide_help, hide_unit, hides;

I:

idle_anim, if (action, animation), illuminates, image, init_side, insert_tag, inspect, item, item_group;

J:

jamming_costs, join;

K:

kill, killed;

L:

label, language, leader, leader_goal, leadership, leading_anim, levelin_anim, levelout_anim, lift_fog, limit, literal, load_resource, locale, lock_view, lua;

M:

male, menu_item, message, micro_ai, missile_frame, modification, modifications, modify_ai, modify_side, modify_turns, modify_unit, modify_unit_type, move, move_unit, move_unit_fake, move_units_fake, movement_anim, movement costs, movetype, multiplayer, multiplayer_side, music;

N:

not, note;

O:

object, objective, objectives, on_undo, open_help, option, options, or;

P:

part, petrifies, petrify, place_shroud, plague, poison, portrait, post_movement_anim, pre_movement_anim, primary_attack, primary_unit, print, put_to_recall_list;

R:

race, random_placement, recall (action, replay), recalls, recruit, recruit_anim, recruiting_anim, recruits, redraw, regenerate, remove_event, remove_item, remove_object, remove_shroud, remove_sound_source, remove_time_area, remove_unit_overlay, repeat, replace_map, replace_schedule, replay, replay_start, reset_fog, resistance (ability, unit), resistance_defaults, resource, return, role, rule;

S:

save, scenario, scroll, scroll_to, scroll_to_unit, secondary_attack, secondary_unit, section, select_unit, sequence, set_extra_recruit, set_global_variable, set_menu_item, set_recruit, set_specials, set_variable, set_variables, sheath_weapon_anim, show_if (message, set_menu_item), show_objectives, side, skirmisher, slow, snapshot, sound, sound_source, source (replay, teleport), special_note, specials, split, stage, standing_anim, statistics, status, store_gold, store_items, store_locations, store_map_dimensions, store_reachable_locations, store_relative_direction, store_side, store_starting_location, store_time_of_day, store_turns, store_unit, store_unit_defense, store_unit_type, store_unit_type_ids, store_villages, story, swarm, switch, sync_variable;

T:

target, team, teleport (ability, action), teleport_anim, terrain, terrain_defaults, terrain_graphics, terrain_mask, terrain_type, test, test_condition, text_input, textdomain, theme, then, tile, time, time_area, topic, toplevel, trait, transform_unit, traveler, true, tunnel, tutorial;

U:

unhide_unit, unit, unit_overlay, unit_type, unit_worth, units, unlock_view, unpetrify, unstore_unit, unsynced;

V:

value, variable, variables, variation, victory_anim, village, vision_costs, volume;

W:

while, wml_message, wml_schema;

Z:

zoom;

A box with all the WML tags, each one linking to the page and section they are described in. This box should be included in each of the WML reference pages.