From Learn About the Ext JavaScript Library
Welcome to the How-to for posting a Tutorial to the Learn Section of the Ext JavaScript Library site.
Tutorial Information
- Create a new tutorial page by simply typing the URL you would like to create into your browser. If it does not already exist, it will display an empty wiki page that you can start editing.
- If you are posting a translation, the headline should be as follows:
- Original Tutorial Name: Example Tutorial
- Translated Tutorial Name: Example Tutorial (<New Language>)
- If you are translating a current tutorial, add the Language Template to all the current tutorials.
- Once you are done adding your tutorial, place a link on the Tutorial entry page under the appropriate heading. You can create a new heading if needed, but please keep headings high level.
- Add proper categories to the tutorial.
- Always add [[Category:Tutorial]]
- Add [[Category:<Ext JS Component>]]
- Add [[Category:<Server Language if needed>]]
Tutorial Formating
- All tutorials must start with the Summary Template
- All headlines must be wrapped in === or <h3>
- All sub-headers must be wrapped in ==== or <h4>
- All source code must be wrapped in <source lang="language"></source> tags.
Templates
Listed below are the templates that apply to adding tutorials.
Summary Template
{{tutorial
|author=<Your Name>
|summary=<Tutorial Summary>
|published=<Date Published>
|extversion=<Version(s) of Ext supported>
|languages={{Tutorial_Translation|language=English|country_code=en|url=Tutorial:<Tutorial Name Here>}}
}}
Language Template
This is used to add new languages to a tutorial. They need to be placed one after another with only a space in-between:
{{Tutorial_Translation|language=<Lanugage>|country_code=<Country Code>|url=Tutorial:<Tutorial Name Here w/ Lanuage>}}
Common Links Template
Place this code at the bottom of your tutorial if you want to have common links on the bottom Note: Currently in English only:
{{Tutorial_En_Bottom}}