Template:Item: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
|{{#ifeq: {{lc:{{{type}}}}} | gaethzen | {{#if:{{{maxcharge|}}}|1}}}}
|{{#ifeq: {{lc:{{{type}}}}} | gaethzen | {{#if:{{{maxcharge|}}}|1}}}}
|{{#ifeq: {{lc:{{{type}}}}} | clothing | {{#if:{{{wearloc|}}}|1}}}}
|{{#ifeq: {{lc:{{{type}}}}} | clothing | {{#if:{{{wearloc|}}}|1}}}}
|{{IfTHEN|{{{shop1}}}|{{{cost1}}}}}
|{{IfTHEN|{{{shop2}}}|{{{cost2}}}}}
|{{IfTHEN|{{{shop3}}}|{{{cost3}}}}}
}}
}}
||{{Incomplete}}
||{{Incomplete}}
}}
}}
</includeonly>
</includeonly>

{|class="wikitable" style="width:500px"
{|class="wikitable" style="width:500px"
|- style="height:40px"
|- style="height:40px"
Line 25: Line 27:
|-
|-
| '''Type:''' || Would be entries for this field allowing things such as Magic, alchemy, herb, clothing, jewelry, tack, creation (hide potion, wood scrapers, etc.), pocketed
| '''Type:''' || Would be entries for this field allowing things such as Magic, alchemy, herb, clothing, jewelry, tack, creation (hide potion, wood scrapers, etc.), pocketed

{{#if: {{{shop1|}}} | {{!}}-}}
{{#if: {{{shop1|}}} | {{!}}-}}
{{#if: {{{shop1|}}} |
{{#if: {{{shop1|}}} |
{{!}} '''For Sale At (Base Cost):'''
{{!}} '''For Sale At (Base Cost):'''
{{!}} {{#if:{{{shop1|}}}|* [[{{{shop1|}}}]] ({{{cost1|''Unknown''}}})|''Unknown''}}
{{!}} {{#if:{{{shop1|}}}|<dl><dt>[[{{{shop1|}}}]]<dd>({{{cost1|''Unknown''}}})|''Unknown''}}
{{#if:{{{shop2|}}}|<br>* [[{{{shop2|}}}]] ({{{cost2|''Unknown''}}})|}}
{{#if:{{{shop2|}}}|<dt>[[{{{shop2|}}}]]<dd>({{{cost2|''Unknown''}}})|}}
{{#if:{{{shop3|}}}|<br>* [[{{{shop3|}}}]] ({{{cost3|''Unknown''}}})|}}
{{#if:{{{shop3|}}}|<dt>[[{{{shop3|}}}]]<dd>({{{cost3|''Unknown''}}})|}}
}}
</dl>}}
|-
|-
| '''Appraised Cost:''' || {{#if:{{{appcost}}}|{{{appcost}}}|''Unknown''}}
| '''Appraised Cost:''' || {{#if:{{{appcost}}}|{{{appcost}}}|''Unknown''}}
Line 38: Line 39:
| '''Special Properties:'''
| '''Special Properties:'''
<!--includeonly-->
<!--includeonly-->
| {{#if:
| {{#switch:{{lc:{{{clothing}}}}}
{{IfMatch|clothing|{{{type1}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}}}
| y = {{#switch: {{lc:{{{pocketed|}}}}}
| y = This item has pockets.
|[[Category:Clothing]]{{#If:{{{wearloc}}}
| n = This item is not pocketed.
|*This piece of clothing is worn on the {{{wearloc}}}.
| It is unknown if this item is pocketed.
|*This piece of clothing is worn in an unknown location.
}}
}}
{{#if:{{IfMatch|pocketed|{{{type1}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}}}
| n =
| {{#ifeq: {{lc:{{{pocketed|}}}}} | y | This item has pockets.|}}
|:This item has pockets.}}

}}
}}
{{#switch: {{lc: {{{magic|}}} }}|y = {{#if {{{spellheld|}}}
{{#switch: {{lc: {{{magic|}}} }}|y = {{#if {{{spellheld|}}}
Line 74: Line 74:
| [[Category:Magic Items]]
| [[Category:Magic Items]]
|}}
|}}
{{#If:{{IfAND|{{IfMatch|clothing|{{{type1}}}|{{{type2}}}|{{{type3}}}|{{{type4}}}|{{{type5}}}|{{{type6}}}|{{{type7}}}|{{{type8}}}|{{{type9}}}|{{{type10}}}
}}
|{{{wearloc}}}
}}
|[[Category:Clothing ({{{wearloc}}})]]
}}
</includeonly>
</includeonly>


<noinclude>
<noinclude>
This template is for use with non-armor, non-weapon items. Copy the following into the item page.
This template is for use with non-armor, non-weapon items. Copy the following into the item page.
<b>Delete any variables that are not defined or else the template will have issues.</b>
==Usage==
==Usage==
<pre>
<pre>
Line 91: Line 98:
|type6=
|type6=
|weight=
|weight=
|clothing=y/n
|wearloc=
|wearloc=
|pockets=y/n
|magic=y/n/cambrinth/gaethzen/gath mysanda
|magic=y/n/cambrinth/gaethzen/gath mysanda
|maxcharge=
|maxcharge=

Revision as of 00:42, 18 April 2008

Incomplete Article
  • This article is incomplete, which means that while it is not a stub, it still lacks certain data or information.
  • Item Type, Infobox entry on source


Item
Look: Unknown
Core Noun Unknown
Weight: ? stones
Type: Would be entries for this field allowing things such as Magic, alchemy, herb, clothing, jewelry, tack, creation (hide potion, wood scrapers, etc.), pocketed


Appraised Cost: {{{appcost}}}
Special Properties:

Notes

{{{Notes}}}



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=
|look=
|corenoun=
|type1=
|type2=
|type3=
|type4=
|type5=
|type6=
|weight=
|wearloc=
|magic=y/n/cambrinth/gaethzen/gath mysanda
|maxcharge=
|heldspell=
|shop1=
|cost1=
|shop2=
|cost2=
|shop3=
|cost3=
|notes=
}}