Help:Template

From TM Wiki

Jump to: navigation, search

Using templates in articles

Contents

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}}

Available templates

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}}

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:

See the template to check their parameters

The template category lists all the templates used as category taggers.

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:

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.

Good behaviour rules

You are reminded to always follow them.

Personal tools
In other languages