Template:Quest: Difference between revisions

From IdleOn MMO Wiki
imported>Bluejello
No edit summary
imported>Kiokurashi
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude><!--
 
### Cargo Declare ###
-->{{#cargo_declare:_table=Quests
  |OrderNumber=Integer
  |QuestName=String
  |Quest_Text=Wikitext
  |Difficulty=Integer
  |Requirements=Wikitext
  |ReqConsumed=String
  |Rewards=List (,) of Wikitext
  |Notes=Wikitext
}}</noinclude><!--
 
### Cargo Store ###
--><includeonly>{{#ifeq:{{PAGENAME}}|Secrets||
{{#cargo_store:_table=Quests
  |OrderNumber={{#vardefineecho:i|{{#expr:{{#var:i}}+1}}}}
  |QuestName={{{name|}}}
  |Quest_Text={{{text|}}}
  |Difficulty={{{difficulty|}}}
  |Requirements={{{requirements|}}}
  |ReqConsumed={{{consumed|}}}
  |Rewards={{{rewards|}}}
  |Notes={{{notes|}}}
}}}}<!--
 
 
-->{{#quest/row|name={{{name|}}}|text={{{text|}}}|difficulty={{{difficulty|}}}|requirements={{{requirements|}}}|consumed={{{consumed|}}}|rewards={{{rewards|}}}|notes={{{notes|}}}}}</includeonly><noinclude>
This is the "Quest" template.
This is the "Quest" template.
It should be called in the following format:
It should be called in the following format:
Line 13: Line 41:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude>
</noinclude>
<includeonly>
{| class="wikitable" <div style="text-align: center;">
! Quest Name
! Difficulty
! Requirements
! Reward
! Notes
|-
| {{{QuestName|}}}
| {{{Difficulty|}}}
| {{{Dialogue}}}
| {{{Requirements|}}}
| {{{Reward|}}}
| {{{Notes|}}}
|}
</includeonly>

Revision as of 22:30, 7 May 2021

This template defines the table "Quests". View table. This is the "Quest" template. It should be called in the following format:

{{Quest
|QuestName=
|Requirements=
|Reward=
|Notes=
|Difficulty=
}}

Edit the page to see the template text.