Template:Usertalk other/doc

This template detects whether the page it is used on is a user talk page, and outputs different content accordingly.

Basic usage
The template takes two parameters, one containing the wikicode to output if used on a user's talkpage, the other containing the wikicode to output if used in any other page. This template can be used to prevent message and warning templates being used on pages other than user talk pages.

Demospace parameter
The "demospace" parameter can be used to force the template to display the output it would produce on a user talk or other page, regardless of the type of page it is actually used on.

Will force the template to display, regardless of which namespace it is actually in.