Template:ItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(added support for appraised cost disabling)
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
{{#if: {{{uses|}}} | {{!}}'''Uses:'''{{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{{uses}}} }}
{{#if: {{{uses|}}} | {{!}}'''Uses:'''{{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{{uses}}} }}
|-
|-
{{#if: {{{appcost|}}} | {{

#ifeq: {{{appcost}}} | - | | {{!}} '''Appraised Cost:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{
{{#if: {{{appcost|}}}
| {{!}} '''Appraised Cost:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{
#arraymap: {{{appcost}}} | + | x | [[appraised cost is::x Kronars]] | &#32;or&#32; }}
#arraymap: {{{appcost}}} | + | x | [[appraised cost is::x Kronars]] | &#32;or&#32; }}
|{{#if:{{IfMatch| housing | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} }} | | {{!}} '''Appraised Cost:''' {{!}}{{!}}{{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} [[missing::Infobox entry on appraised cost|''Unknown'']] }} }}
|{{#if:{{IfMatch| housing | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | {{{special6}}} }} | | {{!}} '''Appraised Cost:''' {{!}}{{!}}{{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }} [[missing::Infobox entry on appraised cost|''Unknown'']] }} }} }}
|-
|-
{{#if: {{{special|}}} | {{#ifeq: {{{special}}} | - | | {{!}} '''Special Properties:'''
{{#if: {{{special|}}} | {{#ifeq: {{{special}}} | - | | {{!}} '''Special Properties:'''

Revision as of 02:05, 18 February 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.