Template:Iteminfo: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(updated so there is a link to itemclass item scripts category)
mNo edit summary
 
(27 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="width: 20em; margin: 10px 1px 10px 10px; clear:both; background:#FFF; float:right;"
<noinclude>This template is a work in progress for an item table with info at a glance.

</noinclude>{| style="width: 22em; margin: 10px 1px 10px 10px; clear:both; background:#FFF; float:right;"
| align = center |
| align = center |
{| style="border: 2px #aaa solid; width: 100%; font-size: 95%; text-align: left;"
{| style="border: 2px #aaa solid; width: 100%; font-size: 95%; text-align: left;"
! colspan=2 style="background:#005682; white-space: nowrap; color: white; font-size: larger; text-align: center;" | '''{{PAGENAME}} Information'''
! colspan=2 style="background:#005682; color: white; font-size: larger; text-align: center;" | '''{{PAGENAME}} Information'''
|-
|-
! Type
! Type
Line 13: Line 11:
|-
|-
! valign="top" style="white-space: nowrap;" |Item Classification
! valign="top" style="white-space: nowrap;" |Item Classification
{{#if: {{{itemclass|}}} |<!-- REQUIRED: Valid options are: Weapon, Armor, Clothing, Jewelry, Container, or Miscellaneous -->
{{#if: {{{itemclass|}}} |<!-- REQUIRED: Valid options are: Armor, Weapon, Shield, Clothing, Accessory, Container, or Miscellaneous -->
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[:Category:{{{itemclass}}} item scripts | {{{itemclass}}}]]
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[:Category:{{{itemclass}}} item scripts | {{{itemclass}}}]] {{#if: {{{itemclass2|}}} |
<br>[[:Category:{{{itemclass2}}} item scripts | {{{itemclass2}}}]] }} {{#if: {{{itemclass3|}}} |
<br>[[:Category:{{{itemclass3}}} item scripts | {{{itemclass3}}}]] }} {{#if: {{{itemclass4|}}} |
<br>[[:Category:{{{itemclass4}}} item scripts | {{{itemclass4}}}]] }} {{#if: {{{itemclass5|}}} |
<br>[[:Category:{{{itemclass5}}} item scripts | {{{itemclass5}}}]] }}
|}}
|}}
|-
|-
! valign="top" style="white-space: nowrap;" | Item(s) Applied to
! valign="top" style="white-space: nowrap;" | Item(s) Applied to
{{#if: {{{itemtype|}}} |<!-- REQUIRED: What items can this apply to. Up to 8 can be specified. -->
{{#if: {{{itemtype|}}} |<!-- REQUIRED: What items can this apply to. Up to 8 can be specified. -->
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{itemtype}}} {{#if: {{{itemtype2|}}} |
{{!}} align="right" valign="top" {{!}} {{{itemtype}}} {{#if: {{{itemtype2|}}} |
<br>{{{itemtype2}}} }} {{#if: {{{itemtype3|}}} |
<br>{{{itemtype2}}} }} {{#if: {{{itemtype3|}}} |
<br>{{{itemtype3}}} }} {{#if: {{{itemtype4|}}} |
<br>{{{itemtype3}}} }} {{#if: {{{itemtype4|}}} |
Line 36: Line 38:
|-
|-
{{#if: {{{feature|}}} |
{{#if: {{{feature|}}} |
! valign="top" {{!}} Features(s) Altered
! valign="top" {{!}} Feature(s) Altered
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{feature}}} {{#if: {{{feature2|}}} |
{{!}} align="right" valign="top" {{!}} {{{feature}}} {{#if: {{{feature2|}}} |
<br>{{{feature2}}} |}} {{#if: {{{feature3|}}} |
<br>{{{feature2}}} |}} {{#if: {{{feature3|}}} |
<br>{{{feature3}}} |}} {{#if: {{{feature4|}}} |
<br>{{{feature3}}} |}} {{#if: {{{feature4|}}} |
Line 52: Line 54:
{{#if: {{{custom|}}} |
{{#if: {{{custom|}}} |
! valign="top" {{!}} Custom
! valign="top" {{!}} Custom
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{custom}}} {{#if: {{{custom2|}}} |
{{!}} align="right" valign="top" {{!}} {{{custom}}} {{#if: {{{custom2|}}} |
<br>{{{custom2}}} |}} {{#if: {{{custom3|}}} |
<br>{{{custom2}}} |}} {{#if: {{{custom3|}}} |
<br>{{{custom3}}} |}} {{#if: {{{custom4|}}} |
<br>{{{custom3}}} |}} {{#if: {{{custom4|}}} |
Line 59: Line 61:
{{!}}- |}}
{{!}}- |}}
{{#if: {{{origmerch|}}} |
{{#if: {{{origmerch|}}} |
! valign="top" {{!}} Original Release Merchant
! valign="top" style="white-space: nowrap;" {{!}} Original Release Merchant
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[:Category:{{{origmerch}}}|{{{origmerch}}}]]
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{origmerch}}}]]
{{!}}- |}}
{{!}}- |}}
{{#if: {{{releasevenue|}}} |
{{#if: {{{releasevenue|}}} |
! valign="top" {{!}} Original Release Venue
! valign="top" style="white-space: nowrap;" {{!}} Original Release Venue
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{releasevenue}}}]]
{{!}} align="right" valign="top" {{!}} [[{{{releasevenue}}}]]
{{!}}- |}}
{{#if: {{{releaseyear|}}} |
! valign="top" style="white-space: nowrap;" {{!}} Original Release Year
{{!}} align="right" valign="top" {{!}} {{{releaseyear}}}
{{!}}- |}}
{{#if: {{{questitem|}}} |
! valign="top" style="white-space: nowrap;" {{!}} Quest Item
{{!}} align="right" valign="top" {{!}} {{{questitem}}}
{{!}}- |}}
{{!}}- |}}
{{#if: {{{tiered|}}} |
{{#if: {{{tiered|}}} |
Line 76: Line 86:
{{#if: {{{unlock|}}} |
{{#if: {{{unlock|}}} |
! valign="top" {{!}} How to Unlock
! valign="top" {{!}} How to Unlock
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{unlock}}}]] {{#if: {{{unlock2|}}} |
{{!}} align="right" valign="top" {{!}} [[{{{unlock}}}]] {{#if: {{{unlock2|}}} |
<br>[[{{{unlock2}}}]] |}}
<br>[[{{{unlock2}}}]] |}}
{{!}}- |}}
{{!}}- |}}
Line 90: Line 100:
! valign="top" {{!}} Loresong
! valign="top" {{!}} Loresong
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{loresong}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{loresong}}}
{{!}}- |}}
{{#if: {{{corrscript|}}} |
! valign="top" {{!}} Corresponding Item Scripts
{{!}} align="right" valign="top" {{!}} [[{{{corrscript}}}]] {{#if: {{{corrscript2|}}} |
<br>[[{{{corrscript2}}}]] |}} {{#if: {{{corrscript3|}}} |
<br>[[{{{corrscript3}}}]] |}} {{#if: {{{corrscript4|}}} |
<br>[[{{{corrscript4}}}]] |}} {{#if: {{{corrscript5|}}} |
<br>[[{{{corrscript5}}}]] |}}
{{!}}- |}}
{{!}}- |}}
{{#if: {{{attune|}}} |
{{#if: {{{attune|}}} |
Line 102: Line 120:
! valign="top" {{!}} Affinity Needed
! valign="top" {{!}} Affinity Needed
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{affinity}}}
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{affinity}}}
{{!}}- |}}
{{#if: {{{hideable|}}} |
! valign="top" {{!}} Hideable
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{hideable}}}
{{!}}- |}}
{{#if: {{{hide|}}} |
! valign="top" {{!}} How Does It Hide
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{hide}}}
{{!}}- |}}
{{!}}- |}}
{{#if: {{{spell|}}} |
{{#if: {{{spell|}}} |
! valign="top" {{!}} Spell
! valign="top" {{!}} Spell
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{spell}}}]] {{#if {{{spell2|}}} |
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{spell}}}]] {{#if: {{{spell2|}}} |
<br>[[{{{spell2}}}]] }} {{#if {{{spell3|}}} |
<br>[[{{{spell2}}}]] }} {{#if: {{{spell3|}}} |
<br>[[{{{spell3}}}]] }} {{#if {{{spell4|}}} |
<br>[[{{{spell3}}}]] }} {{#if: {{{spell4|}}} |
<br>[[{{{spell4}}}]] }}
<br>[[{{{spell4}}}]] }}
{{!}}- |}}
{{!}}- |}}
{{#if: {{{enhancive|}}} |
{{#if: {{{enhancive|}}} |
Line 132: Line 142:
{{#if: {{{restrictions|}}} |
{{#if: {{{restrictions|}}} |
! valign="top" {{!}} Restrictions
! valign="top" {{!}} Restrictions
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{restrictions}}}
{{!}} align="right" valign="top" {{!}} {{{restrictions}}}
{{!}}- |}}
{{!}}- |}}
|}
|}
|}<noinclude>[[Category:Item templates | {{PAGENAME}}]]</noinclude><includeonly>
|-<noinclude>
|}[[Category:Item templates | {{PAGENAME}}]]</noinclude><includeonly>


