Template:Notice/sandbox2

Note
The  indentation is intentionally verbose here; I don't care if it gets compressed, but I think it's more readable the way it is.

Test cases

 * image alt


 * image but blank alt


 * image but no alt


 * heading


 * header


 * heading and image alt


 * all (heading overrides header as intended)


 * small, all