Template:OItemProperties: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Created page with "<includeonly>|- {{#if: {{{uses|}}} | {{!}}'''Uses:'''{{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#arraymap:{{{uses}}}|+|@@@@|[[has use...")
 
No edit summary
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
{{#if: {{{uses|}}} | {{!}}'''Uses:'''{{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#arraymap:{{{uses}}}|+|@@@@|[[has uses::@@@@]]|,&nbsp;}}}}
{{#if: {{{uses|}}} | {{!}}'''Uses:'''{{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#arraymap:{{{uses}}}|+|@@@@|@@@@|,&nbsp;}}}}
|-
|-
{{#if: {{{appcost|}}} | {{
{{#if: {{{appcost|}}} | {{
#ifeq: {{{appcost}}} | - | | {{!}} '''Appraised Cost:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{
#ifeq: {{{appcost}}} | - | | {{!}} '''Appraised Cost:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{
#arraymap:{{{appcost}}}|+|@@@@| @@@@ Kronars|&#32;or&#32;}} }}
#arraymap:{{{appcost}}}|+|@@@@| @@@@ 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 | }} ''Unknown'' }} }}
|-
|-
{{#if: {{{special|}}}{{{wearloc|}}} | {{#ifeq: {{{special}}} | - | | {{!}} '''Special Properties:'''
{{#if: {{{special|}}}{{{wearloc|}}} | {{#ifeq: {{{special}}} | - | | {{!}} '''Special Properties:'''
Line 20: Line 20:
IfMatch| container | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This {{{itype}}} is a container or has pockets.}}{{
IfMatch| container | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This {{{itype}}} is a container or has pockets.}}{{
IfMatch| lock | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item can be locked.}}{{
IfMatch| lock | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item can be locked.}}{{
#If:{{IfMatch| clothing | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}}}}{{IfMatch| jewelry | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}}}}{{IfMatch| container | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}}}}{{{wearloc|}}} | {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n | -= | hair|hair (?)=* This item needs to be allocated to either "tied to the hair" or "placed in the hair."|hair (tied)=*This item is tied to the hair hair (tied)| ]].|hair (placed)=*This item is placed in the hair.|shirt=* This item needs to be allocated to either "shirt+" (worn with armor) or "shirt-" (worn without armor).|shirt-=* This item is worn in the shirt slot but cannot be worn with armor.|shirt+=* This item is worn in the shirt slot and can be worn with armor.| generic=*This item is worn in a generic slot. | *This item is worn in the {{#arraymap: {{{wearloc}}} | , | @@@@ | @@@@ | &#32;or&#32; }} slot.}} | *This item is worn in an ''unknown'' or unset slot. }} }}{{
#If:{{IfMatch| clothing | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}}}}{{IfMatch| jewelry | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}}}}{{IfMatch| container | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}}}}{{{wearloc|}}} | {{#if:{{{wearloc|}}} | {{#switch:{{lc:{{{wearloc}}}}} | n | -= | hair|hair (?)=* This item needs to be allocated to either "tied to the hair" or "placed in the hair."|hair (tied)=*This item is tied to the hair hair (tied).|hair (placed)=*This item is placed in the hair.|shirt=* This item needs to be allocated to either "shirt+" (worn with armor) or "shirt-" (worn without armor).|shirt-=* This item is worn in the shirt slot but cannot be worn with armor.|shirt+=* This item is worn in the shirt slot and can be worn with armor.| generic=*This item is worn in a generic slot. | *This item is worn in the {{#arraymap: {{{wearloc}}} | , | @@@@ | @@@@ | &#32;or&#32; }} slot.}} | *This item is worn in an ''unknown'' or unset slot. }} }}{{
IfMatch| food | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item is food.}}{{
IfMatch| food | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item is food.}}{{
IfMatch| drink | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item is a drink.}}{{
IfMatch| drink | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item is a drink.}}{{
Line 41: Line 41:
IfMatch| smoking | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This is a smoking instrument or type of tobacco.}}{{
IfMatch| smoking | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This is a smoking instrument or type of tobacco.}}{{
IfMatch| housing | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item is designed to be used in or on player houses.}}{{
IfMatch| housing | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item is designed to be used in or on player houses.}}{{
IfMatch| hood | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item can hide the wearer's features or worn items.[[has item property::hood| ]]}}{{
IfMatch| hood | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item can hide the wearer's features or worn items.}}{{
IfMatch| hiding | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item can hide the wearer's features or worn items.[[has item property::hiding| ]]}}{{
IfMatch| hiding | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item can hide the wearer's features or worn items.}}{{
IfMatch| writing | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item can be written on or with.[[has item property::writing| ]]}}{{
IfMatch| writing | {{{special}}}+{{{special2}}}+{{{special3}}}+{{{special4}}}+{{{special5}}}+{{{special6}}} | true=*This item can be written on or with.}}{{
IfMatch| dwarf style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::dwarf|Dwarves]].[[has item property::dwarf style| ]]}}{{
IfMatch| dwarf style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for Dwarves.}}{{
IfMatch| elf style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::elf|Elves]].[[has item property::elf style| ]]}}{{
IfMatch| elf style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for Elves.}}{{
IfMatch| elothean style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::elothean|Elotheans]].[[has item property::elothean style| ]]}}{{
IfMatch| elothean style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for Elotheans.}}{{
IfMatch| gnome style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::gnome|Gnomes]].[[has item property::gnome style| ]]}}{{
IfMatch| gnome style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::gnome|Gnomes]].[[has item property::gnome style| ]]}}{{
IfMatch| gortog style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::gor'tog|Gor'Togs]].[[has item property::gortog style| ]]}}{{
IfMatch| gortog style | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}} | true=*This {{{itype}}} is styled or has special functions for [[race association is::gor'tog|Gor'Togs]].[[has item property::gortog style| ]]}}{{
Line 72: Line 72:
}} }}
}} }}
|-
|-
{{#switch: {{{lsize}}} | -= | {{!}} '''Dimensions:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|[[length is::{{{lsize}}}]]|''?''}} length x {{#if:{{{wsize|}}}|[[width is::{{{wsize}}}]]|''?''}} width x {{#if:{{{hsize|}}}|[[height is::{{{hsize}}}]]|''?''}} height}}
{{#switch: {{{lsize}}} | -= | {{!}} '''Dimensions:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{lsize|}}}|{{{lsize}}}|''?''}} length x {{#if:{{{wsize|}}}|{{{wsize}}}|''?''}} width x {{#if:{{{hsize|}}}|{{{hsize}}}|''?''}} height}}
|-
|-
{{#if: {{IfMatch| container | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}}|true=1 }} | {{#switch: {{{ilsize|}}} |-=|
{{#if: {{IfMatch| container | {{{special}}} | {{{special2}}} | {{{special3}}} | {{{special4}}} | {{{special5}}}|true=1 }} | {{#switch: {{{ilsize|}}} |-=|
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|[[interior length is::{{{ilsize}}}]]|''?''}} length x {{#if:{{{iwsize|}}}|[[interior width is::{{{iwsize}}}]]|''?''}} width x {{#if:{{{ihsize|}}}|[[interior height is::{{{ihsize}}}]]|''?''}} height x {{#if:{{{csize|}}}|[[weight capacity is::{{{csize}}}]]|''?''}} weight}}}}
{{!}} '''Capacity:''' {{!}}{{!}} {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}}}} {{#if:{{{ilsize|}}}|{{{ilsize}}}|''?''}} length x {{#if:{{{iwsize|}}}|{{{iwsize}}}|''?''}} width x {{#if:{{{ihsize|}}}|{{{ihsize}}}|''?''}} height x {{#if:{{{csize|}}}|{{{csize}}}|''?''}} weight}}}}
|-
|-
| '''Sources:''' || {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#switch:{{lc: {{{sourcetype}}} }} | -= | {{#if:{{{source|}}} | {{#switch: {{lc: {{{sourcetype}}} }} | sold by=Sold by {{#arraymap: {{{source}}} | + | @@@@ | [[sold by::@@@@]] | ,&#32; }} for {{#if:{{{cost|}}} | {{#arraymap:{{{cost}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source}}} | [[missing::Infobox entry on source|''Unknown'']]}} | [[missing::Infobox entry on source|''Unknown'']]}}{{
| '''Sources:''' || {{#switch:{{{span}}} | 3=colspan="3"{{!}} | 2=colspan="2" {{!}} | 1 | }}{{#switch:{{lc: {{{sourcetype}}} }} | -= | {{#if:{{{source|}}} | {{#switch: {{lc: {{{sourcetype}}} }} | sold by=Sold by {{#arraymap: {{{source}}} | + | @@@@ | @@@@ | ,&#32; }} for {{#if:{{{cost|}}} | {{#arraymap:{{{cost}}} | + | @@@@ | @@@@}} | an ''unknown'' amount}} | other={{{source}}} | ''Unknown''}} | ''Unknown''}}{{
#if:{{{source2|}}} | <br />{{#switch: {{lc: {{{sourcetype2}}} }} | sold by=Sold by {{#arraymap: {{{source2}}} | + | @@@@ | [[sold by::@@@@]] | ,&#32; }} for {{#if:{{{cost2|}}} | {{#arraymap:{{{cost2}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[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 {{#arraymap: {{{source2}}} | + | @@@@ | @@@@ | ,&#32; }} for {{#if:{{{cost2|}}} | {{#arraymap:{{{cost2}}} | + | @@@@ | @@@@}} | an ''unknown'' amount}} | other={{{source2}}} | ''Unknown''}} }}{{
#if:{{{source3|}}} | <br />{{#switch:{{lc:{{{sourcetype3}}}}} | sold by=Sold by {{#arraymap: {{{source3}}} | + | @@@@ | [[sold by::@@@@]] | ,&#32; }} for {{#if:{{{cost3|}}} | {{#arraymap:{{{cost3}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source3}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{
#if:{{{source3|}}} | <br />{{#switch:{{lc:{{{sourcetype3}}}}} | sold by=Sold by {{#arraymap: {{{source3}}} | + | @@@@ | [[sold by::@@@@]] | ,&#32; }} for {{#if:{{{cost3|}}} | {{#arraymap:{{{cost3}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source3}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{
#if:{{{source4|}}} | <br />{{#switch:{{lc:{{{sourcetype4}}}}} | sold by=Sold by {{#arraymap: {{{source4}}} | + | @@@@ | [[sold by::@@@@]] | ,&#32; }} for {{#if:{{{cost4|}}} | {{#arraymap:{{{cost4}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source4}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{
#if:{{{source4|}}} | <br />{{#switch:{{lc:{{{sourcetype4}}}}} | sold by=Sold by {{#arraymap: {{{source4}}} | + | @@@@ | [[sold by::@@@@]] | ,&#32; }} for {{#if:{{{cost4|}}} | {{#arraymap:{{{cost4}}} | + | @@@@ | [[shop cost is::@@@@]]}} | [[missing::Infobox entry on cost|an ''unknown'' amount]]}} | other={{{source4}}} | [[missing::Infobox entry on source|''Unknown'']]}} }}{{

Revision as of 02:45, 23 June 2013