::While WP:MOS strives to achieve consistency within any given article, there is no requirement to use citation templates, nor  prescription on whether the ref is placed before or after the punctuation mark. In fact, as I understand it, both are acceptable: Americans (e.g. The Chicago Manual of Style) tend to place it after the punctuation, while the British convention is before it. The only requirement in this connection, per WP:CITE, is that the "whole article should conform to that style".