Template:InvisiClues/Documentation: Difference between revisions

Template page
w:c:strategywiki>Rocky
m (fix)
w:c:strategywiki>Garrett
(clarifying question usage)
Line 6: Line 6:


# To open an InvisiClue, enter <code><nowiki>{{InvisiClue|title=Clue box title here}}</nowiki></code><br/>or, without the title: <code><nowiki>{{InvisiClue}}</nowiki></code>
# To open an InvisiClue, enter <code><nowiki>{{InvisiClue|title=Clue box title here}}</nowiki></code><br/>or, without the title: <code><nowiki>{{InvisiClue}}</nowiki></code>
# Follow this with a clue entry: <code><nowiki>{{Clue|clue text goes here}}</nowiki></code><br/>Or a question: <code><nowiki>{{Question|question=question (visible)|answer=answer (hidden)}}</nowiki></code><br/>Note that, at the moment, using questions will restart the counting of subsequent numbers.
# Follow this with a clue entry: <code><nowiki>{{Clue|clue text goes here}}</nowiki></code><br/>Or a question: <code><nowiki>{{Question|question=question (visible)|answer=answer (hidden)}}</nowiki></code><br/>Note that in order for questions to not break the numbering the template must run directly on at the end of the previous clue, e.g. <code><nowiki>{{clue|clue=Clue}}{{question|question=question}}</nowiki></code>
# When you are finished adding clues, close the box with <code><nowiki>{{Clues end}}</nowiki></code>
# When you are finished adding clues, close the box with <code><nowiki>{{Clues end}}</nowiki></code>


Line 16: Line 16:
{{clue|Enter your text.}}
{{clue|Enter your text.}}
{{clue|When you're done click "Show preview" to preview your changes.}}
{{clue|When you're done click "Show preview" to preview your changes.}}
{{clue|When you're satisfied, click "Save page".}}<br>{{question|question=What does "Show changes" do?|answer="Show changes" compares your text to the stored page. The stored page is on the left, in yellow, while your text is on the right, in green; red text indicates partial changes to lines that were otherwise kept. If you are creating a new page there is nothing to compare it to.}}
{{clue|When you're satisfied, click "Save page".}}{{question|question=What does "Show changes" do?|answer="Show changes" compares your text to the stored page. The stored page is on the left, in yellow, while your text is on the right, in green; red text indicates partial changes to lines that were otherwise kept. If you are creating a new page there is nothing to compare it to.}}
{{clue|To stop the no.s reseting, add a <nowiki><br></nowiki> to the end of the clue line and immediately add the question.}}
{{clue|To stop the no.s reseting, add a <nowiki><br></nowiki> to the end of the clue line and immediately add the question.}}
{{clues end}}
{{clues end}}

Revision as of 03:11, 17 May 2007


This documentation is transcluded into {{InvisiClues}}, {{Clue}}, {{Question}}, and {{Clues end}} so that it may be edited without requiring an update for all uses of the templates.


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 {{InvisiClue|title=Clue box title here}}
    or, without the title: {{InvisiClue}}
  2. Follow this with a clue entry: {{Clue|clue text goes here}}
    Or a question: {{Question|question=question (visible)|answer=answer (hidden)}}
    Note that in order for questions to not break the numbering the template must run directly on at the end of the previous clue, e.g. {{clue|clue=Clue}}{{question|question=question}}
  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".
Q: What does "Show changes" do?
A:
"Show changes" compares your text to the stored page. The stored page is on the left, in yellow, while your text is on the right, in green; red text indicates partial changes to lines that were otherwise kept. If you are creating a new page there is nothing to compare it to.

  1. To stop the no.s reseting, add a <br> to the end of the clue line and immediately add the question.