This can be used as a general in-text citation example for a direct quote. But don’t forget that every citation needs to be properly incorporated into your body paragraph/essay text, whether direct, paraphrase/summary, primary, or secondary.
Below is a default in-text citation sample, one mentioning the author name and one mentioning the character in question (useful for literary criticism/analysis). Both use a story we study in ENG 1002, ENG 1003, and ENG 2013 but with a fake page number:
The girl states, “will you please please please please please stop talking” (Hemingway 525).
Hemingway writes, “will you please please please please stop talking” (525).
And this is what you do if you’re using a database source that does not have page numbers.
The author writes, “that was the best scholarly evidence about Amelia Earhart’s disappearance I had ever read” (Smith).
Smith writes, “that was the best scholarly evidence about Amelia Earhart’s disappearance I had ever read.”