Template:Questnpc: Difference between revisions

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