Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 151: Line 151:
#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'']] }} }} }}{{#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:{{{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'']] }} }} }}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#if:{{{rarity|}}}| {{#switch:{{{rarity}}}|treasure map=[[source is::treasure map|Treasure Map]]}}{{#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]].


This is because several of the basic ones share features in addition to becoming too large. {{cat | Templates,Templates for Templates}} </noinclude>
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 09:37, 5 August 2023

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.