- This documentation is transcluded from Template:Hidden/doc. (edit)
Template Documentation
This is used any time there is text you want to hide.
Typical usage would look like this.
{{hidden|
Whatever text that is hidden by default...
}}
However if there is more then one hidden template {{hidden}} used on a page then you will need to add an unique identifier, id shown in the code block below. It can be anything, a single word or a number. I used Applesauce in the example, but you can use a safer word. Just be sure that each use of the hidden template on the page has a different id. If they are not all different then they will all open and close at the same time.
{{hidden|id=applesauce|
Whatever text that you want to hide.
}}
If you want to change the default message from "The contents of this section are hidden to save space. Click on this notice to view." Then add the message parameter.
{{hidden|message=An example for the documentation. Click to read more|
That's it!
}}
This is what that code produces.
|
An example for the documentation. Click to read more
|
|