Difference between revisions of "Template:Solution"

From Math Puzzle Wiki
Jump to: navigation, search
Line 4: Line 4:
 
</div>
 
</div>
 
</div></includeonly>
 
</div></includeonly>
<!-- ---------------------- -->
 
 
<noinclude>This is the template to be used when providing solutions.  To use the template, you would type the following:
 
<noinclude>This is the template to be used when providing solutions.  To use the template, you would type the following:
  

Revision as of 14:34, 6 July 2013

This is the template to be used when providing solutions. To use the template, you would type the following:

{{Solution | solution goes here }}

The advantage to this is that any text places where "solution goes here" occurs will be hidden when a user first views the page. This should help users avoid spoilers.

The results look like this:

Solution
This is the solution

Note, the use of the equals sign outside of math mode will cause errors. To prevent this, use math mode or use {{=}} instead.

See also Template:Hint and Template:Answer for including hints or answers with similar results.