Template:Questnpc: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Kiokurashi
No edit summary
Line 4: Line 4:
|[[File:{{{npc}}}.gif|link={{{npc|1}}}]]
|[[File:{{{npc}}}.gif|link={{{npc|1}}}]]
|
|
{{#dpl:
{{#cargo_query:tables=NPCs
|titlematch={{{npc}}}  
|fields=Notes
|namespace=
|where=_pageName="{{{npc|1}}}"
|category=NPC
|format=none
|uses=Template:Npc
|named args=yes
|include={Npc}:notes
|format=,,
|allowcachedresults=true
}}
}}
|}
|}
Line 24: Line 21:
|tablesortcol=1
|tablesortcol=1
|allowcachedresults=true
|allowcachedresults=true
}}<!--
### Cargo for if we switch to Cargo format after update ###
{{#cargo_query:tables=Quests
|fields=Quest_Text=text,Difficulty=difficulty,Requirements=requirements,ReqConsumed=consumed,Rewards=rewards,Notes=notes
|where=_pageName="{{{npc|1}}}%"
|format=template
|template=Quest/row
|named args=yes
}}
}}
-->
|}</includeonly><noinclude>
|}</includeonly><noinclude>
<pre>
<pre>

Revision as of 15:19, 8 May 2021

Usage:
{{Questnpc
|npc=example
}}