In British - as opposed to American - English usage, the punctuation comes
inside the quotation marks
only if it belongs to the words of the quotation. For example, we would say: When did President Kennedy say "Ich bin ein Berliner"? The question mark is
outside the speech marks because the question is
mine, not President Kennedy's. As I understand this, Americans would put the question mark
inside, which to me is nonsensical...unless his mother had just whispered to him: "You're not Boston Irish, Jack. Your dad was a German and I had you in Berlin." Now
that might have produced the startled response that needed a question mark inside!
To answer your question, therefore, put within quotes only that which belongs there.