Template:Alternative/doc

Usage
This template is used to add an alternative option to an existing template. Once this template is used, the alternative option will be available by setting the  parameter equal to. .

Parameters

 * Default: The information to be displayed when the  parameter is omitted or set to anything but yes.
 * Alternative: The information to be used when the  parameter is set to yes.

Examples
In order to use this template, it must be substed into another. For this example, that will be Template:Alternative/example. First, one would type the following code into that page: Bob said "." After the page is saved, the page's code would read: Bob said "."

Then, when transcluding that page without the alt option (typed as ), the following text would be displayed:

Or, when transcluding with  (typed as , one would receive: