Difference between revisions of "Template:QuestDropInfo"
(fix overrunning max query size) |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine: quest | {{{source|{{PAGENAME}} }}} }}<includeonly> | {{#vardefine: quest | {{{source|{{PAGENAME}} }}} }}<includeonly> | ||
− | {| class="wikitable" | + | <!--{| class="wikitable" |
|+ Drops found in {{#var: quest}} | |+ Drops found in {{#var: quest}} | ||
! Item | ! Item | ||
Line 18: | Line 18: | ||
|template=QuestDropInfoRow | |template=QuestDropInfoRow | ||
|userparam={{#var: quest}} | |userparam={{#var: quest}} | ||
+ | |limit=5000 | ||
+ | |?{{PAGENAME}} | ||
+ | }} | ||
+ | |}--> | ||
+ | {| class="wikitable" | ||
+ | |+ Resources and Herbs found in {{#var: quest}} | ||
+ | ! Item | ||
+ | ! ID | ||
+ | ! {{Emoticon|emoticon=Timemorning|link=Morning}} | ||
+ | ! {{Emoticon|emoticon=Timeday|link=Day}} | ||
+ | ! {{Emoticon|emoticon=Timeevening|link=Evening}} | ||
+ | ! {{Emoticon|emoticon=Timenight|link=Night}} | ||
+ | |- | ||
+ | {{#ask: | ||
+ | [[ItemType::Resource]] [[Quest{{#var: quest}}Morning::true]] OR [[ItemType::Resource]] [[Quest{{#var: quest}}Day::true]] OR [[ItemType::Resource]] [[Quest{{#var: quest}}Evening::true]] OR [[ItemType::Resource]] [[Quest{{#var: quest}}Night::true]] | ||
+ | |mainlabel=Item | ||
+ | |link=none | ||
+ | |sort=ItemID | ||
+ | |order=asc | ||
+ | |format=template | ||
+ | |template=QuestDropInfoRow | ||
+ | |userparam={{#var: quest}} | ||
+ | |limit=5000 | ||
|?{{PAGENAME}} | |?{{PAGENAME}} | ||
}} | }} | ||
|} | |} | ||
− | </includeonly> | + | {| class="wikitable" |
+ | |+ Pet Food found in {{#var: quest}} | ||
+ | ! Item | ||
+ | ! ID | ||
+ | ! {{Emoticon|emoticon=Timemorning|link=Morning}} | ||
+ | ! {{Emoticon|emoticon=Timeday|link=Day}} | ||
+ | ! {{Emoticon|emoticon=Timeevening|link=Evening}} | ||
+ | ! {{Emoticon|emoticon=Timenight|link=Night}} | ||
+ | |- | ||
+ | {{#ask: | ||
+ | [[ItemType::Pet Food]] [[Quest{{#var: quest}}Morning::true]] OR [[ItemType::Pet Food]] [[Quest{{#var: quest}}Day::true]] OR [[ItemType::Pet Food]] [[Quest{{#var: quest}}Evening::true]] OR [[ItemType::Pet Food]] [[Quest{{#var: quest}}Night::true]] | ||
+ | |mainlabel=Item | ||
+ | |link=none | ||
+ | |sort=ItemID | ||
+ | |order=asc | ||
+ | |format=template | ||
+ | |template=QuestDropInfoRow | ||
+ | |userparam={{#var: quest}} | ||
+ | |limit=5000 | ||
+ | |?{{PAGENAME}} | ||
+ | }} | ||
+ | |} | ||
+ | {| class="wikitable" | ||
+ | |+ Parts found in {{#var: quest}} | ||
+ | ! Item | ||
+ | ! ID | ||
+ | ! {{Emoticon|emoticon=Timemorning|link=Morning}} | ||
+ | ! {{Emoticon|emoticon=Timeday|link=Day}} | ||
+ | ! {{Emoticon|emoticon=Timeevening|link=Evening}} | ||
+ | ! {{Emoticon|emoticon=Timenight|link=Night}} | ||
+ | |- | ||
+ | {{#ask: | ||
+ | [[ItemType::Piece of Equipment]] [[Quest{{#var: quest}}Morning::true]] OR [[ItemType::Piece of Equipment]] [[Quest{{#var: quest}}Day::true]] OR [[ItemType::Piece of Equipment]] [[Quest{{#var: quest}}Evening::true]] OR [[ItemType::Piece of Equipment]] [[Quest{{#var: quest}}Night::true]] | ||
+ | |mainlabel=Item | ||
+ | |link=none | ||
+ | |sort=ItemID | ||
+ | |order=asc | ||
+ | |format=template | ||
+ | |template=QuestDropInfoRow | ||
+ | |userparam={{#var: quest}} | ||
+ | |limit=5000 | ||
+ | |?{{PAGENAME}} | ||
+ | }} | ||
+ | |} | ||
+ | {| class="wikitable" | ||
+ | |+ Recipes found in {{#var: quest}} | ||
+ | ! Item | ||
+ | ! ID | ||
+ | ! {{Emoticon|emoticon=Timemorning|link=Morning}} | ||
+ | ! {{Emoticon|emoticon=Timeday|link=Day}} | ||
+ | ! {{Emoticon|emoticon=Timeevening|link=Evening}} | ||
+ | ! {{Emoticon|emoticon=Timenight|link=Night}} | ||
+ | |- | ||
+ | {{#ask: | ||
+ | [[ItemType::Recipe (Item)]] [[Quest{{#var: quest}}Morning::true]] OR [[ItemType::Recipe (Item)]] [[Quest{{#var: quest}}Day::true]] OR [[ItemType::Recipe (Item)]] [[Quest{{#var: quest}}Evening::true]] OR [[ItemType::Recipe (Item)]] [[Quest{{#var: quest}}Night::true]] | ||
+ | |mainlabel=Item | ||
+ | |link=none | ||
+ | |sort=ItemID | ||
+ | |order=asc | ||
+ | |format=template | ||
+ | |template=QuestDropInfoRow | ||
+ | |userparam={{#var: quest}} | ||
+ | |limit=5000 | ||
+ | |?{{PAGENAME}} | ||
+ | }} | ||
+ | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
This template shows the drop info of all items that can drop in a quest type. It either uses the current pagename or a Quest type given in the "source" parameter | This template shows the drop info of all items that can drop in a quest type. It either uses the current pagename or a Quest type given in the "source" parameter | ||
</noinclude> | </noinclude> |
Latest revision as of 16:07, 3 December 2020
This template shows the drop info of all items that can drop in a quest type. It either uses the current pagename or a Quest type given in the "source" parameter