Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(Reworking stacker info to avoid blank lines showing up)
 
Line 50: Line 50:
IfMatch| foraged | {{{special}}} | true=*This item can be obtained by foraging.[[has item property::foraged| ]]}}{{
IfMatch| foraged | {{{special}}} | true=*This item can be obtained by foraging.[[has item property::foraged| ]]}}{{
IfMatch| feature | {{{special}}} | true=*This item alters the appearance of the user.{{cat|Feature modifiers}}[[has item property::feature| ]]}}{{
IfMatch| feature | {{{special}}} | true=*This item alters the appearance of the user.{{cat|Feature modifiers}}[[has item property::feature| ]]}}{{
IfMatch| stacking | {{{special}}} | true=*This item reduces the inventory count and/or weight of its contents. '''Note:''' because of this, it may count as two items.[[has item property::stacking| ]]}}
IfMatch| stacking | {{{special}}} | true=*This item reduces the inventory count and/or weight of its contents. '''Note:''' because of this, it may count as two items.[[has item property::stacking| ]]}}{{#switch:{{lc:{{{stacker|}}}}}|true|yes=*This item can stack up to {{#if:{{{imax|}}}|{{{imax}}}|'''''unknown'''''[[missing::Infobox entry on the max stack size (imax)| ]]}} {{#if:{{{stacktype|}}}|{{#arraymap: {{{stacktype}}} | , | @@@@ | [[item stacks category::@@@@|{{#switch:{{lc:@@@@}}|generic=an item of the user's choice|@@@@}}]] | &#32;and&#32; }}{{#if:{{{stackname|}}}| ({{ilink|{{#switch:{{lc:{{{stacktype}}}}}|ammo|weapons=w|i}}|{{{stackname}}}}})[[item stacks specific::{{{stackname}}}|]]}}|'''''unknown items'''''[[missing::Infobox entry on the item stacking type| ]]}}.[[stacker is::true| ]]{{Cat|Item stackers}}|<!-- -->}}{{
{{#switch:{{lc:{{{stacker}}}}}|true|yes=*This item can stack up to {{#if:{{{imax|}}}|{{{imax}}}|'''''unknown'''''[[missing::Infobox entry on the max stack size (imax)| ]]}} {{#if:{{{stacktype|}}}|{{#arraymap: {{{stacktype}}} | , | @@@@ | [[item stacks category::@@@@|{{#switch:{{lc:@@@@}}|generic=an item of the user's choice|@@@@}}]] | &#32;and&#32; }}{{#if:{{{stackname|}}}| ({{ilink|{{#switch:{{lc:{{{stacktype}}}}}|ammo|weapons=w|i}}|{{{stackname}}}}})[[item stacks specific::{{{stackname}}}|]]}}|'''''unknown items'''''[[missing::Infobox entry on the item stacking type| ]]}}.[[stacker is::true| ]]{{Cat|Item stackers}}}}
{{
IfMatch| haste | {{{special}}} | true=*This item can reduce [[roundtime]]. {{Cat|Haste items}}[[has item property::haste item| ]]}}{{
IfMatch| haste | {{{special}}} | true=*This item can reduce [[roundtime]]. {{Cat|Haste items}}[[has item property::haste item| ]]}}{{
IfMatch| horse | {{{special}}} | true=*This item is designed to be worn by or used on a {{Cat|Tack items}} [[:Category:Horses|horse or mount]].[[has item property::horse| ]][[has item property::tack| ]]}}{{
IfMatch| horse | {{{special}}} | true=*This item is designed to be worn by or used on a {{Cat|Tack items}} [[:Category:Horses|horse or mount]].[[has item property::horse| ]][[has item property::tack| ]]}}{{
Line 190: Line 188:
#if:{{{source2|}}} | <br />{{#switch: {{lc: {{{sourcetype2}}} }} | sold by=Sold by {{#arraymap: {{{source2}}} | + | @@@@ | [[source is::@@@@| ]] [[page source is::@@@@]] | ,&#32; }} for {{#if:{{{cost2|}}} | {{{cost2}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source2}}} | [[missing::Infobox entry on source|''Unknown'']] }} }}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#if:{{{rarity|}}}| {{#switch:{{{rarity}}}|treasure map=This can be found from a [[source is::treasure map|Treasure Map]] or {{ilink|i|glass egg framed with delicate strands of gold|Glass Egg}}<br/>}} }}{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=subject|order=desc|intro=Source is&nbsp;}}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}{{#arraymap:{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=none|order=desc|sep={{!}}}}|{{!}}|@@@@|[[source is::@@@@| ]] [[page source is::{{#replace:{{#replace:{{#replace:@@@@|<span class="smw-format list-format ">|}}|</span>|}}|<span class="smw-row"><span class="smw-field"><span class="smw-value">|}}| ]] |\s}}{{#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:{{{source2|}}} | <br />{{#switch: {{lc: {{{sourcetype2}}} }} | sold by=Sold by {{#arraymap: {{{source2}}} | + | @@@@ | [[source is::@@@@| ]] [[page source is::@@@@]] | ,&#32; }} for {{#if:{{{cost2|}}} | {{{cost2}}} | [[missing::Infobox entry on cost|an ''unknown'' amount]] }} | other={{{source2}}} | [[missing::Infobox entry on source|''Unknown'']] }} }}}}{{#switch:{{{sourcetype|}}}|-=|<br \>}}{{#if:{{{rarity|}}}| {{#switch:{{{rarity}}}|treasure map=This can be found from a [[source is::treasure map|Treasure Map]] or {{ilink|i|glass egg framed with delicate strands of gold|Glass Egg}}<br/>}} }}{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=subject|order=desc|intro=Source is&nbsp;}}{{#if:{{{shop|}}}{{{traderapp|}}}|[[Needs updating::true| ]]}}{{#arraymap:{{#ask:[[source for::{{FULLPAGENAME}}]]|format=list|link=none|order=desc|sep={{!}}}}|{{!}}|@@@@|[[source is::@@@@| ]] [[page source is::{{#replace:{{#replace:{{#replace:@@@@|<span class="smw-format list-format ">|}}|</span>|}}|<span class="smw-row"><span class="smw-field"><span class="smw-value">|}}| ]] |\s}}{{#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>

Latest revision as of 15:35, 24 January 2026

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.