Template:QuestTable: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
imported>Wekhter
mNo edit summary
 
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#cargo_query:tables=Quests
<includeonly>{{#cargo_query:tables=Quests
|fields=QuestName=name,Quest_Text=text,Difficulty=difficulty,Requirements=requirements,ReqConsumed=consumed,Rewards=rewards,Notes=notes,OrderNumber=OrderNumber
|fields=QuestName=name,Quest_Text=text,Difficulty=difficulty,Requirements=requirements,ReqConsumed=consumed,Rewards=rewards,Notes=notes,OrderNumber=OrderNumber
|where=_pageName="{{{npc|1}}}"
|where=_pageName="{{{npc|}}}"
|format=template
|format=template
|template=Quest/row
|template=Quest/row
Line 7: Line 7:
|order by=OrderNumber
|order by=OrderNumber
|default=
|default=
|intro={{quest/head|Quest Information for {{{npc|1}}}|{{#if:{{{collapsed|}}}|collapsed=yes}}}}
|intro={{quest/head|Quest Information for {{{npc|}}}|{{{2|}}}}}
|outro=</td></tr></table>
|outro=</td></tr></table>
}}
}}</includeonly><noinclude>
<pre>
Usage:
{{QuestTable
|npc=example
|2=collapsed (optional for having the quest table collapsed)
}}</pre></noinclude>

Latest revision as of 04:15, 11 December 2021

Usage:
{{QuestTable
|npc=example
|2=collapsed (optional for having the quest table collapsed)
}}