Template:ProgressiveHint: Difference between revisions
Tearphones (talk | contribs) adds a colon at the end of the topic |
m TemplateData |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
'''{{{topic|}}}{{{1|}}}:''' | '''{{{topic|}}}{{{1|}}}:''' | ||
{{Spoiler|{{{hint|}}}{{{2|}}}|hint}} | {{Spoiler|{{{hint|}}}{{{2|}}}|hint}}<noinclude> | ||
<noinclude> | |||
A template to help write progressive hints. | A template to help write progressive hints. | ||
Line 26: | Line 24: | ||
{{ProgressiveHint|a basic hint|place the connector first}} | {{ProgressiveHint|a basic hint|place the connector first}} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"aliases": [ | |||
"topic" | |||
], | |||
"description": "A short line explaining what problem the hint is addressing.", | |||
"example": "a basic hint, if you're having trouble moving the connector", | |||
"type": "string", | |||
"suggested": true, | |||
"label": "Topic" | |||
}, | |||
"2": { | |||
"aliases": [ | |||
"hint" | |||
], | |||
"description": "The text of the hint itself.", | |||
"example": "Is there another angle from which the emitter is visible?", | |||
"type": "content", | |||
"suggested": true, | |||
"label": "Hint text" | |||
} | |||
}, | |||
"description": "Helps you write a progressive hint", | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 19:08, 23 November 2023
:
[ hint ]
A template to help write progressive hints.
Usage
{{ProgressiveHint | topic = a basic hint | hint = place the connector first }}
looks like this:
a basic hint:
[ hint ]
place the connector first
Alternately use the shorthand notation,
{{ProgressiveHint|a basic hint|place the connector first}}
Helps you write a progressive hint
Parameter | Description | Type | Status | |
---|---|---|---|---|
Topic | 1 topic | A short line explaining what problem the hint is addressing.
| String | suggested |
Hint text | 2 hint | The text of the hint itself.
| Content | suggested |