Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (bugfix)
(adding support for automatic Property:festival item entry)
Line 64: Line 64:
#if:{{{source3|}}} | <br />{{#switch:{{lc:{{{sourcetype3}}}}} | sold by=Sold by [[sold by::{{{source3}}}]] for {{#if:{{{cost3|}}} | {{#arraymap:{{{cost3}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ‘‘unknown’’ amount]]}} | other={{{source3}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{
#if:{{{source3|}}} | <br />{{#switch:{{lc:{{{sourcetype3}}}}} | sold by=Sold by [[sold by::{{{source3}}}]] for {{#if:{{{cost3|}}} | {{#arraymap:{{{cost3}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ‘‘unknown’’ amount]]}} | other={{{source3}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{
#if:{{{source4|}}} | <br />{{#switch:{{lc:{{{sourcetype4}}}}} | sold by=Sold by [[sold by::{{{source4}}}]] for {{#if:{{{cost4|}}} | {{#arraymap:{{{cost4}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ‘‘unknown’’ amount]]}} | other={{{source4}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{
#if:{{{source4|}}} | <br />{{#switch:{{lc:{{{sourcetype4}}}}} | sold by=Sold by [[sold by::{{{source4}}}]] for {{#if:{{{cost4|}}} | {{#arraymap:{{{cost4}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ‘‘unknown’’ amount]]}} | other={{{source4}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{
#if:{{{source5|}}} | <br />{{#switch:{{lc:{{{sourcetype5}}}}} | sold by=Sold by [[sold by::{{{source5}}}]] for {{#if:{{{cost5|}}} | {{#arraymap:{{{cost5}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source5}}} | [[missing::Infobox entry on source | ''Unknown'']]}} }}{{
#if:{{{source5|}}} | <br />{{#switch:{{lc:{{{sourcetype5}}}}} | sold by=Sold by [[sold by::{{{source5}}}]] for {{#if:{{{cost5|}}} | {{#arraymap:{{{cost5}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source5}}} | [[missing::Infobox entry on source | ''Unknown'']]}} }}{{#if:{{{source6|}}} | <br />{{#switch:{{lc:{{{sourcetype6}}}}} | sold by=Sold by [[sold by::{{{source6}}}]] for {{#if:{{{cost6|}}} | {{#arraymap:{{{cost6}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source6}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{
#if:{{{source6|}}} | <br />{{#switch:{{lc:{{{sourcetype6}}}}} | sold by=Sold by [[sold by::{{{source6}}}]] for {{#if:{{{cost6|}}} | {{#arraymap:{{{cost6}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source6}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{
#if:{{{source7|}}} | <br />{{#switch:{{lc:{{{sourcetype7}}}}} | sold by=Sold by [[sold by::{{{source7}}}]] for {{#if:{{{cost7|}}} | {{#arraymap:{{{cost7}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source7}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{
#if:{{{source7|}}} | <br />{{#switch:{{lc:{{{sourcetype7}}}}} | sold by=Sold by [[sold by::{{{source7}}}]] for {{#if:{{{cost7|}}} | {{#arraymap:{{{cost7}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source7}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{
#if:{{{source8|}}} | <br />{{#switch:{{lc:{{{sourcetype8}}}}} | sold by=Sold by [[sold by::{{{source8}}}]] for {{#if:{{{cost8|}}} | {{#arraymap:{{{cost8}}} | + | x | [[shop cost is::x]]}} | [[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}}} | + | x | [[shop cost is::x]]}} | [[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}}} | + | x | [[shop cost is::x]]}} | [[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}}} | + | x | [[shop cost is::x]]}} | [[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}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source10}}} | [[missing::Infobox entry on source|''Unknown'']]}} }} }}{{#ask:[[Creature drops::{{FULLPAGENAME}}]] | format=list | default= | limit=5 | intro={{#switch:{{lc:{{{sourcetype}}}}} | -= | <br />}}Dropped by_}}</includeonly><noinclude>This template is a display and categorization "plug in" for other templates because several of the basic ones share features in addition to becoming too large. {{cat | Templates,Templates for Templates}} </noinclude>
#if:{{{source10|}}} | <br />{{#switch:{{lc:{{{sourcetype10}}}}} | sold by=Sold by [[sold by::{{{source10}}}]] for {{#if:{{{cost10|}}} | {{#arraymap:{{{cost10}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source10}}} | [[missing::Infobox entry on source|''Unknown'']]}} }} }}{{#if:{{#if:{{{source|}}}|{{#ask: [[{{{source}}}]]|?Festival shop=|link=none}}}}{{#if:{{{source2|}}}|{{#ask: [[{{{source2}}}]]|?Festival shop=|link=none}}}}{{#if:{{{source3|}}}|{{#ask: [[{{{source3}}}]]|?Festival shop=|link=none}}}}{{#if:{{{source4|}}}|{{#ask: [[{{{source4}}}]]|?Festival shop=|link=none}}}}
{{#if:{{{source5|}}}|{{#ask: [[{{{source5}}}]]|?Festival shop=|link=none}}}}{{#if:{{{source6|}}}|{{#ask: [[{{{source6}}}]]|?Festival shop=|link=none}}}}{{#if:{{{source7|}}}|{{#ask: [[{{{source7}}}]]|?Festival shop=|link=none}}}}{{#if:{{{source8|}}}|{{#ask: [[{{{source8}}}]]|?Festival shop=|link=none}}}}{{#if:{{{source9|}}}|{{#ask: [[{{{source10}}}]]|?Festival shop=|link=none}}}}{{#if:{{{source10|}}}|{{#ask: [[{{{source2}}}]]|?Festival shop=|link=none}}}}| [[festival shop::true| ]]}}{{#ask:[[Creature drops::{{FULLPAGENAME}}]] | format=list | default= | limit=5 | intro={{#switch:{{lc:{{{sourcetype}}}}} | -= | <br />}}Dropped by_}}</includeonly><noinclude>This template is a display and categorization "plug in" for other templates because several of the basic ones share features in addition to becoming too large. {{cat | Templates,Templates for Templates}} </noinclude>

Revision as of 05:54, 3 April 2010

This template is a display and categorization "plug in" for other templates because several of the basic ones share features in addition to becoming too large.