Template:Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(update semantic wiki properties) |
||
Line 1: | Line 1: | ||
⚫ | <includeonly><!-- Adds IncompleteItem template if non-optional information is missing-->{{#if:{{IfAND|{{{look|}}}|{{{noun|}}}|{{{weight|}}}|{{{type|}}}|{{#If:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{maxcharge|}}}|1}}}}|{{#If:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{maxcharge|}}}|1}}}}|{{#If:{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{wearloc|}}}|1}}}}|{{IfAND|{{IfTHEN|{{{shop}}}|{{{cost}}}}}|{{IfTHEN|{{{shop2}}}|{{{cost2}}}}}|{{IfTHEN|{{{shop3}}}|{{{cost3}}}}}}}}}||{{IncompleteItem|Some information is missing from the item infobox.}}}}</includeonly> |
||
<includeonly> |
|||
<!-- Adds IncompleteItem template if non-optional information is missing--> |
|||
⚫ | {{#if:{{IfAND|{{{look|}}}|{{{noun|}}}|{{{weight|}}}|{{{type|}}}|{{#If:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{maxcharge|}}}|1}}}}|{{#If:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{maxcharge|}}}|1}}}}|{{#If:{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}}}|{{#If:{{{wearloc|}}}|1}}}}|{{IfAND|{{IfTHEN|{{{shop}}}|{{{cost}}}}}|{{IfTHEN|{{{shop2}}}|{{{cost2}}}}}|{{IfTHEN|{{{shop3}}}|{{{cost3}}}}}}}}}||{{IncompleteItem|Some information is missing from the item infobox.}}}} |
||
</includeonly> |
|||
{|class="wikitable" style="width:700px" |
{|class="wikitable" style="width:700px" |
||
|-style="height:40px" |
|-style="height:40px" |
||
Line 10: | Line 6: | ||
|width="15%"|'''Look:'''||{{#if:{{{look|}}}|{{{look}}}|''Unknown''}} |
|width="15%"|'''Look:'''||{{#if:{{{look|}}}|{{{look}}}|''Unknown''}} |
||
|- |
|- |
||
{{#if:{{{noun|}}}||{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}} |
{{#if:{{{noun|}}}|[[noun is::{{{noun}}}| ]]|{{!}}'''Core Noun:'''{{!}}{{!}}''Unknown''}} |
||
|- |
|- |
||
|'''Weight:'''||{{#if:{{{weight|}}}|{{{weight}}}|''?''}} stone(s) |
|'''Weight:'''||{{#if:{{{weight|}}}|[[weight of::{{{weight}}}]]|''?''}} stone(s) |
||
|- |
|- |
||
|'''Type:'''||{{#if:{{{type|}}}|{{{type}}}|''Unknown''}}{{#If:{{{type2|}}}|, {{{type2}}}}}{{#If:{{{type3|}}}|, {{{type3}}}}}{{#If:{{{type4|}}}|, {{{type4}}}}}{{#If:{{{type5|}}}|, {{{type5}}}}}{{#If:{{{type6|}}}|, {{{type6}}}}} |
|'''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}}}]]}} |
||
|- |
|- |
||
{{#ifeq:{{lc:{{{shop}}}}}|n|{{!}} '''For Sale At:'''{{!}}{{!}}Not sold{{#if:{{{cost|}}}| ({{{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|}}}| ({{{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>}} |
Revision as of 05:05, 13 June 2008
Item | |
---|---|
Look: | Unknown |
Core Noun: | Unknown |
Weight: | ? stone(s) |
Type: | Unknown |
For Sale At (Base Cost): |
|
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= }}