Template:Questnpc: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
mNo edit summary
 
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>==={{{npc|1}}}===
<includeonly>===[[{{{npc|1}}}]]===
{| class="FirstImage"
{| class="FirstImage"
|-
|-
|[[File:{{{npc}}}.gif|link={{{npc|1}}}]]
|[[File:{{{npc}}}.gif|link={{{npc|1}}}]]
|
|
{{#dpl:
{{#cargo_query:tables=NPCs
|titlematch=Scripticus
|fields=Notes
|namespace=
|where=_pageName="{{{npc|1}}}"
|category=NPC
|format=none
|uses=Template:Npc
|named args=yes
|include={Npc}:notes
|default=No description for this NPC has been given.
|format=,,
|allowcachedresults=true
}}
}}
|}
|}
{{quest/head|Quest Information for [[{{{npc|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={{{npc|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>
|}</includeonly><noinclude>
<pre>
<pre>
Usage:
Usage:
{{Questnpc
{{Questnpc
|npc=example
|npc=example
|description=example
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 10:35, 17 August 2024

Usage:
{{Questnpc
|npc=example
}}