Template:Iteminfo: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(added slot in template for itemclass2)
(fixed wrapping issue for original release merchant/venue and restrictions entry, added itemclass3 slot for VERY rare items that can apply to more than 2)
Line 1: Line 1:
<noinclude>This template is a work in progress for an item table with info at a glance.
<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;"
</noinclude>{| style="width: 20em; 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;"
Line 15: Line 15:
{{#if: {{{itemclass|}}} |<!-- REQUIRED: Valid options are: Weapon, Armor, Clothing, Jewelry, Container, or Miscellaneous -->
{{#if: {{{itemclass|}}} |<!-- REQUIRED: Valid options are: Weapon, Armor, Clothing, Jewelry, Container, or Miscellaneous -->
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[:Category:{{{itemclass}}} scripts | {{{itemclass}}}]] {{#if: {{{itemclass2|}}} |
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[:Category:{{{itemclass}}} scripts | {{{itemclass}}}]] {{#if: {{{itemclass2|}}} |
<br>[[:Category:{{{itemclass2}}} item scripts | {{{itemclass2}}}]] }}
<br>[[:Category:{{{itemclass2}}} item scripts | {{{itemclass2}}}]] }} {{#if: {{{itemclass3|}}} |
<br>[[:Category:{{{itemclass3}}} item scripts | {{{itemclass3}}}]] }}
|}}
|}}
|-
|-
Line 60: 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;" {{!}} [[:Category:{{{origmerch}}}|{{{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" style="white-space: nowrap;" {{!}} [[{{{releasevenue}}}]]
{{!}}- |}}
{{!}}- |}}
Line 133: Line 134:
{{#if: {{{restrictions|}}} |
{{#if: {{{restrictions|}}} |
! valign="top" {{!}} Restrictions
! valign="top" {{!}} Restrictions
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} {{{restrictions}}}
{{!}} align="right" valign="top" {{!}} {{{restrictions}}}
{{!}}- |}}
{{!}}- |}}
|}
|}

Revision as of 14:01, 17 October 2020

This template is a work in progress for an item table with info at a glance.

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.