Template:Question: Difference between revisions

Template page
w:c:strategywiki>Garrett
m (fixing line break)
m (10 revisions imported: Imported from https://strategywiki.org/)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<br/>'''Q:''' {{{question}}}<br/>'''A:''' <span style="color:silver;background:silver;">{{{answer}}}</span><br/><noinclude>
:'''Q:''' {{{question}}}
:'''A:''' <div class="spoiler" style="display:inline-block;color:silver;background:silver;width:{{{width|}}}"><div>{{{answer}}}</div></div><br /><noinclude>
{{InvisiClues/Documentation}}
{{InvisiClues/Documentation}}
[[Category:Templates|I]]</noinclude>
[[Category:Templates|Q]]</noinclude>

Latest revision as of 18:27, 28 October 2023

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.

  1. To open an InvisiClue, enter {{InvisiClues|title=Clue box title here}}, or, without the title: {{InvisiClues}}.
  2. 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}}).
  3. When you are finished adding clues, close the box with {{clues end}}.

Here is an example InvisiClues box:

How do I create a page?
  1. Type a page in the "Search" box and click "Go".
  2. If you don't find a page, click "Edit".
  3. Enter your text.
  4. When you're done click "Show preview" to preview your changes.
  5. When you're satisfied, click "Save page".
  6. To stop the numbers resetting, append the question to the end of the clue line without a line break.
Q: What does "Show changes" do?
A:
"Show changes" compares your text to the stored page.