Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(added ability to remove appraised cost if a housing item)
(added display of present appraise price even if housing style is present, removed trader appraised value)
Line 2: Line 2:
{{#if: {{{uses|}}} | {{!}}'''Uses:'''{{!}}{{!}} {{{uses}}} }}
{{#if: {{{uses|}}} | {{!}}'''Uses:'''{{!}}{{!}} {{{uses}}} }}
|-
|-

{{#if:{{IfMatch| housing | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} }} | |{{!}} '''Appraised Cost:''' {{!}}{{!}} {{#if: {{{appcost|}}} | {{
{{#if: {{{appcost|}}}
#arraymap: {{{appcost}}} | + | x | [[appraised cost is::x Kronars]] |  or  }} | [[missing::Infobox entry on appraised cost|''Unknown'']] }}{{
| {{!}} '''Appraised Cost:''' {{!}}{{!}} {{
#switch:{{lc:{{{traderapp}}} }} | y|yes= [[was trader appraised::true| ]] | n|no= [[was trader appraised::false| ]] }} }}
#arraymap: {{{appcost}}} | + | x | [[appraised cost is::x Kronars]] |  or  }}
|-
|{{#if:{{IfMatch| housing | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} }} | | {{!}} '''Appraised Cost:''' {{!}}{{!}} [[missing::Infobox entry on appraised cost|''Unknown'']] }} }}
|-
{{#if: {{{special|}}} | {{#ifeq: {{{special}}} | - | | {{!}} '''Special Properties:'''
{{#if: {{{special|}}} | {{#ifeq: {{{special}}} | - | | {{!}} '''Special Properties:'''
{{!}} {{#If:
{{!}} {{#If:

Revision as of 01:01, 30 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.