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|}}}|{{{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:{{IfOR|{{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}}}}}}}}}||{{Incomplete|Some information is missing from the item infobox.}}}}
{{#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:{{IfOR|{{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}}}
}}
}}
}}
||{{Incomplete|Some information is missing from the item infobox.}}
}}
</includeonly>
</includeonly>
{|class="wikitable" style="width:700px"
{|class="wikitable" style="width:700px"
|- style="height:40px"
|-style="height:40px"
! colspan="2" style="font-size:150%" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="font-size:150%"|{{{name|{{PAGENAME}}}}}
|-
|-
| 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|''Unknown''}}}{{#If:{{{type2|}}}|, {{{type2}}}}}{{#If:{{{type3|}}}|, {{{type3}}}}}{{#If:{{{type4|}}}|, {{{type4}}}}}{{#If:{{{type5|}}}|, {{{type5}}}}}{{#If:{{{type6|}}}|, {{{type6}}}}}
|'''Type:'''||{{{type|''Unknown''}}}{{#If:{{{type2|}}}|, {{{type2}}}}}{{#If:{{{type3|}}}|, {{{type3}}}}}{{#If:{{{type4|}}}|, {{{type4}}}}}{{#If:{{{type5|}}}|, {{{type5}}}}}{{#If:{{{type6|}}}|, {{{type6}}}}}
|-
|-
{{#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>}}

Revision as of 17:31, 19 April 2008

Item
Look: Unknown
Core Noun: Unknown
Weight: ? stones
Type: Unknown
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)
}}