A warning line should look like a warning section in Guides

This is another improvement for Guides. related to #15823 and #15808.