When you edit a template (or rather its documentation page):
Once you have started editing the template, you should see a link or in the edit toolbar.
Check if the template page already contains a <templatedata/> tag
If not, add an empty <templatedata /> element in the wikitext (no need to save this modification)
Click on the "TDE" link
If there's no TemplateData
TemplateDataEditor suggests to prefill <templatedata/> by analysing the template code. To perform this, it uses Salix alba's TDSkell script.
Choose in the drop down list the template you are documenting and click on the "Execute" button.
Data modification
The modification window contains three sections: Description, Parameters and Sets.
Description section
The Description section allows you to describe the template in a translatable text area.
Parameters section
The Parameters section allows you to describe template parameters. It's composed of a list of parameters, each parameter being displayed completely or in short format
When a parameter is displayed in short format, it's possible:
to set the real name of the parameter, which is the name used when using the template in wikitext;
to tell if the parameter is mandatory;
to inherit the documentation of an other parameter (all blank fields are filled with values coming from the other parameter);
to display the parameter completely by clicking on the button;
to delete the parameter by clicking on the button.
When a parameter is displayed completely, it's possible:
to display it in short format by clicking on the button;
At the bottom of the list, a button lets you create new sets.
Translatable area
Some elements can be translated in several languages.
When starting TemplateDataEditor, only contents in the wiki language and your language are displayed. You can display other languages by clicking on button (or ) or hide them by clicking on button (or ).
When other languages are displayed, a button lets you add new languages. Except for the wiki language, you can delete a language by clicking on button.
Use in other wikis
TDE is currently available in English, French, Greek, Korean, Japanese and Italian. If you want to contribute to translations, you can suggest translations at talk page on frwiki, the messages to be translated are at the beginning of script (messages variable).
TDE can be used directly from any wiki.
Known limitations and problems
Currently, TDE has the following limitations:
Suggestion for aliases and default value from TDSkell script has not been integrated yet.
Renaming a parameter moves it to the end of the list.
Parameters with name containing { or } can't be documented.