This will return the input only if the page is a (main) page, not a template.
{{not-in-template|}}
{{not-in-template|INPUTTEXT}}