Difference between revisions of "Template:Battle-rating"

From War Thunder Wiki
Jump to: navigation, search
(No longer requires manual input for correct formatting)
 
(37 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#switch: {{{x}}}  
+
<includeonly>
|1 = with a battle rating of BR1 (AB/RB/SB)
+
{{#switch: 1
|2 = with a battle rating of BR2 (AB), BR2 (RB), BR2 (SB)
+
| {{#expr: {{Specs|br|ab}} = {{Specs|br|rb}} and {{Specs|br|rb}} = {{Specs|br|sb}}}} = with a battle rating of {{specs|br|ab}} (AB/RB/SB)
| #default = (Error - default BR not available - please contact a Moderator)
+
| {{#expr: {{Specs|br|ab}} = {{Specs|br|rb}}}} = with a battle rating of {{specs|br|ab}} (AB/RB) and {{specs|br|sb}} (SB)
}}
+
| {{#expr: {{Specs|br|ab}} = {{Specs|br|sb}}}} = with a battle rating of {{specs|br|ab}} (AB/SB) and {{specs|br|rb}} (RB)
 
+
| {{#expr: {{Specs|br|rb}} = {{Specs|br|sb}}}} = with a battle rating of {{specs|br|ab}} (AB) and {{specs|br|rb}} (RB/SB)  
<!-- To use on regular wiki page:
+
|#default = with a battle rating of {{specs|br|ab}} (AB), {{specs|br|rb}} (RB), and {{specs|br|sb}} (SB)}}</includeonly><noinclude>
* {{Battle-rating|1}} will output ''with a battle rating of {{Specs|br|ab}} (AB/RB/SB)''
+
{{Doc}}
* {{Battle-rating|2}} will output ''with a battle rating of {{Specs|br|ab}} (AB), {{Specs|br|rb}} (RB), {{Specs|br|sb}} (SB)''
+
[[Category:Templates]]
* {{Battle-rating}} or any other variation will output: #default = (Error - default BR not available - please contact a Moderator)-->
+
</noinclude>

Latest revision as of 07:26, 4 March 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}}