Template:Solution: Difference between revisions

From Math Puzzle Wiki
Jump to navigation Jump to search
Oscarlevin (talk | contribs)
No edit summary
Oscarlevin (talk | contribs)
No edit summary
Line 11: Line 11:
</noinclude>   
</noinclude>   


<includeonly>
<div class="NavFrame collapsed" style="text-align:left">
<div class="NavFrame collapsed" style="text-align:left">
<div class="NavHead" style="padding-left:1ex; background-color:#E0F5FF">Solution</div>
<div class="NavHead" style="padding-left:1ex; background-color:#E0F5FF">Solution</div>
Line 16: Line 17:
</div>
</div>
</div>
</div>
</includeonly>

Revision as of 13:26, 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:



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