Template:Achievement/doc: Difference between revisions
Jump to navigation
Jump to search
>94Connor949-gpuser m (94Connor949 moved page Template:ChallengeTable/doc to Template:Achievement/doc without leaving a redirect) |
(wrong link) |
||
(11 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
{{Deprecated template|reason=This template is no longer used per the [https://discord.com/channels/872882365406523452/877595309792968715/942476062892392459 discussion on Discord].}} | |||
<pre>{{achievement | |||
| name = | |||
| count = | |||
| description = | |||
| requisites = | |||
}}</pre> | |||
==Overview== | ==Overview== | ||
This template is intended to show a | This template is intended to show a stylized, collapsed table for [[achievement]]s and [[challenge]]s. | ||
== | ==Base parameters== | ||
{| class="wikitable sortable" | |||
|- | |||
! Parameter !! Required !! Description | |||
|- | |||
| name || {{yes}} || Achievement/challenge name. | |||
|- | |||
| id || {{no}} || Achievement/challenge's toggle ID, if default ID is causing errors. | |||
|- | |||
| count || {{no}} || Number of achievement/challenge requisites if applicable. | |||
|- | |||
| description || {{yes}} || Achievement/challenge description. | |||
|- | |||
| requisites || {{no}} || List of achievement/challenge requisites if applicable. | |||
|- | |||
|} | |||
==Example== | |||
<pre>{{achievement | |||
| name = All Ears | |||
| count = 269 | |||
| description = Listen to all optional NPC dialogue in each Act as one character. | |||
| requisites = | |||
*Act 1 (43) | |||
*Act 2 (77) | |||
*Act 3 (74) | |||
*Act 4 (75) | |||
}}</pre> | |||
Results in: | |||
{{ | {{achievement | ||
| name = All Ears | |||
| count = 269 | |||
| description = Listen to all optional NPC dialogue in each Act as one character. | |||
| requisites = | |||
*Act 1 (43) | |||
*Act 2 (77) | |||
*Act 3 (74) | |||
*Act 4 (75) | |||
}} | }} | ||
{{Documentation categories| | |||
{{ | <!-- Categories and interwikis go here. --> | ||
[[Category:Formatting templates]] | |||
}} | }} | ||
Latest revision as of 23:38, 25 June 2023
This subpage provides documentation for Template:Achievement.
This template is deprecated.
This template is no longer used per the discussion on Discord.
{{achievement | name = | count = | description = | requisites = }}
Overview
This template is intended to show a stylized, collapsed table for achievements and challenges.
Base parameters
Parameter | Required | Description |
---|---|---|
name | ✓ |
Achievement/challenge name. |
id | ✗ |
Achievement/challenge's toggle ID, if default ID is causing errors. |
count | ✗ |
Number of achievement/challenge requisites if applicable. |
description | ✓ |
Achievement/challenge description. |
requisites | ✗ |
List of achievement/challenge requisites if applicable. |
Example
{{achievement | name = All Ears | count = 269 | description = Listen to all optional NPC dialogue in each Act as one character. | requisites = *Act 1 (43) *Act 2 (77) *Act 3 (74) *Act 4 (75) }}
Results in:
All Ears | 269 |
Listen to all optional NPC dialogue in each Act as one character. |
|