[[Category:Items]]
[[Category:Items]] [[Category:{{{type}}} item scripts]]
{{#if: {{{type2|}}} | [[Category: {{{type2}}} item scripts]] }} {{#if: {{{itemclass|}}} | [[Category: {{{itemclass}}} item scripts]] }} {{#if: {{{itemclass2|}}} | [[Category: {{{itemclass2}}} item scripts]] }} {{#if: {{{itemclass3|}}} | [[Category: {{{itemclass3}}} item scripts]] }} {{#if: {{{itemclass4|}}} | [[Category: {{{itemclass4}}} item scripts]] }} {{#if: {{{itemclass5|}}} | [[Category: {{{itemclass5}}} item scripts]] }} {{#if: {{{attune|}}} | [[Category: Attuning item scripts]] }} {{#if: {{{legendary|}}} | [[Category: Legendary Items]] }} {{#if: {{{swap|}}} | [[Category: Swappable item scripts]] }} {{#if: {{{add|}}} | [[Category: Addable item scripts]] }} {{#if: {{{questitem|}}} | [[Category: Quest item scripts]] }}</includeonly><noinclude>
[[Category:{{{type}}} item scripts]]
{{#if: {{{type|}}} | [[Category: {{{type}}} item scripts]] }}
{{#if: {{{type2|}}} | [[Category: {{{type2}}} item scripts]] }}
{{#if: {{{itemclass|}}} | [[Category: {{{itemclass}}} scripts]] }}
{{#if: {{{legendary|}}} | [[Category: Legendary Items]] }}
{{#if: {{{swap|}}} | [[Category: Swappable item scripts]] }}
{{#if: {{{add|}}} | [[Category: Addable item scripts]] }}
</includeonly><noinclude>
===Instructions===
===Instructions===
Please see [[Help:Item scripts]] for instructions on use of this template.
Please see [[Help:Item scripts]] for instructions on use of this template.

Latest revision as of 18:33, 25 October 2022

Iteminfo Information
Type
Item Classification
Item(s) Applied to
Alterable {{{alter}}}
Light/Deep {{{ld}}}

Instructions

Please see Help:Item scripts for instructions on use of this template.