How Much Do TV Writers Get Paid Per Episode?

How much do first time screenwriters make?

.

Do TV writers get royalties?

How much do TV writers make per episode?

How much are TV show writers paid?