This, my friend, was exactly what I need to get started on practicing to write dialogues. Thank you! I think that this thread will be useful to others that wonder the same things as I did, not that many people do wonder this very often.
I love how you grabbed my 2 minute story and took it further.
his glass and screamed, "Hail to the queen!" The entire room
I notice how there is no punctuation after the dialogue in the story text. Is that how it works? Comma before the dialogue while the dialogue ends the sentence.
Glad it was helpful. Yes, if the punctuation ending the quoted material is a sentence-ending punctuation mark, then there is no punctuation after the quotation mark. And the comma before the quoted material is used in most cases where there is narration first. Sometimes you will have a quote divided around some narration, or narration divided around a quote.
Harold grumbled, "Hail to the queen..." and smacked himself in the forehead.
"In the event of my..." Susan choked back a sob, "untimely death..."
There's one odd bit of punctuation around quotation marks. I personally disagree with this "rule" and do not use it, but if I even have an editor working on my stuff they tend to change my punctuation around to fit this convention. The "rule" is, when a quoted statement would end with a period (only a period - exclamation points, question marks, and ellipses aren't included) but be followed by more narration, replace that period with a comma.
"I don't care," she said.
I personally think that this convention makes no damn sense and is confusing to read. So I guess I'm boycotting it.
Oh, there's another rule that's a good basic rule. You can never have two different people's dialogue in the same paragraph.