Difference between revisions of "DevFeature"
(Add usage instructions) |
(1.7 and 1.9 versions are eliminated, 1.11 is to be pruned, 1.13 is the new development series) |
||
Line 1: | Line 1: | ||
== Explanation == | == Explanation == | ||
− | Items marked with the text {{DevFeature1. | + | Items marked with the text {{DevFeature1.13}} are WML or Lua features only available in a development version of the game. |
This WML reference contains the current WML syntax and Lua API for the stable branch. However, the development version of the game is rapidly growing with new and exciting capabilities. | This WML reference contains the current WML syntax and Lua API for the stable branch. However, the development version of the game is rapidly growing with new and exciting capabilities. | ||
Line 7: | Line 7: | ||
As new features are added, it is very important to track which ones pertain to the stable and development versions. Sometimes a feature is only available in the master branch of the Git repository (i.e. it hasn't been released yet), or sometimes it is a relatively mature addition. | As new features are added, it is very important to track which ones pertain to the stable and development versions. Sometimes a feature is only available in the master branch of the Git repository (i.e. it hasn't been released yet), or sometimes it is a relatively mature addition. | ||
− | If a specific version is specified (e.g. '''1. | + | If a specific version is specified (e.g. '''1.13.5'''), that means the feature is known to be specifically available in that and later versions. For features recently implemented in the master branch of the repository, the version number may refer to a release that has not been published yet. |
== Using DevFeature in documentation == | == Using DevFeature in documentation == | ||
− | The [[Template:DevFeature1. | + | The [[Template:DevFeature1.13]] template may be used in either of the following forms: |
'''Preferred (version) form:''' | '''Preferred (version) form:''' | ||
− | <nowiki>{{DevFeature1. | + | <nowiki>{{DevFeature1.13|5}}</nowiki> |
− | {{DevFeature1. | + | {{DevFeature1.13|5}} |
'''Alternative (version-less) form:''' | '''Alternative (version-less) form:''' | ||
− | <nowiki>{{DevFeature1. | + | <nowiki>{{DevFeature1.13}}</nowiki> |
− | {{DevFeature1. | + | {{DevFeature1.13}} |
== Previous DevFeature templates == | == Previous DevFeature templates == | ||
− | Some items are marked with | + | Some items are marked with {{DevFeature1.11}}. These features were created in the 1.11 series and are now in the stable 1.12 branch and all later versions. |
− | This template indicates the history of the features and can be safely removed. Its uses are mainly leftover | + | This template indicates the history of the features and can be safely removed. Its uses are mainly leftover <code><nowiki>{{DevFeature1.11}}</nowiki></code> tags that haven't been removed yet: |
+ | |||
+ | http://wiki.wesnoth.org/index.php?title=Special:WhatLinksHere/Template:DevFeature1.11 | ||
[[Category:Wesnoth Wiki]] | [[Category:Wesnoth Wiki]] |
Revision as of 00:34, 13 March 2015
Explanation
Items marked with the text (Version 1.13.x (please read the template documentation to set the correct version number) and later only) are WML or Lua features only available in a development version of the game.
This WML reference contains the current WML syntax and Lua API for the stable branch. However, the development version of the game is rapidly growing with new and exciting capabilities.
As new features are added, it is very important to track which ones pertain to the stable and development versions. Sometimes a feature is only available in the master branch of the Git repository (i.e. it hasn't been released yet), or sometimes it is a relatively mature addition.
If a specific version is specified (e.g. 1.13.5), that means the feature is known to be specifically available in that and later versions. For features recently implemented in the master branch of the repository, the version number may refer to a release that has not been published yet.
Using DevFeature in documentation
The Template:DevFeature1.13 template may be used in either of the following forms:
Preferred (version) form:
{{DevFeature1.13|5}} (Version 1.13.5 and later only)
Alternative (version-less) form:
{{DevFeature1.13}} (Version 1.13.x (please read the template documentation to set the correct version number) and later only)
Previous DevFeature templates
Some items are marked with Template:DevFeature1.11. These features were created in the 1.11 series and are now in the stable 1.12 branch and all later versions.
This template indicates the history of the features and can be safely removed. Its uses are mainly leftover {{DevFeature1.11}}
tags that haven't been removed yet:
http://wiki.wesnoth.org/index.php?title=Special:WhatLinksHere/Template:DevFeature1.11