DnaGonite 10 Report post Posted March 3, 2019 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) 1 Share this post Link to post Share on other sites
blastedryan 937 Report post Posted March 4, 2019 Looks fine. You wouldn't need to change the existing calls since the input would be simply be ignored. Share this post Link to post Share on other sites