Difference between revisions of "ReferenceWMLSyntax"
(Reorganized page, added category) |
(gave an example) |
||
Line 26: | Line 26: | ||
The <nowiki>{{DevFeature}}</nowiki> code turns into this: {{DevFeature}} (dynamically updated from the template page [[Template:DevFeature]]) | The <nowiki>{{DevFeature}}</nowiki> code turns into this: {{DevFeature}} (dynamically updated from the template page [[Template:DevFeature]]) | ||
+ | |||
+ | Example of what you type when editing: | ||
+ | <nowiki>'''[tag]''' - specifies something or other </nowiki> | ||
+ | <nowiki>* ''original_key'' the item you want to specify </nowiki> | ||
+ | <nowiki>* ''better_key'' {{DevFeature}} a list of possible values, one of which is chosen at random </nowiki> | ||
==== Categorization ==== | ==== Categorization ==== |
Revision as of 05:07, 29 January 2006
Wiki Syntax
Formatting
This page is an example of how these wikis should be formatted:
Description of the page
- [tag] description of [tag]
- key description of key.
"key" can refer either to the key key or the value of key
- key2 description of key2
- 'value' what happens when the attribute key2=value is set
Example:
[tag] key=0 [/tag] key2=value
Version Control
For WML features not present in the 1.0 branch, please precede the reference text with the template {{DevFeature}}. Doing this will use the standardized "development version only WML" flag.
Please do not delete WML reference text that is valid for version 1.0 if a new feature obsoletes, deprecates, or replaces it. Just put the new reference text beneath it and mark it with {{DevFeature}}.
The {{DevFeature}} code turns into this: Template:DevFeature (dynamically updated from the template page Template:DevFeature)
Example of what you type when editing:
'''[tag]''' - specifies something or other * ''original_key'' the item you want to specify * ''better_key'' {{DevFeature}} a list of possible values, one of which is chosen at random
Categorization
WML reference pages should be placed into the category "WML reference." This allows someone to easily bring up all the WML-related pages at once.
To do this, add the text [[Category: WML Reference]] at the bottom of the page under the "See Also" section.