Template:Questnpc: Difference between revisions

From IdleOn MMO Wiki
imported>Blackwolfe
No edit summary
mNo edit summary
 
(36 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>===[[{{{npc|1}}}]]===
{| class="FirstImage"
{| class="FirstImage"
|-
|-
| [[File:{{{1}}}.gif{{!}}link={{{1}}}]]
|[[File:{{{npc}}}.gif|link={{{npc|1}}}]]
|{{{description}}}
|
{{#cargo_query:tables=NPCs
|fields=Notes
|where=_pageName="{{{npc|1}}}"
|format=none
|named args=yes
|default=No description for this NPC has been given.
}}
|}
|}
{{quest/head|Quest Information for [[{{{1}}}]]}}
{{#cargo_query:tables=Quests
{{#dpl:
|fields=QuestName=name,Quest_Text=text,Difficulty=difficulty,Requirements=requirements,ReqConsumed=consumed,Rewards=rewards,Notes=notes,OrderNumber=OrderNumber,Daily=daily,AccountWide=accountwide
|namespace=
|where=_pageName="{{{npc|1}}}"
|category=Quests
|format=template
|uses=Template:quest/row
|template=Quest/row2
|include={quest/row}/pagerow
|named args=yes
|titlematch={{{1}}}
|order by=OrderNumber
|format=,,
|default=
|tablesortcol=1
|intro={{quest/head|Quest Information for {{{npc|1}}}|2=collapsed}}
|allowcachedresults=true
|outro=</td></tr></table>
}}</includeonly><noinclude>
<pre>
Usage:
{{Questnpc
|npc=example
}}
}}
|}
</pre>
</noinclude>

Latest revision as of 10:35, 17 August 2024

Usage:
{{Questnpc
|npc=example
}}