Difference between revisions of "Template:Battle-rating"

From War Thunder Wiki
Jump to: navigation, search
(Undo revision 14555 by U30585107 (talk) Good idea, but the formatting broke the template.)
(No longer requires manual input for correct formatting)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#switch: {{{1|}}}
+
{{#switch: 1
|1=with a battle rating of {{specs|br|ab}} (AB/RB/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)
|2=with a battle rating of {{specs|br|ab}} (AB), {{specs|br|rb}} (RB), and {{specs|br|sb}} (SB)
+
| {{#expr: {{Specs|br|ab}} = {{Specs|br|rb}}}} = with a battle rating of {{specs|br|ab}} (AB/RB) and {{specs|br|sb}} (SB)
|3=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)
|4=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)  
|5=with a battle rating of {{specs|br|ab}} (AB) and {{specs|br|rb}} (RB/SB)
+
|#default = with a battle rating of {{specs|br|ab}} (AB), {{specs|br|rb}} (RB), and {{specs|br|sb}} (SB)}}</includeonly><noinclude>
|#default=with a battle rating of {{specs|br|ab}} (AB), {{specs|br|rb}} (RB), and {{specs|br|sb}} (SB)
 
</includeonly><noinclude>
 
 
{{Doc}}
 
{{Doc}}
 
[[Category:Templates]]
 
[[Category:Templates]]
</noinclude>
+
</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}}