Template:Answer

(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
 
This template provides a hidden answer that a user can click to show and hide.
 
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.
 
<pre>
 
<pre>
 
{{Answer|42}}
 
{{Answer|42}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Revision as of 17:23, 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