Template:Quest/doc: Difference between revisions

From Another Chance Wiki
Jump to navigation Jump to search
No edit summary
(Reworked page with both JSON table and example code)
Line 1: Line 1:
This template creates a table to give a brief overview of quest information and navigation.
<templatedata>
{
    "description": "This template creates a table to give a brief overview of quest information and navigation.",
    "params": {
        "image": {
            "label": "Thumbnail",
            "description": "A 399x230 image representing the quest",
            "type": "string",
            "required": false
        },
        "prerequisites": {
            "label": "Prerequisites",
            "description": "The quest(s) and/or action(s) that unlock this quest",
            "type": "string",
            "required": true
        },
        "start": {
            "label": "Start",
            "description": "The direct action required to start a quest",
            "type": "string",
            "required": true
        },
        "location": {
            "label": "Location",
            "description": "The location where the quest must be started (can be character's current location)",
            "type": "string",
            "required": true
        },
        "rewards": {
            "label": "Rewards",
            "description": "Optional reward received at the end of the quest (usually an item)",
            "type": "string",
            "required": false
        },
        "season": {
            "label": "Season",
            "description": "The season that the quest is set in",
            "type": "string",
            "required": true
        },
        "previous": {
            "label": "Previous Quest",
            "description": "The previous quest in the quest list",
            "type": "string/wiki-page-name",
            "required": false
        },
        "next": {
            "label": "Next Quest",
            "description": "The next quest in the quest list",
            "type": "string/wiki-page-name",
            "required": false
        }
    }
}
</templatedata>
 
{{Quest
|image=Isabelle haggis.webp
|prerequisites=Complete [[Tour_de_School|"Tour de School"]]
|start=Interact with the food counter
|location=[[Cafeteria]]
|rewards=[[Items#Mrs._Lichtenstein's_Brooch|Mrs. Lichtenstein's Broach]]
|season=Season 1
|previous=[[Chili Con Carnal Sin]]
|next=[[Punked]]
}}


<pre>
<pre>
{{Quest
{{Quest
|image=
|image=Isabelle haggis.webp
|prerequisites=
|prerequisites=Complete [[Tour_de_School|"Tour de School"]]
|start=
|start=Interact with the food counter
|location=
|location=[[Cafeteria]]
|rewards=
|rewards=[[Items#Mrs._Lichtenstein's_Brooch|Mrs. Lichtenstein's Broach]]
|season=
|season=Season 1
|previous=
|previous=[[Chili Con Carnal Sin]]
|next=
|next=[[Punked]]
}}
}}
</pre>
</pre>
{| class="wikitable"
! Parameter !! Description !! Example
|-
| image || A 399x230 thumbnail image representing the quest || Isabelle haggis.webp
|-
| prerequisites || The quest(s) and/or action(s) that unlock this quest || Complete [[Tour_de_School|"Tour de School"]]
|-
| start || The direct action required to start up a quest || Interact with the food counter
|-
| location || The location where the quest must be started (can be character's current location) || [[Cafeteria]]
|-
| rewards || Optional reward received at the end of the quest (usually an [[Items|item]]) || [[Items#Mrs._Lichtenstein's_Brooch|Mrs. Lichtenstein's Brooch]]
|-
| season || Season that the quest is set in || Season 1
|-
| previous || The previous quest in the quest list || [[Chili Con Carnal Sin]]
|-
| next || The next quest in the quest list || [[Punked]]
|}

Revision as of 18:17, 11 April 2026

This template creates a table to give a brief overview of quest information and navigation.

Template parameters

ParameterDescriptionTypeStatus
Thumbnailimage

A 399x230 image representing the quest

Stringoptional
Prerequisitesprerequisites

The quest(s) and/or action(s) that unlock this quest

Stringrequired
Startstart

The direct action required to start a quest

Stringrequired
Locationlocation

The location where the quest must be started (can be character's current location)

Stringrequired
Rewardsrewards

Optional reward received at the end of the quest (usually an item)

Stringoptional
Seasonseason

The season that the quest is set in

Stringrequired
Previous Questprevious

The previous quest in the quest list

Page nameoptional
Next Questnext

The next quest in the quest list

Page nameoptional
Quest/doc
Isabelle haggis.webp
Prerequisites Complete "Tour de School"
Start Interact with the food counter
Location Cafeteria
Rewards Mrs. Lichtenstein's Broach
Season Season 1

Quest Progression
Previous Quest Next Quest
Chili Con Carnal Sin Punked


{{Quest
|image=Isabelle haggis.webp
|prerequisites=Complete [[Tour_de_School|"Tour de School"]]
|start=Interact with the food counter
|location=[[Cafeteria]]
|rewards=[[Items#Mrs._Lichtenstein's_Brooch|Mrs. Lichtenstein's Broach]]
|season=Season 1
|previous=[[Chili Con Carnal Sin]]
|next=[[Punked]]
}}