Template:Infobox TTP2 Puzzle: Difference between revisions

From The Talos Principle Wiki
No edit summary
m explicit css not required
Line 1: Line 1:
{| class="infobox"
{| class="infobox"
! style="align:center; background-color: #c3b0cf" colspan=2| {{BASEPAGENAME}}
! style="background-color: #c3b0cf; color: black;" colspan=2| {{BASEPAGENAME}}
|-
|-
|colspan=2|{{#if:{{{image|}}}|[[{{{image}}}|frameless|250px|thumb|]]|}}
|colspan=2|{{#if:{{{image|}}}|[[{{{image}}}|frameless|250px|thumb|]]|}}
|-
|-
| Identifier:
| Identifier:
| style="text-align:right;" | {{{identifier|''Not set''}}}
| {{{identifier|''Not set''}}}
|-
|-
| Area:
| Area:
| style="text-align:right;" | {{{area|''Area unknown''}}}
| {{{area|''Area unknown''}}}
|-
|-
| Puzzle Type:
| Puzzle Type:
| style="text-align:right;" | {{{puzzletype|''Type unknown''}}}
| {{{puzzletype|''Type unknown''}}}
|-
|-
| Previous Puzzle:
| Previous Puzzle:
| style="text-align:right;" | {{{previous|''None''}}}
| {{{previous|''None''}}}
|-
|-
| Next Puzzle:
| Next Puzzle:
| style="text-align:right;" | {{{next|''None''}}}
| | {{{next|''None''}}}
|}
|}
<noinclude>
<noinclude>

Revision as of 04:50, 23 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: