Difference between revisions of "Template:Battle-rating/Documentation"

From War Thunder Wiki
Jump to: navigation, search
m (Fixed description to reflect new code)
Line 14: Line 14:
 
* <code><nowiki>{{Battle-rating|4}}</nowiki></code> will output ''with a battle rating of X.X (AB/SB) and X.X (RB)''
 
* <code><nowiki>{{Battle-rating|4}}</nowiki></code> will output ''with a battle rating of X.X (AB/SB) and X.X (RB)''
 
* <code><nowiki>{{Battle-rating|5}}</nowiki></code> will output ''with a battle rating of X.X (AB) and X.X (RB/SB)''
 
* <code><nowiki>{{Battle-rating|5}}</nowiki></code> will output ''with a battle rating of X.X (AB) and X.X (RB/SB)''
* <code><nowiki>{{Battle-rating}}</nowiki></code>, <code><nowiki>{{Battle-rating|6}}</nowiki></code> or any other variation will output: ''(Error - please see '''Template:Battle-rating''' for details)''
+
* <code><nowiki>{{Battle-rating}}</nowiki></code> or any other numbers (e.g. <code><nowiki>{{Battle-rating|6}}</nowiki></code>) will produce: ''with a battle rating of X.X (AB), X.X (RB), and X.X (SB)''

Revision as of 18:46, 6 February 2019

Description

The Template:Battle-rating is applied to input battle-rating data in the system onto pages in a set format.

Use

{{Battle-rating|#}}

Parameters

Different numbers are made to indicate different patterns.

  • {{Battle-rating|1}} will output with a battle rating of X.X (AB/RB/SB)
  • {{Battle-rating|2}} will output with a battle rating of X.X (AB), X.X (RB), and X.X (SB)
  • {{Battle-rating|3}} will output with a battle rating of X.X (AB/RB) and X.X (SB)
  • {{Battle-rating|4}} will output with a battle rating of X.X (AB/SB) and X.X (RB)
  • {{Battle-rating|5}} will output with a battle rating of X.X (AB) and X.X (RB/SB)
  • {{Battle-rating}} or any other numbers (e.g. {{Battle-rating|6}}) will produce: with a battle rating of X.X (AB), X.X (RB), and X.X (SB)