Difference between revisions of "Help:Templates"

From War Thunder Wiki
Jump to: navigation, search
(Unhid categories, now created)
m
Line 16: Line 16:
 
* [[:Category:Navigation]] — navigation templates and navigation tables created using them.
 
* [[:Category:Navigation]] — navigation templates and navigation tables created using them.
 
* [[:Category:Design templates]] — the templates for which articles on aircraft, tanks, ships, their weapons, etc. are made out.
 
* [[:Category:Design templates]] — the templates for which articles on aircraft, tanks, ships, their weapons, etc. are made out.
** [[:Category:Article message]] —  informational messages in articles created using the template [[:Template:Ambox|Ambox]].
+
** [[:Category:Article messages]] —  informational messages in articles created using the template [[:Template:Ambox|Ambox]].
 
** [[:Category:Userboxes]] — information boxes that users can place on their personal pages.
 
** [[:Category:Userboxes]] — information boxes that users can place on their personal pages.
 
* [[:Category:Documentation]] — Template documentation. It is designed using [[:Template:Doc|doc]] and [[:Template:Docpage|docpage]] templates .
 
* [[:Category:Documentation]] — Template documentation. It is designed using [[:Template:Doc|doc]] and [[:Template:Docpage|docpage]] templates .

Revision as of 17:56, 25 January 2019

Templates are a class of special pages on the MediaWiki engine (on which War Thunder Wiki also works) whose contents can be displayed on any other page using only a short code to insert a template. In this case, the contents of the template will be displayed on another page only in the form in which it is recorded in the template itself.

You can read more about how templates work and are created on the MediaWiki engine in these articles:

This article provides brief information and describes the features of the use of templates in the War Thunder Wiki.

Template navigation

All templates are categorized according to their purpose. The main category for templates is called Category:Templates , it contains general-purpose templates and subcategories with highly specialized templates.

Some main subcategories are:

Applying templates

When using the code editor, templates are invoked as follows: {{Template name|(Parameters)}}

For example, typing {{Main|Help:Templates}} will produce:

Main article: Help:Templates

When using the visual editor, go to the "Templates" section of the "Insert" menu, and select the desired template by name.

When using the visual editor, the parameters used in this template will be automatically suggested for some templates. In all other cases, help on using a particular template can be found on its documentation page.

Useful templates

Popular and useful templates implemented in the War Thunder Wiki: