Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (typo fix)
(added ability to remove appraised cost if a housing item)
Line 2: Line 2:
{{#if: {{{uses|}}} | {{!}}'''Uses:'''{{!}}{{!}} {{{uses}}} }}
{{#if: {{{uses|}}} | {{!}}'''Uses:'''{{!}}{{!}} {{{uses}}} }}
|-
|-
| '''Appraised Cost:''' || {{#if: {{{appcost|}}} | {{
{{#if:{{IfMatch| housing | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} }} | |{{!}} '''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:'''

Revision as of 23:41, 29 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.