Template:ProgressiveHint: Difference between revisions

From The Talos Principle Wiki
adds a colon at the end of the topic
added template data
Line 26: Line 26:
{{ProgressiveHint|a basic hint|place the connector first}}
{{ProgressiveHint|a basic hint|place the connector first}}
</pre>
</pre>
<templatedata>
{
"params": {
"1": {},
"2": {},
"topic": {
"aliases": [
"1"
],
"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
},
"hint": {
"aliases": [
"2"
],
"description": "The text of the hint itself",
"example": "Is there another angle from which the emitter is visible?",
"type": "content",
"suggested": true
}
},
"description": "Helps you write a progressive hint",
"format": "block"
}
</templatedata>
</noinclude>

Revision as of 06:25, 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

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional
topictopic 1

A short line explaining what problem the hint is addressing

Example
a basic hint, if you're having trouble moving the connector
Stringsuggested
hinthint 2

The text of the hint itself

Example
Is there another angle from which the emitter is visible?
Contentsuggested