"In" is correct, and "at" is wrong, regardless of the convention you use for naming the war. Where did you get the idea from that the style of naming affected the preposition?
The only time that 'at' can collocate with 'war' is in the adverbial phrase 'at war' - note the lack of article. For example, you might say "England was at war with France at that time".