Template:Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
<!-- Adds Incomplete template if non-optional information is missing--> |
<!-- Adds Incomplete template if non-optional information is missing--> |
||
{{# |
{{#if:{{IfAND|{{{look|}}} |
||
|{{{noun|}}} |
|{{{noun|}}} |
||
|{{{weight|}}} |
|{{{weight|}}} |
||
|{{{type|}}} |
|{{{type|}}} |
||
|{{# |
|{{#if:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|{{# |
|{{#if:{{{maxcharge|}}}|1 |
||
}} |
}} |
||
}} |
}} |
||
|{{# |
|{{#if:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|{{# |
|{{#if:{{{maxcharge|}}}|1 |
||
}} |
}} |
||
}} |
}} |
||
|{{# |
|{{#if:{{IfOR|{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
|{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
}} |
}} |
||
|{{# |
|{{#if:{{{wearloc|}}}|1 |
||
}} |
}} |
||
}} |
}} |
||
Line 39: | Line 39: | ||
| width="15%" | '''Look:''' || {{{look|''Unknown''}}} |
| width="15%" | '''Look:''' || {{{look|''Unknown''}}} |
||
|- |
|- |
||
| '''Core Noun:''' || {{# |
| '''Core Noun:''' || {{#if: {{{noun|}}} | {{{noun|}}}|''Unknown''}} |
||
|- |
|- |
||
| '''Weight:''' || {{{weight|''?''}}} stones |
| '''Weight:''' || {{{weight|''?''}}} stones |
||
|- |
|- |
||
| '''Type:''' || |
| '''Type:''' || |
||
{{# |
{{#if: {{{shop|}}} | {{!}}- }} |
||
{{# |
{{#if: {{{shop|}}} | |
||
{{!}} '''For Sale At (Base Cost):''' |
{{!}} '''For Sale At (Base Cost):''' |
||
{{!}} <DL><DT>[[{{{shop}}}]]<DD>({{{cost|''Unknown''}}}){{# |
{{!}} <DL><DT>[[{{{shop}}}]]<DD>({{{cost|''Unknown''}}}){{#if:{{{shop2|}}} | <DT>[[{{{shop2}}}]]<DD>({{{cost2|''Unknown''}}}) }}{{#if:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>({{{cost3|''Unknown''}}})}}</DL> |
||
}} |
}} |
||
|- |
|- |
||
Line 53: | Line 53: | ||
|- |
|- |
||
| '''Special Properties:''' |
| '''Special Properties:''' |
||
|{{# |
|{{#if: {{IfOR |
||
|{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
|{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
Line 59: | Line 59: | ||
}} |
}} |
||
}} |
}} |
||
|{{# |
|{{#if:{{{wearloc|}}} |
||
|*This item is worn on the {{{wearloc}}}. |
|*This item is worn on the {{{wearloc}}}. |
||
|*This item is worn in an unknown location. |
|*This item is worn in an unknown location. |
||
}} |
}} |
||
}} |
}} |
||
{{# |
{{#if:{{IfMatch|pocketed|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|*This item has pockets. |
|*This item has pockets. |
||
}} |
}} |
||
<!--For backwards compatability--> |
<!--For backwards compatability--> |
||
{{# |
{{#if:{{{pockets|}}}|*This item has pockets. |
||
}} |
}} |
||
{{# |
{{#if: |
||
{{IfOR |
{{IfOR |
||
|{{IfMatch|magic|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
|{{IfMatch|magic|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
Line 82: | Line 82: | ||
|*This item is magical. |
|*This item is magical. |
||
}} |
}} |
||
{{# |
{{#if:{{{heldspell|}}} |
||
|*This holds the [[{{{heldspell}}}]] spell. |
|*This holds the [[{{{heldspell}}}]] spell. |
||
}} |
}} |
||
{{# |
{{#if:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|*This item is made from [[cambrinth]] and will hold up to {{{maxcharge|?}}} mana. |
|*This item is made from [[cambrinth]] and will hold up to {{{maxcharge|?}}} mana. |
||
}} |
}} |
||
{{# |
{{#if:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|*This item is made from [[gaethzen]] and will hold up to {{{maxcharge|?}}} mana. |
|*This item is made from [[gaethzen]] and will hold up to {{{maxcharge|?}}} mana. |
||
}} |
}} |
||
{{# |
{{#if:{{IfMatch|gath mysanda|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|*?? |
|*?? |
||
Line 99: | Line 99: | ||
|} |
|} |
||
{{# |
{{#if:{{{notes|}}}|==Notes==<br>{{{notes}}} |
||
}} |
}} |
||
Line 105: | Line 105: | ||
[[Category:Items]] |
[[Category:Items]] |
||
<!-- Adds page to appropriate category based on type --> |
<!-- Adds page to appropriate category based on type --> |
||
{{# |
{{#if:{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|[[Category:Clothing]]{{# |
|[[Category:Clothing]]{{#if:{{{wearloc}}}|[[Category:Clothing ({{{wearloc}}} worn)]] |
||
}} |
}} |
||
}} |
}} |
||
{{# |
{{#if:{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|[[Category:Jewelry]]{{# |
|[[Category:Jewelry]]{{#if:{{{wearloc}}}|[[Category:Jewelry ({{{wearloc}}} worn)]] |
||
}} |
}} |
||
}} |
}} |
||
{{# |
{{#if:{{IfMatch|magic|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|[[Category:Magic Items]] |
|[[Category:Magic Items]] |
||
}} |
}} |
||
{{# |
{{#if:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|[[Category:Magic Items]][[Category:Cambrinth Items]] |
|[[Category:Magic Items]][[Category:Cambrinth Items]] |
||
}} |
}} |
||
{{# |
{{#if:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|[[Category:Magic Items]][[Category:Gaethzen Items]] |
|[[Category:Magic Items]][[Category:Gaethzen Items]] |
||
}} |
}} |
||
{{# |
{{#if:{{IfMatch|perfect chakrel|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|[[Category:Perfect Chakrel Items]][[Category:Chakrel Items]][[Category:Barbarian Items]] |
|[[Category:Perfect Chakrel Items]][[Category:Chakrel Items]][[Category:Barbarian Items]] |
||
}} |
}} |
||
{{# |
{{#if:{{IfMatch|rough chakrel|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}} |
||
}} |
}} |
||
|[[Category:Rough Chakrel Items]][[Category:Chakrel Items]][[Category:Barbarian Items]] |
|[[Category:Rough Chakrel Items]][[Category:Chakrel Items]][[Category:Barbarian Items]] |
Revision as of 03:43, 18 April 2008
Item | |
---|---|
Look: | Unknown |
Core Noun: | Unknown |
Weight: | ? stones |
Type: |
|
Appraised Cost: | ? Kronars |
Special Properties: |
|
This template is for use with non-armor, non-weapon items. Copy the following into the item page.
Delete any variables that are not defined or else the template will have issues.
Usage
{{Item |name=(name of the object if it's different than the page name) |look=(the description gained by LOOKing at it. |corenoun=(the single word noun used to interact with it) |type=magic/alchemy/herb/clothing/jewelry/tack/creation/pocketed/rough chakrel/perfect chakrel |type2= |type3= |type4= |type5= |type6= |weight= (weight in stones) |wearloc= (where it is worn) |magic=y/n/cambrinth/gaethzen/gath mysanda |maxcharge= (maximum mana that can be held by it) |heldspell= (the spell cast by the object) |appcost=(The cost given by an expert appraisal. Given in kronars.) |shop= |cost= |shop2= |cost2= |shop3= |cost3= |notes=(any additional notes) }}