Template:Question Template/doc
About
This template creates a "Question box" on your wiki page. When the users click on the Question box, the question box will reveal the hidden content.
How to Use
Please see: Documentation:How to Use the Question template
Example usage
The following code will create a box with the title box, which refers to the subpage /box1. The box is collapsed by default.
{{Question_Template|box1|title=title here|collapsed=yes}}
This is an example of the Question template (edit) |
---|
Template:Question Template/doc/questionbox |
Parameters
- 1
- The first, anonymous parameter is the name of the subpage (not including the slash).
- title
- By default, the box title is the same as the subpage name. Use this parameter when a different title is desired.
- collapsed
- If nonempty, the box will be collapsed by default.
- width
- width in percentage
Credit
This template is based on the Question Box Template from the MER Project.