Template:Ifpreview/doc
< Template:Ifpreview
Jump to navigation
Jump to search
Revision as of 04:20, 28 March 2018 by imported>Daask (Move content from Template:Ifpreview - See that page history for attribution)
| This is a documentation subpage for Template:Ifpreview. It contains usage information, categories and other content that is not part of the original template page. |
Description
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.