Don't forget: You can log in with your Play.net account
Template:Iteminfo: Difference between revisions
Jump to navigation
Jump to search
(fixed duplicate type category script issue in categories) |
mNo edit summary |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
<noinclude>This template is a work in progress for an item table with info at a glance. |
|||
⚫ | |||
| 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 |
! 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, |
{{#if: {{{itemclass|}}} |<!-- REQUIRED: Valid options are: Armor, Weapon, Shield, Clothing, Accessory, 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}}} item scripts | {{{itemclass}}}]] {{#if: {{{itemclass2|}}} | |
||
<br>[[:Category:{{{itemclass2}}} item scripts | {{{itemclass2}}}]] }} {{#if: {{{itemclass3|}}} | |
<br>[[:Category:{{{itemclass2}}} item scripts | {{{itemclass2}}}]] }} {{#if: {{{itemclass3|}}} | |
||
<br>[[:Category:{{{itemclass3}}} item scripts | {{{itemclass3}}}]] }} |
<br>[[:Category:{{{itemclass3}}} item scripts | {{{itemclass3}}}]] }} {{#if: {{{itemclass4|}}} | |
||
<br>[[:Category:{{{itemclass4}}} item scripts | {{{itemclass4}}}]] }} {{#if: {{{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 |
{{!}} align="right" valign="top" {{!}} {{{itemtype}}} {{#if: {{{itemtype2|}}} | |
||
<br>{{{itemtype2}}} }} {{#if: {{{itemtype3|}}} | |
<br>{{{itemtype2}}} }} {{#if: {{{itemtype3|}}} | |
||
<br>{{{itemtype3}}} }} {{#if: {{{itemtype4|}}} | |
<br>{{{itemtype3}}} }} {{#if: {{{itemtype4|}}} | |
||
Line 38: | Line 38: | ||
|- |
|- |
||
{{#if: {{{feature|}}} | |
{{#if: {{{feature|}}} | |
||
! valign="top" {{!}} |
! valign="top" {{!}} Feature(s) Altered |
||
{{!}} align="right" valign="top |
{{!}} align="right" valign="top" {{!}} {{{feature}}} {{#if: {{{feature2|}}} | |
||
<br>{{{feature2}}} |}} {{#if: {{{feature3|}}} | |
<br>{{{feature2}}} |}} {{#if: {{{feature3|}}} | |
||
<br>{{{feature3}}} |}} {{#if: {{{feature4|}}} | |
<br>{{{feature3}}} |}} {{#if: {{{feature4|}}} | |
||
Line 54: | Line 54: | ||
{{#if: {{{custom|}}} | |
{{#if: {{{custom|}}} | |
||
! valign="top" {{!}} Custom |
! valign="top" {{!}} Custom |
||
{{!}} align="right" valign="top |
{{!}} align="right" valign="top" {{!}} {{{custom}}} {{#if: {{{custom2|}}} | |
||
<br>{{{custom2}}} |}} {{#if: {{{custom3|}}} | |
<br>{{{custom2}}} |}} {{#if: {{{custom3|}}} | |
||
<br>{{{custom3}}} |}} {{#if: {{{custom4|}}} | |
<br>{{{custom3}}} |}} {{#if: {{{custom4|}}} | |
||
Line 62: | Line 62: | ||
{{#if: {{{origmerch|}}} | |
{{#if: {{{origmerch|}}} | |
||
! valign="top" style="white-space: nowrap;" {{!}} Original Release Merchant |
! valign="top" style="white-space: nowrap;" {{!}} Original Release Merchant |
||
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[ |
{{!}} align="right" valign="top" style="white-space: nowrap;" {{!}} [[{{{origmerch}}}]] |
||
{{!}}- |}} |
{{!}}- |}} |
||
{{#if: {{{releasevenue|}}} | |
{{#if: {{{releasevenue|}}} | |
||
! valign="top" style="white-space: nowrap;" {{!}} Original Release Venue |
! valign="top" style="white-space: nowrap;" {{!}} Original Release Venue |
||
{{!}} align="right" valign="top |
{{!}} align="right" valign="top" {{!}} [[{{{releasevenue}}}]] |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
! valign="top" style="white-space: nowrap;" {{!}} Quest Item |
|||
{{!}} align="right" valign="top" {{!}} {{{questitem}}} |
|||
{{!}}- |}} |
{{!}}- |}} |
||
{{#if: {{{tiered|}}} | |
{{#if: {{{tiered|}}} | |
||
Line 92: | 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|}}} | |
|||
⚫ | |||
{{!}} 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 104: | 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}}} |
||
⚫ | |||
⚫ | |||
! valign="top" {{!}} Hideable |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |}} |
{{!}}- |}} |
||
{{#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}}}]] |
<br>[[{{{spell2}}}]] }} {{#if: {{{spell3|}}} | |
||
<br>[[{{{spell3}}}]] |
<br>[[{{{spell3}}}]] }} {{#if: {{{spell4|}}} | |
||
<br>[[{{{spell4}}}]] |
<br>[[{{{spell4}}}]] }} |
||
{{!}}- |}} |
{{!}}- |}} |
||
{{#if: {{{enhancive|}}} | |
{{#if: {{{enhancive|}}} | |
||
Line 136: | Line 144: | ||
{{!}} align="right" valign="top" {{!}} {{{restrictions}}} |
{{!}} align="right" valign="top" {{!}} {{{restrictions}}} |
||
{{!}}- |}} |
{{!}}- |}} |
||
|} |
|||
⚫ | |||
|-<noinclude> |
|||
⚫ | |||
[[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> |
|||
⚫ | |||
{{#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 17:33, 25 October 2022
|
Instructions
Please see Help:Item scripts for instructions on use of this template.