Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 108: Line 108:
#if:{{{source3|}}} | <br />{{#switch: {{lc: {{{sourcetype3}}} }} | sold by=Sold by {{#arraymap: {{{source3}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost3|}}} | {{{cost3}}} | [[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 {{#arraymap: {{{source3}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost3|}}} | {{{cost3}}} | [[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 {{#arraymap: {{{source4}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost4|}}} | {{{cost4}}} | [[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 {{#arraymap: {{{source4}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost4|}}} | {{{cost4}}} | [[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 {{#arraymap: {{{source5}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost5|}}} | {{{cost5}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source5}}} | [[missing::Infobox entry on source|''Unknown'']] }} }} }}{{#If:{{{rarity|}}}|{{#switch:{{{rarity}}}|common=[[rarity is::common]]|festival=[[rarity is::festival]]|incidental=[[rarity is::incidental]]|end loot=[[rarity is::end loot]]|auction=[[rarity is::auction]]| }} }}{{
#if:{{{source5|}}} | <br />{{#switch: {{lc: {{{sourcetype5}}} }} | sold by=Sold by {{#arraymap: {{{source5}}} | + | @@@@ | [[source is::@@@@]] | ,&#32; }} for {{#if:{{{cost5|}}} | {{{cost5}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source5}}} | [[missing::Infobox entry on source|''Unknown'']] }} }} }}{{#if:{{{rarity|}}}|{{#switch:{{{rarity}}}|common=[[rarity is::common]]|festival=[[rarity is::festival]]|incidental=[[rarity is::incidental]]|end loot=[[rarity is::end loot]]|auction=[[rarity is::auction]]| }} }}{{
#If:{{{rare|}}}|[[rare source::true| ]][[rare item::{{{rare}}}| ]]|{{#if:{{#arraymaptemplate:{{#if:{{{source|}}}|{{{source}}}}}{{#if:{{{source2|}}}|+{{{source2}}}}}{{#if:{{{source3|}}}|+{{{source3}}}}}{{#if:{{{source4|}}}|+{{{source4}}}}}{{#if:{{{source5|}}}|+{{{source5}}}}}{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|default=|sep=+|intro=+|link=none}}|Template:RareItemProcess|+|}}|[[rare source::true| ]][[rare item::false| ]]|[[rare source::true| ]][[rare item::true| ]]}}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#ask:[[source for::{{FULLPAGENAME}}]] | format=list | default= | limit=15 | order=desc | intro=Source is&nbsp;}}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}{{#arraymap:{{{sources|}}}|%%%%|@@@@|[[source is::@@@@| ]]|}}{{#if:{{{rev|}}}|[[ItemReview::{{{rev}}}| ]]|[[ItemReview::0| ]]}}</includeonly><noinclude>{{Essential}}This template is a display and categorization plug-in for other templates, including [[Template:Item]], [[Template:Shield]],[[Template:Armor]], and [[Template:Weapon]].
#If:{{{rare|}}}|[[rare source::true| ]][[rare item::{{{rare}}}| ]]|{{#if:{{#arraymaptemplate:{{#if:{{{source|}}}|{{{source}}}}}{{#if:{{{source2|}}}|+{{{source2}}}}}{{#if:{{{source3|}}}|+{{{source3}}}}}{{#if:{{{source4|}}}|+{{{source4}}}}}{{#if:{{{source5|}}}|+{{{source5}}}}}{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|default=|sep=+|intro=+|link=none}}|Template:RareItemProcess|+|}}|[[rare source::true| ]][[rare item::false| ]]|[[rare source::true| ]][[rare item::true| ]]}}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#ask:[[source for::{{FULLPAGENAME}}]] | format=list | default= | limit=15 | order=desc | intro=Source is&nbsp;}}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}{{#arraymap:{{{sources|}}}|%%%%|@@@@|[[source is::@@@@| ]]|}}{{#if:{{{rev|}}}|[[ItemReview::{{{rev}}}| ]]|[[ItemReview::0| ]]}}</includeonly><noinclude>{{Essential}}This template is a display and categorization plug-in for other templates, including [[Template:Item]], [[Template:Shield]],[[Template:Armor]], and [[Template:Weapon]].



Revision as of 13:34, 17 December 2021

Essential Template
  • This template is so essential that it has been protected to prevent tampering.
  • If you have suggestions to extend its function or have observed bugs, please post to the discussion page.

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.