Jump to content

Battle-rating template overhaul


Would it be ok to change the current Battle-rating template to something like this?

{{#switch: 1
| {{#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)
| {{#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) 
|#default = with a battle rating of {{specs|br|ab}} (AB), {{specs|br|rb}} (RB), and {{specs|br|sb}} (SB)}}

It should automatically change the format of the "with a battle rating of" message when the br on specs-card is updated, so it would save a lot of manual maintenance during br rebalances.

 

Are there any downsides? (Apart from having to change all the current {{Battle-rating|x}} tags)

  • Upvote 1
medal medal

Share this post


Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...