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

From War Thunder Wiki
Jump to: navigation, search
(Created doc)
 
Line 1: Line 1:
 
{{docpage}}
 
{{docpage}}
<!--
+
 
To use on regular wiki page:
+
== Description ==
* {{Battle-rating|1}} will output ''with a battle rating of X.X (AB/RB/SB)''
+
The Template:Battle-rating is applied to input battle-rating data in the system onto pages in a set format.
* {{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)''
+
== Use ==
* {{Battle-rating|4}} will output ''with a battle rating of X.X (AB/SB) and X.X (RB)''
+
<code><nowiki>{{Battle-rating|#}}</nowiki></code>
* {{Battle-rating|5}} will output ''with a battle rating of X.X (AB) and X.X (RB/SB)''
+
 
* {{Battle-rating}}, {{Battle-rating|6}} or any other variation will output: ''(Error - please see '''Template:Battle-rating''' for details)''
+
== Parameters ==
-->
+
Different numbers are made to indicate different patterns.
 +
* <code><nowiki>{{Battle-rating|1}}</nowiki></code> will output ''with a battle rating of X.X (AB/RB/SB)''
 +
* <code><nowiki>{{Battle-rating|2}}</nowiki></code> will output ''with a battle rating of X.X (AB), X.X (RB), and X.X (SB)''
 +
* <code><nowiki>{{Battle-rating|3}}</nowiki></code> will output ''with a battle rating of X.X (AB/RB) and X.X (SB)''
 +
* <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}}</nowiki></code>, <code><nowiki>{{Battle-rating|6}}</nowiki></code> or any other variation will output: ''(Error - please see '''Template:Battle-rating''' for details)''

Revision as of 23:08, 5 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}}, {{Battle-rating|6}} or any other variation will output: (Error - please see Template:Battle-rating for details)