Template:Ambox

From War Thunder Wiki
Jump to: navigation, search

Description

This template is used to create article message boxes.

Using

{{Ambox
 |title =
 |text =
 |background =
 |border =
 |img =
 |cat = 
}}

Options

  • title — title (default: no title)
  • text — text (default: The quick brown fox jumps over the lazy dog)
  • background — background color in RGB format (default: #BBDEFB)
  • border — border color (default: #2196F3)
  • img — the full name of the image.
  • cat — a category without the prefix "Category:" (default: none). It is advisable not to include the category in the template itself.

Notes

  • You cannot use the "=" symbol inside parameters, since the wiki considers it a separator.
  • You do not need to specify the unit of measurement for px, otherwise you will get something like “pxpx” after include.
  • Each box template must be documented. From the documentation, it should be clear what kind of plate it is, what it is for, and when it is used.
  • Article message boxes are convenient for specifying
  • Article message boxes are convenient for specifying categories of articles. For example, the "Writing" box automatically adds the article to the category WIP articles. Do not neglect this opportunity.

Example

{{Ambox
 |title = Writing in process...
 |text = This article is being edited by the member '''{{{1}}}''' (start date). Other participants are requested to not make any changes while this warning is here.
 |background = #BBDEFB
 |border = #2196F3
 |img = File:Icons Write.png
}}

Displayed as:

Icons Write.pngWriting in process...
This article is being edited by the member {{{1}}} (start date). Other participants are requested to not make any changes while this warning is here.