I’m the notes on the page; I am wedged in the door;
I’m the lights on the stage; I can tread on the floor;
I am paying the bill; I’m put down when at war;
I am three in the yard; but in these lines, I’m four.
Who am I?
UPDATE: Riddle solved by Rebecca. See comments for answer.