Just digging into this a bit more.
To clarify: I indicated (or tried to indicate) that the wizard and the rogue
both popped up from behind the parapet, both made a ranged attack which reveals their location to the enemies, then both ducked behind the same parapet (presumably giving the rogue an opportunity to bonus action hide and... not so much for the wizard). Next round... they both pop up and make a ranged attack.
Some (okay, most) are saying that the rogue has a chance at Advantage on this attack due to "hiding", while I think we all agree that the wizard does not get a chance at Advantage due to "hiding". What's going on here mechanically and narratively that makes sense if both characters are acting basically the same under the same circumstances?
(And I hope I haven't butchered this example... but... then again I did invoke an example... so I partly deserve any pain and frustration that might be coming my way...

)