Template:Ifpreview

This template returns the then parameter if it is included in an editing preview, else it returns the else parameter if it is included in a saved page. This can be useful for giving instructions to editors before they save the page, without those instructions cluttering the saved page if work is done incorrectly.