Difference between revisions of "Template:Item"

From RetroMMO Wiki
(Updated consumamble field to autohide)
(Added cosmetic as a field)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="float: right; width: 20em; border: 1px solid #FEC9ED; border-collapse: collapse; margin: .25em .5em;" cellpadding="5"
+
{| class="retrommo-infobox" cellpadding="5"
! colspan="2" style="font-size: 1.5em; padding: .5em; text-align: center; background-color: #FEC9ED;" | {{{title|Unknown item}}}
+
! colspan="2" | {{{title|Unknown item}}}
 
|-
 
|-
 
| colspan="2" | <center>[[File:{{{image|Missing icon}}}.png|64px]]</center>
 
| colspan="2" | <center>[[File:{{{image|Missing icon}}}.png|64px]]</center>
 
|-
 
|-
| colspan="2" style="background-color: #FEC9ED; text-align: center;" | '''Properties'''
+
| colspan="2" | ''{{{description|No description}}}''
 
|-
 
|-
| colspan="1" style="border-right: 1px solid #FEC9ED;" | Level
+
| colspan="2" | '''Properties'''
 +
|-
 +
| colspan="1" | [[Level]]
 
| colspan="1" | {{{level|Unknown}}}
 
| colspan="1" | {{{level|Unknown}}}
 
|-
 
|-
| colspan="1" style="border-right: 1px solid #FEC9ED;" | Classes
+
| colspan="1" | [[:Category:Classes|Class]]
 
| colspan="1" | {{{class|Unknown}}}
 
| colspan="1" | {{{class|Unknown}}}
 
|-
 
|-
 
{{#if: {{{consumable|}}} |
 
{{#if: {{{consumable|}}} |
{{!}} colspan="1" style="border-right: 1px solid #FEC9ED;" {{!}} Consumable
+
{{!}} colspan="1" {{!}} [[:Category:Consumable items|Consumable]]
 
{{!}} colspan="1" {{!}} {{{consumable|Unknown}}}
 
{{!}} colspan="1" {{!}} {{{consumable|Unknown}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
| colspan="1" style="border-right: 1px solid #FEC9ED;" | Slot
+
{{#if: {{{cosmetic|}}} |
| colspan="1" | {{{slot|Unknown}}}
+
{{!}} colspan="1" {{!}} [[:Category:Cosmetic items|Cosmetic]]
|-
+
{{!}} colspan="1" {{!}} {{{cosmetic|}}}
{{#if: {{{agility|}}}{{{defense|}}}{{{intelligence|}}}{{{luck|}}}{{{strength|}}}{{{wisdom|}}} |
+
{{!}}-
{{!}} colspan="2" style="background-color: #FEC9ED; text-align: center;" {{!}} '''[[:Category:Stats|Stats]]'''
+
}}
 +
{{#if: {{{slot|}}} |
 +
{{#if: {{{cosmetic|}}} |
 +
{{!}} colspan="1" {{!}} [[:Category:Cosmetic slots|Slot]] |
 +
{{!}} colspan="1" {{!}} [[:Category:Equipment slots|Slot]]
 +
}}
 +
{{!}} colspan="1" {{!}} {{{slot|Unknown}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{agility|}}}{{{defense|}}}{{{intelligence|}}}{{{luck|}}}{{{strength|}}}{{{wisdom|}}}{{{hp|}}}{{{mp|}}} |
 +
{{!}} colspan="2" {{!}} '''[[:Category:Stats|Stats]]'''
 +
{{!}}-
 +
}}
 +
{{#if: {{{hp|}}} |
 +
{{!}} colspan="1" {{!}} [[HP]]
 +
{{!}} colspan="1" {{!}} {{{hp|}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{mp|}}} |
 +
{{!}} colspan="1" {{!}} [[MP]]
 +
{{!}} colspan="1" {{!}} {{{mp|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if: {{{agility|}}} |
 
{{#if: {{{agility|}}} |
{{!}} colspan="1" style="border-right: 1px solid #FEC9ED;" {{!}} [[Agility]]
+
{{!}} colspan="1" {{!}} [[Agility]]
 
{{!}} colspan="1" {{!}} {{{agility|}}}
 
{{!}} colspan="1" {{!}} {{{agility|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if: {{{defense|}}} |
 
{{#if: {{{defense|}}} |
{{!}} colspan="1" style="border-right: 1px solid #FEC9ED;" {{!}} [[Defense]]
+
{{!}} colspan="1" {{!}} [[Defense]]
 
{{!}} colspan="1" {{!}} {{{defense|}}}
 
{{!}} colspan="1" {{!}} {{{defense|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if: {{{intelligence|}}} |
 
{{#if: {{{intelligence|}}} |
{{!}} colspan="1" style="border-right: 1px solid #FEC9ED;" {{!}} [[Intelligence]]
+
{{!}} colspan="1" {{!}} [[Intelligence]]
 
{{!}} colspan="1" {{!}} {{{intelligence|}}}
 
{{!}} colspan="1" {{!}} {{{intelligence|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if: {{{luck|}}} |
 
{{#if: {{{luck|}}} |
{{!}} colspan="1" style="border-right: 1px solid #FEC9ED;" {{!}} [[Luck]]
+
{{!}} colspan="1" {{!}} [[Luck]]
 
{{!}} colspan="1" {{!}} {{{luck|}}}
 
{{!}} colspan="1" {{!}} {{{luck|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if: {{{strength|}}} |
 
{{#if: {{{strength|}}} |
{{!}} colspan="1" style="border-right: 1px solid #FEC9ED;" {{!}} [[Strength]]
+
{{!}} colspan="1" {{!}} [[Strength]]
 
{{!}} colspan="1" {{!}} {{{strength|}}}
 
{{!}} colspan="1" {{!}} {{{strength|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 
{{#if: {{{wisdom|}}} |
 
{{#if: {{{wisdom|}}} |
{{!}} colspan="1" style="border-right: 1px solid #FEC9ED;" {{!}} [[Wisdom]]
+
{{!}} colspan="1" {{!}} [[Wisdom]]
 
{{!}} colspan="1" {{!}} {{{wisdom|}}}
 
{{!}} colspan="1" {{!}} {{{wisdom|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
| colspan="2" style="background-color: #FEC9ED; text-align: center;" | '''Value'''
+
| colspan="2" | '''Value'''
 
|-
 
|-
| colspan="1" style="border-right: 1px solid #FEC9ED;" | Tradable
+
| colspan="1" | [[Trading|Tradable]]
 
| colspan="1" | {{{tradable|Unknown}}}
 
| colspan="1" | {{{tradable|Unknown}}}
 
|-
 
|-
| colspan="1" style="border-right: 1px solid #FEC9ED;" | Sell
+
| colspan="1" | [[:Category:Shops|Sell]]
 
| colspan="1" | {{{sell|0}}}
 
| colspan="1" | {{{sell|0}}}
|}<includeonly>[[Category:Items]]</includeonly><noinclude>[[Category:Templates]]</noinclude>
+
|}<includeonly>[[Category:Items]]{{#if: {{{slot|}}} | {{#if: {{{cosmetic|}}} | [[Category:Cosmetic items]] | [[Category:Equipment items]]}}}}{{#ifeq: {{{consumable|}}} | Yes | [[Category:Consumable items]] |}}</includeonly><noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 14:04, 19 April 2021

Unknown item
Missing icon.png
No description
Properties
Level Unknown
Class Unknown
Value
Tradable Unknown
Sell 0