Template:ProgressiveHint: Difference between revisions

From The Talos Principle Wiki
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

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Topic1 topic

A short line explaining what problem the hint is addressing.

Example
a basic hint, if you're having trouble moving the connector
Stringsuggested
Hint text2 hint

The text of the hint itself.

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