Template:Item: Difference between revisions

From Elanthipedia
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|}}}
{{#if:{{IfAND|{{{look|}}}
|{{{noun|}}}
|{{{noun|}}}
|{{{weight|}}}
|{{{weight|}}}
|{{{type|}}}
|{{{type|}}}
|{{#If:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}
|{{#if:{{IfMatch|cambrinth|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}
}}
}}
|{{#If:{{{maxcharge|}}}|1
|{{#if:{{{maxcharge|}}}|1
}}
}}
}}
}}
|{{#If:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}
|{{#if:{{IfMatch|gaethzen|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}
}}
}}
|{{#If:{{{maxcharge|}}}|1
|{{#if:{{{maxcharge|}}}|1
}}
}}
}}
}}
|{{#If:{{IfOR|{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}
|{{#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
|{{#if:{{{wearloc|}}}|1
}}
}}
}}
}}
Line 39: Line 39:
| width="15%" | '''Look:''' || {{{look|''Unknown''}}}
| width="15%" | '''Look:''' || {{{look|''Unknown''}}}
|-
|-
| '''Core Noun:''' || {{#If: {{{noun|}}} | {{{noun|}}}|''Unknown''}}
| '''Core Noun:''' || {{#if: {{{noun|}}} | {{{noun|}}}|''Unknown''}}
|-
|-
| '''Weight:''' || {{{weight|''?''}}} stones
| '''Weight:''' || {{{weight|''?''}}} stones
|-
|-
| '''Type:''' ||
| '''Type:''' ||
{{#If: {{{shop|}}} | {{!}}- }}
{{#if: {{{shop|}}} | {{!}}- }}
{{#If: {{{shop|}}} |
{{#if: {{{shop|}}} |
{{!}} '''For Sale At (Base Cost):'''
{{!}} '''For Sale At (Base Cost):'''
{{!}} <DL><DT>[[{{{shop}}}]]<DD>({{{cost|''Unknown''}}}){{#If:{{{shop2|}}} | <DT>[[{{{shop2}}}]]<DD>({{{cost2|''Unknown''}}}) }}{{#If:{{{shop3|}}}|<DT>[[{{{shop3}}}]]<DD>({{{cost3|''Unknown''}}})}}</DL>
{{!}} <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
|{{#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|}}}
|{{#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}}}
{{#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:{{{pockets|}}}|*This item has pockets.
}}
}}
{{#If:
{{#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|}}}
{{#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}}}
{{#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}}}
{{#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}}}
{{#if:{{IfMatch|gath mysanda|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}
}}
}}
|*??
|*??
Line 99: Line 99:
|}
|}


{{#If:{{{notes|}}}|==Notes==<br>{{{notes}}}
{{#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}}}
{{#if:{{IfMatch|clothing|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}
}}
}}
|[[Category:Clothing]]{{#If:{{{wearloc}}}|[[Category:Clothing ({{{wearloc}}} worn)]]
|[[Category:Clothing]]{{#if:{{{wearloc}}}|[[Category:Clothing ({{{wearloc}}} worn)]]
}}
}}
}}
}}
{{#If:{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}
{{#if:{{IfMatch|jewelry|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}
}}
}}
|[[Category:Jewelry]]{{#If:{{{wearloc}}}|[[Category:Jewelry ({{{wearloc}}} worn)]]
|[[Category:Jewelry]]{{#if:{{{wearloc}}}|[[Category:Jewelry ({{{wearloc}}} worn)]]
}}
}}
}}
}}


{{#If:{{IfMatch|magic|{{{type}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}
{{#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}}}
{{#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}}}
{{#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}}}
{{#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}}}
{{#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 item is worn in an unknown location.


  • This item is magical.






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)
}}