Difference between revisions of "Template:Hint"

From Math Puzzle Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly><div class="mw-collapsible mw-collapsed" style="text-align:left; border: 1; padding-left:1ex; background-color:#ddFFe3;">
+
<includeonly><div class="mw-collapsible mw-collapsed" style="text-align:left; border: 1px solid #ffccff; margin: 2px; padding-left:1ex; background-color:#ddFFe3;">
 
<b>Hint</b>
 
<b>Hint</b>
 
<div class="mw-collapsible-content" style="padding: 4px; background-color:#eeffff;">{{{1}}}</div></div></includeonly>
 
<div class="mw-collapsible-content" style="padding: 4px; background-color:#eeffff;">{{{1}}}</div></div></includeonly>

Revision as of 19:22, 6 July 2013

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

{{Hint | hint goes here }}

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

The results look like this:

Hint
This is the Hint

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