Template:Puzzle Element List: Difference between revisions

From The Talos Principle Wiki
m TESTING with auto values
m TemplateData
Line 1: Line 1:
{{#if: {{{Accumulator|}}} |
{{#ifeq: {{{Accumulator|}}} | true |
* [[Accumulator]] | }}{{#if: {{{Activator|}}} |
* [[Accumulator]] | }}{{#ifeq: {{{Activator|}}} | true |
* [[Activator]] | }}{{#if: {{{Buzzer|}}} |
* [[Activator]] | }}{{#ifeq: {{{Blue door|}}} | true |
* [[Buzzer]] | }}{{#if: {{{Clone|}}} |
* [[Blue door]] | }}{{#ifeq: {{{Buzzer|}}} | true |
* [[Clone]] | }}{{#if: {{{Connector|}}} |
* [[Buzzer]] | }}{{#ifeq: {{{Clone|}}} | true |
* [[Connector]] | }}{{#if: {{{Driller|}}} |
* [[Clone]] | }}{{#ifeq: {{{Connector|}}} | true |
* [[Driller]] | }}{{#if: {{{Emitter|}}} |
* [[Connector]] | }}{{#ifeq: {{{Driller|}}} | true |
* [[Emitter]] | }}{{#if: {{{Fan|}}} |
* [[Driller]] | }}{{#ifeq: {{{Fan|}}} | true |
* [[Fan]] | }}{{#if: {{{Gravshifter|}}} |
* [[Fan]] | }}{{#ifeq: {{{Gravshifter|}}} | true |
* [[Gravshifter]] | }}{{#if: {{{Guard|}}} |
* [[Gravshifter]] | }}{{#ifeq: {{{Guard|}}} | true |
* [[Guard]] | }}{{#if: {{{Hexahedron|}}} |
* [[Guard]] | }}{{#ifeq: {{{Hexahedron|}}} | true |
* [[Hexahedron]] | }}{{#if: {{{Inverter|}}} |
* [[Hexahedron]] | }}{{#ifeq: {{{Inverter|}}} | true |
* [[Inverter]] | }}{{#if: {{{Jammer|}}} |
* [[Inverter]] | }}{{#ifeq: {{{Jammer|}}} | true |
* [[Jammer]] | }}{{#if: {{{Ladder|}}} |
* [[Jammer]] | }}{{#ifeq: {{{Ladder|}}} | true |
* [[Ladder]] | }}{{#if: {{{Laser|}}} |
* [[Ladder]] | }}{{#ifeq: {{{Mover|}}} | true |
* [[Laser]] | }}{{#if: {{{Mover|}}} |
* [[Mover]] | }}{{#ifeq: {{{Platform|}}} | true |
* [[Mover]] | }}{{#if: {{{Plasma Door|}}} |
* [[Platform]] | }}{{#ifeq: {{{Pressure plate|}}} | true |
* [[Plasma Door]] | }}{{#if: {{{Platform|}}} |
* [[Pressure plate]] | }}{{#ifeq: {{{Purple barrier|}}} | true |
* [[Platform]] | }}{{#if: {{{Pressure Plate|}}} |
* [[Purple barrier]] | }}{{#ifeq: {{{Receiver|}}} | true |
* [[Pressure Plate]] | }}{{#if: {{{Purple Barrier|}}} |
* [[Receiver]] | }}{{#ifeq: {{{Recorder|}}} | true |
* [[Purple Barrier]] | }}{{#if: {{{Receiver|}}} |
* [[Recorder]] | }}{{#ifeq: {{{RGB converter|}}} | true |
* [[Receiver]] | }}{{#if: {{{Recorder|}}} |
* [[RGB converter]] | }}{{#ifeq: {{{Swapper|}}} | true |
* [[Recorder]] | }}{{#if: {{{RGB Converter|}}} |
* [[Swapper]] | }}{{#ifeq: {{{Switch|}}} | true |
* [[RGB Converter]] | }}{{#if: {{{Swapper|}}} |
* [[Switch]] | }}{{#ifeq: {{{Teleporter|}}} | true |
* [[Swapper]] | }}{{#if: {{{Switch|}}} |
* [[Teleporter]] | }}{{#ifeq: {{{Turret|}}} | true |
* [[Switch]] | }}{{#if: {{{Teleporter|}}} |
* [[Teleporter]] | }}{{#if: {{{Turret|}}} |
* [[Turret]] | }}
* [[Turret]] | }}
<noinclude>== Usage ==
<noinclude>== Usage ==
{{Puzzle Element List
|Accumulator=true
|Pressure Plate=true
|Turret=true
}}
<templatedata>
<templatedata>
{
{
Line 39: Line 32:
"type": "boolean",
"type": "boolean",
"autovalue": "true",
"autovalue": "true",
"description": "Do NOT change the box text from \"true\". If the puzzle doesn't use this, remove this parameter by unchecking its box."
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
},
"Activator": {
"Activator": {
"type": "boolean",
"type": "boolean",
"autovalue": "true",
"autovalue": "true",
"description": "Do NOT change the box text from \"true\". If the puzzle doesn't use this, remove this parameter by unchecking its box."
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
},
"Buzzer": {
"Buzzer": {
Line 50: Line 43:
"type": "boolean",
"type": "boolean",
"autovalue": "true",
"autovalue": "true",
"description": "(The non-lethal ones, mostly used to block lasers.)<br>Do NOT change the box text from \"true\". If the puzzle doesn't use this, remove this parameter by unchecking its box."
"description": "(The non-lethal ones, mostly used to block lasers.) If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
},
"Clone": {
"Clone": {
"type": "boolean",
"type": "boolean",
"autovalue": "true",
"autovalue": "true",
"description": "Do NOT change the box text from \"true\". If the puzzle doesn't use this, remove this parameter by unchecking its box."},
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Connector": {
"Connector": {
"type": "boolean",
"type": "boolean",
"autovalue": "true",
"autovalue": "true",
"description": "Do NOT change the box text from \"true\". If the puzzle doesn't use this, remove this parameter by unchecking its box."},
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
"Driller": {},
},
"Fan": {},
"Driller": {
"Gravshifter": {},
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Fan": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Gravshifter": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Guard": {
"Guard": {
"label": "Guard (TTP1)",
"label": "Guard (TTP1)",
"description": "Also called bombs."
"description": "Also called bombs."
},
},
"Hexahedron": {},
"Hexahedron": {
"Inverter": {},
"type": "boolean",
"Jammer": {},
"autovalue": "true",
"Ladder": {},
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
"Laser": {
},
"label": "Laser / Emitter / Receiver"
"Inverter": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Jammer": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Ladder": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
},
"Mover": {
"Mover": {
"description": "Moving platform activated by laster."
"type": "boolean",
"autovalue": "true",
"description": "(Moving platform activated by laster.) If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
},
"Plasma Door": {
"Blue door": {
"description": "(blue)"
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Platform": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Pressure plate": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Purple barrier": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Receiver": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
},
"Platform": {},
"Pressure Plate": {},
"Recorder": {
"Recorder": {
"label": "Recorder (TTP1)"
"label": "Recorder (TTP1)",
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"RGB converter": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
},
"RGB Converter": {},
"Swapper": {
"Swapper": {
"description": "The platform that locks one item at a time."
"type": "boolean",
"autovalue": "true",
"description": "(The pedestal that locks one item at a time.) If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Switch": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
"Teleporter": {
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
},
},
"Switch": {},
"Teleporter": {},
"Turret": {
"Turret": {
"label": "Turret (TTP1)"
"label": "Turret (TTP1)",
"type": "boolean",
"autovalue": "true",
"description": "If the puzzle doesn't use this, remove this parameter by unchecking its box."
}
}
},
},
Line 98: Line 160:
"Accumulator",
"Accumulator",
"Activator",
"Activator",
"Blue door",
"Buzzer",
"Buzzer",
"Clone",
"Clone",
Line 109: Line 172:
"Jammer",
"Jammer",
"Ladder",
"Ladder",
"Laser",
"Mover",
"Mover",
"Plasma Door",
"Platform",
"Platform",
"Pressure Plate",
"Pressure plate",
"Purple barrier",
"Receiver",
"Recorder",
"Recorder",
"RGB Converter",
"RGB converter",
"Swapper",
"Swapper",
"Switch",
"Switch",
Line 123: Line 186:
"description": "Creates a bulleted list of puzzle items. Also adds page to all relevant categories (e.g., Puzzles with Accumulators)."
"description": "Creates a bulleted list of puzzle items. Also adds page to all relevant categories (e.g., Puzzles with Accumulators)."
}
}
</templatedata></noinclude>
</templatedata>
<pre>{{Puzzle Element List
|Turret=true
|Accumulator=true
|Pressure plate=true
|Recorder=false
}}</pre>
generates
<div>{{Puzzle Element List
|Turret=true
|Accumulator=true
|Pressure plate=true
|Recorder=false
}}</div>
</noinclude>

Revision as of 13:43, 23 November 2023

Usage

Creates a bulleted list of puzzle items. Also adds page to all relevant categories (e.g., Puzzles with Accumulators).

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
AccumulatorAccumulator

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
ActivatorActivator

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
Blue doorBlue door

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
Buzzer (TTP1)Buzzer

(The non-lethal ones, mostly used to block lasers.) If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
CloneClone

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
ConnectorConnector

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
DrillerDriller

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
FanFan

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
GravshifterGravshifter

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
Guard (TTP1)Guard

Also called bombs.

Unknownoptional
HexahedronHexahedron

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
InverterInverter

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
JammerJammer

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
LadderLadder

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
MoverMover

(Moving platform activated by laster.) If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
PlatformPlatform

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
Pressure platePressure plate

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
Purple barrierPurple barrier

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
ReceiverReceiver

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
Recorder (TTP1)Recorder

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
RGB converterRGB converter

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
SwapperSwapper

(The pedestal that locks one item at a time.) If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
SwitchSwitch

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
TeleporterTeleporter

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
Turret (TTP1)Turret

If the puzzle doesn't use this, remove this parameter by unchecking its box.

Auto value
true
Booleanoptional
{{Puzzle Element List
|Turret=true
|Accumulator=true
|Pressure plate=true
|Recorder=false
}}

generates