Template:Item: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(update semantic wiki properties)
(more semantic updates)
Line 6: Line 6:
|width="15%"|'''Look:'''||{{#if:{{{look|}}}|{{{look}}}|''Unknown''}}
|width="15%"|'''Look:'''||{{#if:{{{look|}}}|{{{look}}}|''Unknown''}}
|-
|-
{{#if:{{{noun|}}}|[[noun is::{{{noun}}}| ]]|{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}}
{{#if:{{{noun|}}}|[[noun is::{{lc:{{{noun}}}}}| ]]|{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}}
|-
|-
|'''Weight:'''||{{#if:{{{weight|}}}|[[weight of::{{{weight}}}]]|''?''}} stone(s)
|'''Weight:'''||{{#if:{{{weight|}}}|[[weight of::{{{weight}}}]]|''?''}} stone(s)
|-
|-
|'''Type:'''||{{#if:{{{type|}}}|[[has item property::{{{type}}}]]|''Unknown''}}{{#If:{{{type2|}}}|, [[has item property::{{{type2}}}]]}}{{#If:{{{type3|}}}|, [[has item property::{{{type3}}}]]}}{{#If:{{{type4|}}}|, [[has item property::{{{type4}}}]]}}{{#If:{{{type5|}}}|, [[has item property::{{{type5}}}]]}}{{#If:{{{type6|}}}|, [[has item property::{{{type6}}}]]}}
|'''Type:'''||{{#if:{{{type|}}}|[[has item property::{{lc:{{{type}}}}}]]|''Unknown''}}{{#If:{{{type2|}}}|, [[has item property::{{lc:{{{type2}}}}}]]}}{{#If:{{{type3|}}}|, [[has item property::{{lc:{{{type3}}}}}]]}}{{#If:{{{type4|}}}|, [[has item property::{{lc:{{{type4}}}}}]]}}{{#If:{{{type5|}}}|, [[has item property::{{lc:{{{type5}}}}}]]}}{{#If:{{{type6|}}}|, [[has item property::{{lc:{{{type6}}}}}]]}}
|-
|-
{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At:'''{{!}}{{!}}Not sold{{#if:{{{cost|}}}|&nbsp;({{{cost}}})}}|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}} <DL><DT>{{#if:{{{shop|}}}|[[{{{shop}}}]]|''Unknown''}}<DD>{{#if:{{{cost|}}}|({{{cost}}} {{#switch:{{lc:{{{coin}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}{{#if:{{{shop2|}}}|<DT>[[{{{shop2}}}]]<DD>{{#if:{{{cost2|}}}|({{{cost2}}} {{#switch:{{lc:{{{coin2}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>{{#if:{{{cost3|}}}|({{{cost3}}} {{#switch:{{lc:{{{coin3}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop4|}}}|<DT>[[{{{shop4}}}]]<DD>{{#if:{{{cost4|}}}|({{{cost4}}} {{#switch:{{lc:{{{coin4}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop5|}}}|<DT>[[{{{shop5}}}]]<DD>{{#if:{{{cost5|}}}|({{{cost5}}} {{#switch:{{lc:{{{coin5}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop6|}}}|<DT>[[{{{shop6}}}]]<DD>{{#if:{{{cost6|}}}|({{{cost6}}} {{#switch:{{lc:{{{coin6}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop7|}}}|<DT>[[{{{shop7}}}]]<DD>{{#if:{{{cost7|}}}|({{{cost7}}} {{#switch:{{lc:{{{coin7}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop8|}}}|<DT>[[{{{shop8}}}]]<DD>{{#if:{{{cost8|}}}|({{{cost8}}} {{#switch:{{lc:{{{coin8}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop9|}}}|<DT>[[{{{shop9}}}]]<DD>{{#if:{{{cost9|}}}|({{{cost9}}} {{#switch:{{lc:{{{coin9}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop10|}}}|<DT>[[{{{shop10}}}]]<DD>{{#if:{{{cost10|}}}|({{{cost10}}} {{#switch:{{lc:{{{coin10}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}</DL>}}
{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At:'''{{!}}{{!}}Not sold{{#if:{{{cost|}}}|&nbsp;({{{cost}}})}}|{{!}} '''For Sale At (Base Cost):'''{{!}}{{!}} <DL><DT>{{#if:{{{shop|}}}|[[{{{shop}}}]]|''Unknown''}}<DD>{{#if:{{{cost|}}}|({{{cost}}} {{#switch:{{lc:{{{coin}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}{{#if:{{{shop2|}}}|<DT>[[{{{shop2}}}]]<DD>{{#if:{{{cost2|}}}|({{{cost2}}} {{#switch:{{lc:{{{coin2}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>{{#if:{{{cost3|}}}|({{{cost3}}} {{#switch:{{lc:{{{coin3}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop4|}}}|<DT>[[{{{shop4}}}]]<DD>{{#if:{{{cost4|}}}|({{{cost4}}} {{#switch:{{lc:{{{coin4}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop5|}}}|<DT>[[{{{shop5}}}]]<DD>{{#if:{{{cost5|}}}|({{{cost5}}} {{#switch:{{lc:{{{coin5}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop6|}}}|<DT>[[{{{shop6}}}]]<DD>{{#if:{{{cost6|}}}|({{{cost6}}} {{#switch:{{lc:{{{coin6}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop7|}}}|<DT>[[{{{shop7}}}]]<DD>{{#if:{{{cost7|}}}|({{{cost7}}} {{#switch:{{lc:{{{coin7}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop8|}}}|<DT>[[{{{shop8}}}]]<DD>{{#if:{{{cost8|}}}|({{{cost8}}} {{#switch:{{lc:{{{coin8}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop9|}}}|<DT>[[{{{shop9}}}]]<DD>{{#if:{{{cost9|}}}|({{{cost9}}} {{#switch:{{lc:{{{coin9}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}{{#if:{{{shop10|}}}|<DT>[[{{{shop10}}}]]<DD>{{#if:{{{cost10|}}}|({{{cost10}}} {{#switch:{{lc:{{{coin10}}}}}|k=Kronars|l=Lirums|d=Dokoras|''Unknown Currency''}})|''Unknown''}}}}</DL>}}
|-
|-
| '''Appraised Cost:'''||{{#if:{{{appcost|}}}|{{{appcost}}}|''?''}} Kronar(s)
| '''Appraised Cost:'''||{{#if:{{{appcost|}}}|[[appraised cost is::{{{appcost}}}]]|''?''}} Kronar(s){{#if:{{{traderapp|}}}|{{#switch:{{lc:{{{traderapp}}}}}|y|yes=[[was trader appraised::yes| ]]|n|no=[[was trader appraised::no| ]]}}}}
|-
|-
| '''Special Properties:'''
| '''Special Properties:'''

Revision as of 05:13, 13 June 2008

Item
Look: Unknown
Core Noun: Unknown
Weight: ? stone(s)
Type: Unknown
For Sale At (Base Cost):
Unknown
Unknown
Appraised Cost: ? Kronar(s)
Special Properties:

Usage Documentation:

This template is for use with non-armor, non-weapon items. Copy the following into the item page. Weapons, armor, and shields have their own separate templates, and for brawling and related equipment use Template:BrawlItem. For information on listing crafted equipment, consult the Manual of Style.

Variable Supported Values Usage
name name of the object if it's different than the page name
look the description gained by LOOKing at it.
noun the single word noun used to interact with it
type# alchemy/clothing/creation/herb/jewelry/pocketed/tack/rough
chakrel/perfect chakrel/(guild)/(guild) tools/container/magic/
cambrinth/gaethzen/food/drink/instrument/juggle/light/quest
For category inclusion
weight # weight in stones
wearloc n/generic/eye/eyes/ear/ears/head/hair/eyebrow/nose/neck/chest/
shirt/arms/upper arm/wrist/hands/finger/back/shoulder/shoulders/
abdomen/waist/belt/legs/pants/ankles/feet/tail
where it is worn
maxcharge # maximum mana that can be held by it
heldspell the spell cast by the object
appcost # The cost given by an expert (trader preferred) appraisal. Given in kronars
traderapp y/n Was the expert appraisal done by a trader?
shop# Where it is sold
cost# # Price at preceeding store
coin# k/l/d Automatically tags the previous price with the correct currency
{{Item
|name=
|look=
|noun=
|type=
|type2=
|type3=
|type4=
|type5=
|type6=
|weight=
|wearloc=
|magic=
|maxcharge=
|heldspell=
|appcost=
|traderapp=
|shop=
|cost=
|coin=
|shop2=
|cost2=
|coin2=
|shop3=
|cost3=
|coin3=
|shop4=
|cost4=
|coin4=
|shop5=
|cost5=
|coin5=
|shop6=
|cost6=
|coin6=
|shop7=
|cost7=
|coin7=
|shop8=
|cost8=
|coin8=
|shop9=
|cost9=
|coin9=
|shop10=
|cost10=
|coin10=
}}