Template:ProgressiveHint: Difference between revisions

From The Talos Principle Wiki
added template data
m TemplateData
 
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 30: Line 28:
{
{
"params": {
"params": {
"1": {},
"1": {
"2": {},
"topic": {
"aliases": [
"aliases": [
"1"
"topic"
],
],
"description": "A short line explaining what problem the hint is addressing",
"description": "A short line explaining what problem the hint is addressing.",
"example": "a basic hint, if you're having trouble moving the connector",
"example": "a basic hint, if you're having trouble moving the connector",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"label": "Topic"
},
},
"hint": {
"2": {
"aliases": [
"aliases": [
"2"
"hint"
],
],
"description": "The text of the hint itself",
"description": "The text of the hint itself.",
"example": "Is there another angle from which the emitter is visible?",
"example": "Is there another angle from which the emitter is visible?",
"type": "content",
"type": "content",
"suggested": true
"suggested": true,
"label": "Hint text"
}
}
},
},

Latest revision as of 20: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