Template:Answer

(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
Click on "Ans" to change it to "Hide" and show the answer (42).  
 
Click on "Ans" to change it to "Hide" and show the answer (42).  
 
Click on "Hide" to change it back and hide the answer.
 
Click on "Hide" to change it back and hide the answer.
<pre>
+
<pre>{{Answer|42}}</pre>
{{Answer|42}}
+
</pre>
+
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>

Revision as of 17:29, 22 January 2019

{{{1}}}

Usage

This template provides a hidden answer that a user can click to show and hide. The text below will result in a "Ans" link. Click on "Ans" to change it to "Hide" and show the answer (42). Click on "Hide" to change it back and hide the answer.

{{Answer|42}}
Personal tools
Namespaces
Variants
Actions
Events
Learning Resources
HFOSS Projects
Evaluation
Navigation
Toolbox