Template:Achievement List Item

From The Talos Principle Wiki
Revision as of 11:12, 23 November 2023 by Theadamabrams (talk | contribs) (spoiler parameter and grade parameter)

|- id="{{{name}}}" | style="border-right:none;" | [[File:{{{image}}}|frameless|250px|thumb|]] | style="border-left:none;" | {{{name}}}
{{{description}}} | style="text-align:center;" | {{{points}}}

Usage

{| class="wikitable"
!Icon
!Name / Description
!Points
{{Achievement List Item
|name=A New Beginning
|image=Ttp2_trophy_A_New_Beginning.png
|description=Help Byron get elected mayor.
|points=40
|grade=Silver
}}{{Achievement List Item
|name=A New Morality
|image=Ttp2_trophy_A_New_Morality.png
|description=Help Rand get elected mayor.
|points=30
}}{{Achievement List Item
|name=Ab Aeterno
|image=Ttp2_trophy_Ab_Aeterno.png
|description=Defy death.
|spoiler=Save Miranda after completing all gold puzzles.
|points=30
}}
|}

produces

Icon Name / Description Points
A New Beginning

Help Byron get elected mayor.

40 Template:Grade
A New Morality

Help Rand get elected mayor.

30
Ab Aeterno
Defy death.
[ details ]
Save Miranda after completing all gold puzzles.
30

Describes one achievement. A functioning list of achievements requires code for the start of the list, then several of these template items, then code for the end of the list.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

no description

Page namesuggested
Namename

no description

Stringrequired
Official descriptiondescription

no description

Stringrequired
Spoiler descriptionspoiler

A custom description that makes the requirement clearer.

Stringoptional
Points (Xbox)points

The same number is used for Xbox and Epic.

Example
30
Numberoptional
Grade (PS)grade

Use for PlayStation.

Suggested values
Bronze Silver Gold Platiunum
Unknownoptional