Template:ItemProperties: Difference between revisions
Jump to navigation
Jump to search
(testing auto shop population) |
(brute force, trying to avoid using too many queries) |
||
Line 77: | Line 77: | ||
#if:{{{source8|}}} | <br />{{#switch:{{lc:{{{sourcetype8}}}}} | sold by=Sold by [[sold by::{{{source8}}}]] for {{#if:{{{cost8|}}} | {{#arraymap:{{{cost8}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source8}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{ |
#if:{{{source8|}}} | <br />{{#switch:{{lc:{{{sourcetype8}}}}} | sold by=Sold by [[sold by::{{{source8}}}]] for {{#if:{{{cost8|}}} | {{#arraymap:{{{cost8}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source8}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{ |
||
#if:{{{source9|}}} | <br />{{#switch:{{lc:{{{sourcetype9}}}}} | sold by=Sold by [[sold by::{{{source9}}}]] for {{#if:{{{cost9|}}} | {{#arraymap:{{{cost9}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source9}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{ |
#if:{{{source9|}}} | <br />{{#switch:{{lc:{{{sourcetype9}}}}} | sold by=Sold by [[sold by::{{{source9}}}]] for {{#if:{{{cost9|}}} | {{#arraymap:{{{cost9}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source9}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{ |
||
#if:{{{source10|}}} | <br />{{#switch:{{lc:{{{sourcetype10}}}}} | sold by=Sold by [[sold by::{{{source10}}}]] for {{#if:{{{cost10|}}} | {{#arraymap:{{{cost10}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source10}}} | [[missing::Infobox entry on source|''Unknown'']]}} }} }}{{#If:{{{rare|}}}|[[rare item::{{{rare}}}| ]]|{{#if:{{IfMatch| quest | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} }}{{#arraymaptemplate:{{#if:{{{source|}}}|{{{source}}}}}{{#if:{{{source2|}}}|+{{{source2}}}}}{{#if:{{{source3|}}}|+{{{source3}}}}}{{#if:{{{source4|}}}|+{{{source4}}}}}{{#if:{{{source5|}}}|+{{{source5}}}}}{{#if:{{{source6|}}}|+{{{source6}}}}}{{#if:{{{source7|}}}|+{{{source7}}}}}{{#if:{{{source8|}}}|+{{{source8}}}}}{{#if:{{{source9|}}}|+{{{source9}}}}}{{#if:{{{source10|}}}|+{{{source10}}}}}|Template:RareItemProcess|+|}}|[[rare item::true| ]]|[[rare item::false| ]]}}}}{{#ask:[[shop sells::{{FULLPAGENAME}}]] | format=list | default= | limit=5 | intro= |
#if:{{{source10|}}} | <br />{{#switch:{{lc:{{{sourcetype10}}}}} | sold by=Sold by [[sold by::{{{source10}}}]] for {{#if:{{{cost10|}}} | {{#arraymap:{{{cost10}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source10}}} | [[missing::Infobox entry on source|''Unknown'']]}} }} }}{{#If:{{{rare|}}}|[[rare item::{{{rare}}}| ]]|{{#if:{{IfMatch| quest | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} }}{{#arraymaptemplate:{{#if:{{{source|}}}|{{{source}}}}}{{#if:{{{source2|}}}|+{{{source2}}}}}{{#if:{{{source3|}}}|+{{{source3}}}}}{{#if:{{{source4|}}}|+{{{source4}}}}}{{#if:{{{source5|}}}|+{{{source5}}}}}{{#if:{{{source6|}}}|+{{{source6}}}}}{{#if:{{{source7|}}}|+{{{source7}}}}}{{#if:{{{source8|}}}|+{{{source8}}}}}{{#if:{{{source9|}}}|+{{{source9}}}}}{{#if:{{{source10|}}}|+{{{source10}}}}}|Template:RareItemProcess|+|}}|[[rare item::true| ]]|[[rare item::false| ]]}}}}{{#ask:[[shop sells::{{FULLPAGENAME}}]] | format=list | default= | limit=5 | intro=<br />Sold by }}{{#ask:[[quest drops::{{FULLPAGENAME}}]] | format=list | default= | limit=5 | intro=<br />Quest treasure from }}{{#ask:[[Creature drops::{{FULLPAGENAME}}]] | format=list | default= | limit=5 | intro=<br />Dropped by }}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}</includeonly><noinclude>This template is a display and categorization plug-in for other templates, including [[Template:Item]], [[Template:Shield]],[[Template:Armor]], and [[Template:Weapon]]. This is because several of the basic ones share features in addition to becoming too large. {{cat | Templates,Templates for Templates}} </noinclude> |
Revision as of 21:16, 4 February 2013
This template is a display and categorization plug-in for other templates, including Template:Item, Template:Shield,Template:Armor, and Template:Weapon. This is because several of the basic ones share features in addition to becoming too large.