Difference between revisions of "Template:QuestBox"

From Bad Kitty Games Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
     <td>'''Location'''</td>
 
     <td>'''Location'''</td>
 
     <td>{{{location}}}</td>
 
     <td>{{{location}}}</td>
 +
    </tr>{{#if:{{{city|}}}|<tr>
 +
    <td>'''City'''</td>
 +
    <td>{{{city}}}</td>
 
     </tr>}}{{#if:{{{suggestion|}}}|<tr>
 
     </tr>}}{{#if:{{{suggestion|}}}|<tr>
 
     <td>'''Suggestion'''</td>
 
     <td>'''Suggestion'''</td>
Line 37: Line 40:
 
{{QuestBox
 
{{QuestBox
 
|npc=[[Raina}}
 
|npc=[[Raina}}
|location=Adventurer's Guild | Northmarket
+
|location=Adventurer's Guild  
 +
|city=Northmarket
 
|suggestion=Level 1  
 
|suggestion=Level 1  
 
|items=None
 
|items=None
Line 52: Line 56:
 
{{QuestBox
 
{{QuestBox
 
|npc=[[Raina]]
 
|npc=[[Raina]]
|location=Adventurer's Guild | Northmarket
+
|location=Adventurer's Guild
 +
|city=Northmarket
 
|suggestion=Level 1  
 
|suggestion=Level 1  
 
|items=None
 
|items=None
Line 72: Line 77:
 
"location": {
 
"location": {
 
"description": "The location of the quest giver",
 
"description": "The location of the quest giver",
"example": "Adventurer's Guild | Northmarket",
+
"example": "Adventurer's Guild",
 +
"type": "string",
 +
"required": true
 +
},
 +
"city": {
 +
"description": "The city of where the quest giver is",
 +
"example": "Northmarket",
 
"type": "string",
 
"type": "string",
 
"required": true
 
"required": true

Revision as of 10:38, 21 March 2021

QuestBox
{{#if:|
Overview
Location {{{location}}}
Previous Quest
{{{prev}}}
Next Quest
{{{next}}}


Usage & preview

Type in this:

{{QuestBox
|npc=[[Raina}}
|location=Adventurer's Guild 
|city=Northmarket
|suggestion=Level 1 
|items=None
|rewards=1000 Sil 
|treasure=500 Sil
|prev=[[Quest1]]
|next=[[Quest2]]
}}

to see this:

QuestBox
{{#if:Adventurer's Guild|
Overview
Start NPC Raina
Location Adventurer's Guild
City Northmarket
Suggestion Level 1
Items needed None
Rewards 1000 Sil
Treasure 500 Sil
Previous Quest
Quest1
Next Quest
Quest2


Click here to refresh the preview above

No description.

Template parameters

ParameterDescriptionTypeStatus
Npcnpc

The name of the starting NPC/quest giver

Pagerequired
Locationlocation

The location of the quest giver

Example
Adventurer's Guild
Stringrequired
Citycity

The city of where the quest giver is

Example
Northmarket
Stringrequired
Suggestionsuggestion

The suggested level to undertake the quest

Example
Level 1+
Stringrequired
Itemsitems

The items needed to progress or complete the quest

Example
[[Rat's tail]
Pagesuggested
Rewardsrewards

The rewards for completing the quest

Example
100.000 Sil
Stringsuggested
Treasuretreasure

Possible treasure found during the quest.

Example
Sil
Stringsuggested
Prevprev

The previous quest

Example
[[Quest1]]
Pagesuggested
Nextnext

The next quest

Example
[[Quest2]]
Pagesuggested