Difference between revisions of "Template:Answer"

From Math Puzzle Wiki
Jump to: navigation, search
Line 11: Line 11:
  
 
The results look like this:  
 
The results look like this:  
{{Answer | This is the solution}}
+
{{Answer | This is the answer}}
  
 
Note, the use of the equals sign outside of math mode will cause errors.  To prevent this, use math mode or use <nowiki>{{=}}</nowiki> instead.
 
Note, the use of the equals sign outside of math mode will cause errors.  To prevent this, use math mode or use <nowiki>{{=}}</nowiki> instead.

Revision as of 14:32, 6 July 2013

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

{{Answer | answer goes here }}

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

The results look like this:

Answer
This is the answer

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:Solution for including hints or answers with similar results.