Template:Infobox TTP2 Puzzle: Difference between revisions

From The Talos Principle Wiki
Added image inside Puzzle Info Box, now with ParserFunctions!
Added area field
Line 6: Line 6:
| Identifier:
| Identifier:
| style="text-align:right;" | {{{identifier|''Not set''}}}
| style="text-align:right;" | {{{identifier|''Not set''}}}
|-
| Area:
| style="text-align:right;" | {{{area|''Area unknown''}}}
|-
|-
| Puzzle Type:
| Puzzle Type:
Line 22: Line 25:
== Usage ==
== Usage ==
<pre>{{PuzzleInfobox
<pre>{{PuzzleInfobox
|identifier = East 1-2
|identifier = East 1-3
|image = File:Casting.png
|image = File:East 1-3.jpg
|puzzletype = Regular
|area = [[Grasslands Ring]]
|previous = [[RGB Shifting]]
|puzzletype = [[:Category:TTP2 Main Puzzles|Main]]
|next = [[Castling]]
|previous = [[Reconnection]]
|next = [[Alternative Option]]
}}</pre>
}}</pre>


Line 32: Line 36:
<div style="width: 300px">
<div style="width: 300px">
{{PuzzleInfobox
{{PuzzleInfobox
|identifier = East 1-2
|identifier = East 1-3
|image = File:Casting.png
|image = File:East 1-3.jpg
|puzzletype = Regular
|area = [[Grasslands Ring]]
|previous = [[RGB Shifting]]
|puzzletype = [[:Category:TTP2 Main Puzzles|Main]]
|next = [[Castling]]
|previous = [[Reconnection]]
|next = [[Alternative Option]]
}}
}}
</div>
</div>


</noinclude>
</noinclude>

Revision as of 15:44, 17 November 2023

Infobox TTP2 Puzzle
Identifier: Not set
Area: Area unknown
Puzzle Type: Type unknown
Previous Puzzle: None
Next Puzzle: None


This is a Infobox template for a Puzzle.

Usage

{{PuzzleInfobox
|identifier = East 1-3
|image = File:East 1-3.jpg
|area = [[Grasslands Ring]]
|puzzletype = [[:Category:TTP2 Main Puzzles|Main]]
|previous = [[Reconnection]]
|next = [[Alternative Option]]
}}

Note how you specify the name of (optional) image: you have to include the "File:" namespace, but no square brackets. That should show up as the box below: