Template:Quests by character: Difference between revisions
From Everafter Falls Wiki
No edit summary |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#cargo_compound_query: | <includeonly>{{{1|{{PAGENAME}}}}} can give the player the following [[quest]]s or [[job]]s: | ||
tables=Quests;where=NPC="{{{1|{{PAGENAME}}}}}" OR NPC2="{{{1|{{PAGENAME}}}}}";format=table;fields=_pageName=Name,Type,Items=Required items,Reward | {{#cargo_compound_query: | ||
tables=Quests;where=NPC="{{{1|{{PAGENAME}}}}}" OR NPC2="{{{1|{{PAGENAME}}}}}";format=table;fields=_pageName=Name,Type,Items=Required items,Reward;order by=Type DESC,Name ASC | |||
|tables=Jobs;where=NPC="{{{1|{{PAGENAME}}}}}";format=table;fields=_pageName=Name,Type,Task=Required items,Reward | |tables=Jobs;where=NPC="{{{1|{{PAGENAME}}}}}";format=table;fields=_pageName=Name,Type,Task=Required items,Reward | ||
|format=table | |format=table | ||
}}</includeonly><noinclude>{{documentation}}[[Category:Cargo templates]]</noinclude> | }}</includeonly><noinclude>{{documentation}}[[Category:Cargo templates]]</noinclude> | ||
Latest revision as of 13:45, 20 August 2024
| Template documentation |
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
Description
This template queries the Quests and Jobs cargotables and returns a quest table for one selected NPC name.
Syntax
{{Quests by character}}
{{Quests by character|NPC name}}
- Takes only one unnamed parameter. Please make sure the name matches in-game name.
- Can be used without any parameters; in that case defaults to using the name of the page it is called from.