Help:Template
Using templates in articles
Contents |
[edit] Definition
Templates are shortcuts to display specific information autmatically. TM Wiki uses templates to facilitate the writing and page setup.
To use a template you need to set its name between two sets of curly brackets, or braces: "{". Example: to use Template:ToDo, add the following line to your text:
{{ToDo}}
[edit] Available templates
[edit] Working indicators
Two simple templates are available in this category. The first one, Template:ToDo, is used to put the article in a "to do" category. This indicates that the article is not yet finished and needs improvement. Don't hesitate to use this template in each section that needs completion or rewriting.
{{toDo}}
The second one, Template:Translate, is used when you've finished an article, and it need translation into French. If you've added a big section and you don't have the time or knowledge to translate it yourself, simply add this template to section in need of translation. The article will be set to a specific category for translation.
{{translate}}
[edit] Categories using templates
Some categories use templates instead of regular Category tags. These templates add a table to be completed, so every article in this category is coherent with this style.
These categories are:
Instead of using the "Category" tag, use the those templates:
- Template:Software, in an article in the Tools category
- Template:Player, in an article in the People category
- Template:Website, in an article in the Websites category
- Template:Team, in an article in the Teams category
See the template to check their parameters
The template category lists all the templates used as category taggers.
[edit] External links
When you create an external link (non-wiki), please use a language tag to show what language is used on this website. For now, there are two language templates : "en" (English) and "fr" (French).
Example:
* {{en}} [http://www.cnn.com CNN Website]
shows:
- (en) CNN Website
[edit] Do not create new templates
Please, don't create new templates. If you believe a new template is necessary, please contact the admins to discuss this.
- Administrators list.
[edit] Good behaviour rules
You are reminded to always follow them.
- Back to help main page.