Template:ItemProperties: Difference between revisions
Jump to navigation
Jump to search
m (typo fix) |
m (typo fix) |
||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly>|- |
||
{{#if: {{{uses|}}} | {{!}}'''Uses:'''{{!}}{{!}} {{{uses}}} }} |
{{#if: {{{uses|}}} | {{!}}'''Uses:'''{{!}}{{!}} {{{uses}}} }} |
||
| |
|- |
||
| '''Appraised Cost:''' || {{#if: {{{appcost|}}} | {{ |
| '''Appraised Cost:''' || {{#if: {{{appcost|}}} | {{ |
||
#arraymap: {{{appcost}}} | + | x | [[appraised cost is::x Kronars]] |  or  }} | [[missing::Infobox entry on appraised cost|''Unknown'']] }}{{ |
#arraymap: {{{appcost}}} | + | x | [[appraised cost is::x Kronars]] |  or  }} | [[missing::Infobox entry on appraised cost|''Unknown'']] }}{{ |
||
#switch:{{lc:{{{traderapp}}} }} | y|yes= [[was trader appraised::true| ]] | n|no= [[was trader appraised::false| ]] }} |
#switch:{{lc:{{{traderapp}}} }} | y|yes= [[was trader appraised::true| ]] | n|no= [[was trader appraised::false| ]] }} |
||
| |
|- |
||
{{#if: {{{special|}}} | {{#ifeq: {{{special}}} | - | | {{!}} '''Special Properties:''' |
{{#if: {{{special|}}} | {{#ifeq: {{{special}}} | - | | {{!}} '''Special Properties:''' |
||
{{!}} {{#If: |
{{!}} {{#If: |
||
Line 104: | Line 104: | ||
IfMatch| necromancer style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::necromancer | Necromancers]].[[has item property::necromancer style | ]]}} |
IfMatch| necromancer style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for [[guild association is::necromancer | Necromancers]].[[has item property::necromancer style | ]]}} |
||
| * None{{#ifeq:{{{itype}}} | item | {{IfMatch| clothing | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=[[has item property::clothing | ]]}} }}{{#ifeq:{{{itype}}} | item | {{IfMatch| jewelry | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=[[has item property::jewelry | ]]}} }}{{IfMatch| quest | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=[[has item property::quest | ]]}} }} }} | }} |
| * None{{#ifeq:{{{itype}}} | item | {{IfMatch| clothing | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=[[has item property::clothing | ]]}} }}{{#ifeq:{{{itype}}} | item | {{IfMatch| jewelry | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} | true=[[has item property::jewelry | ]]}} }}{{IfMatch| quest | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=[[has item property::quest | ]]}} }} }} | }} |
||
| |
|- |
||
| '''Sources:''' || {{#switch:{{lc: {{{sourcetype}}} }} | -= | {{#if:{{{source|}}} | {{#switch: {{lc: {{{sourcetype}}} }} | sold by=Sold by [[sold by::{{{source}}}]] for {{#if:{{{cost|}}} | {{#arraymap:{{{cost}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost | an ''unknown'' amount]]}} | other={{{source}}} | [[missing::Infobox entry on source | ''Unknown'']]}} | [[missing::Infobox entry on source | ''Unknown'']]}}{{ |
| '''Sources:''' || {{#switch:{{lc: {{{sourcetype}}} }} | -= | {{#if:{{{source|}}} | {{#switch: {{lc: {{{sourcetype}}} }} | sold by=Sold by [[sold by::{{{source}}}]] for {{#if:{{{cost|}}} | {{#arraymap:{{{cost}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost | an ''unknown'' amount]]}} | other={{{source}}} | [[missing::Infobox entry on source | ''Unknown'']]}} | [[missing::Infobox entry on source | ''Unknown'']]}}{{ |
||
#if:{{{source2|}}} | <br />{{#switch: {{lc: {{{sourcetype2}}} }} | sold by=Sold by [[sold by::{{{source2}}}]] for {{#if:{{{cost2|}}} | {{#arraymap:{{{cost2}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost | an ‘‘unknown’’ amount]]}} | other={{{source2}}} | [[missing::Infobox entry on source | ''Unknown'']]}} }}{{ |
#if:{{{source2|}}} | <br />{{#switch: {{lc: {{{sourcetype2}}} }} | sold by=Sold by [[sold by::{{{source2}}}]] for {{#if:{{{cost2|}}} | {{#arraymap:{{{cost2}}} | + | x | [[shop cost is::x]]}} | [[missing::Infobox entry on cost | an ‘‘unknown’’ amount]]}} | other={{{source2}}} | [[missing::Infobox entry on source | ''Unknown'']]}} }}{{ |
Revision as of 23:51, 13 January 2009
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.