w:c:strategywiki>Garrett (done for now) |
m (11 revisions imported: Imported from https://strategywiki.org/) |
||
(10 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
---- | ---- | ||
<includeonly>The documentation for this template is transcluded from [[Template:InvisiClues/Documentation]]. Click <span class="plainlinks">[http://strategywiki.org/w/index.php?title=Template:InvisiClues/Documentation&action=edit here]</span> to edit it.</includeonly> | <includeonly>The documentation for this template is transcluded from [[Template:InvisiClues/Documentation]]. Click <span class="plainlinks">[http://strategywiki.org/w/index.php?title=Template:InvisiClues/Documentation&action=edit here]</span> to edit it.</includeonly> | ||
<noinclude>This documentation is transcluded into {{ | <noinclude>This documentation is transcluded into {{t|InvisiClues}}, {{t|Clue}}, {{t|Question}}, and {{t|Clues end}} so that it may be edited without requiring an update for all uses of the templates.</noinclude> | ||
---- | ---- | ||
These templates are used for inserting hidden notes into pages without using templates like {{ | These templates are used for inserting hidden notes into pages without using templates like {{t|spoiler}} that collapse the content itself rather than merely obscuring it. | ||
# To open an InvisiClue, enter | # To open an InvisiClue, enter '''<nowiki>{{InvisiClues|title=Clue box title here}}</nowiki>''', or, without the title: '''<nowiki>{{InvisiClues}}</nowiki>'''. | ||
# Follow this with a clue entry: | # Follow this with a clue entry: '''<nowiki>{{clue|clue text goes here}}</nowiki>''', or a question: '''<nowiki>{{question|question=visible question|answer=hidden answer}}</nowiki>'''. To set the width of the obscured answer, use the width parameter ('''<nowiki>{{question|question=visible question|answer=hidden answer|width=200px}}</nowiki>'''). | ||
# When you are finished adding clues, close the box with | # When you are finished adding clues, close the box with '''<nowiki>{{clues end}}</nowiki>'''. | ||
Here is an example InvisiClues box: | Here is an example InvisiClues box: | ||
Line 17: | Line 17: | ||
{{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".}} | {{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 | {{clue|To stop the numbers resetting, append the question to the end of the clue line without a line break.}} | ||
{{question|question=What does "Show changes" do?|answer="Show changes" compares your text to the stored page.}} | |||
{{clues end}} | {{clues end}} | ||
[[ | |||
<noinclude>[[Category:Template documentation|I]]</noinclude> |
Latest revision as of 18:27, 28 October 2023
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.
- 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? |
|