This feature allow two new status for cards regarding the chosen deck format :
1) The card have been banned in the format. When checking the details about the card, it appears as a red background with a new kind of forbidden icon... And a tooltip to make things clearer. When building a deck, the card is simply considered as an illegal card (grayed and striked).
2) The card have been errated in the format. The goal is to allow a fan-made format to indicated a card text have been errata'd but only for its own format. It appears with a warning when looking at the card, and yet a tooltip to make things clear. When building a deck, the card appears with an exclamation point in the availability list and in the deck list. The same as for the restricted list, but with an appropriate tooltip.
This way, the card text in SWDB should only be modified and pointed with has_errata = true if the card have been errated in all formats. The errata itself must be checked in the corresponding Holocron but... It seems me the cleanest way to do it.
To work properly, this PR will need :
The corresponding PR for format new data on the data repository.
The new translation : card.format.banned = The card has been banned in this format
The new translation : card.format.errata = The card has been errata'd in this specific format
This feature allow two new status for cards regarding the chosen deck format :
1) The card have been banned in the format. When checking the details about the card, it appears as a red background with a new kind of forbidden icon... And a tooltip to make things clearer. When building a deck, the card is simply considered as an illegal card (grayed and striked).
2) The card have been errated in the format. The goal is to allow a fan-made format to indicated a card text have been errata'd but only for its own format. It appears with a warning when looking at the card, and yet a tooltip to make things clear. When building a deck, the card appears with an exclamation point in the availability list and in the deck list. The same as for the restricted list, but with an appropriate tooltip.
This way, the card text in SWDB should only be modified and pointed with
has_errata = true
if the card have been errated in all formats. The errata itself must be checked in the corresponding Holocron but... It seems me the cleanest way to do it.To work properly, this PR will need :
card.format.banned
=The card has been banned in this format
card.format.errata
=The card has been errata'd in this specific format