w:c:strategywiki>Najzere m (adding width parameter) |
w:c:strategywiki>Najzere m (adding spoiler class) |
||
Line 1: | Line 1: | ||
<br />'''Q:''' {{{question}}}<br />'''A:''' <div style="display:inline-block;color:silver;background:silver;width:{{{width|}}}">{{{answer}}}</div><br /><noinclude> | <br />'''Q:''' {{{question}}}<br />'''A:''' <div class="spoiler" style="display:inline-block;color:silver;background:silver;width:{{{width|}}}">{{{answer}}}</div><br /><noinclude> | ||
{{InvisiClues/Documentation}} | {{InvisiClues/Documentation}} | ||
[[Category:Templates|Q]]</noinclude> | [[Category:Templates|Q]]</noinclude> |
Revision as of 08:00, 7 June 2010
Q: {{{question}}}
A:
{{{answer}}}
The documentation for this template is transcluded from Template:InvisiClues/Documentation. Click here to edit it.
These templates are used for inserting hidden notes into pages without using templates like {{spoiler}} that collapse the content itself rather than merely obscuring it.
- To open an InvisiClue, enter {{InvisiClues|title=Clue box title here}}, or, without the title: {{InvisiClues}}.
- Follow this with a clue entry: {{clue|clue text goes here}}, or a question: {{question|question=visible question|answer=hidden answer}}. To set the width of the obscured answer, use the width parameter ({{question|question=visible question|answer=hidden answer|width=200px}}).
- When you are finished adding clues, close the box with {{clues end}}.
Here is an example InvisiClues box:
How do I create a page? |
Q: What does "Show changes" do? A: "Show changes" compares your text to the stored page. |