Template:ItemScriptInfo: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
No edit summary
No edit summary
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="max-width: 12%; min-width: 16em; width: 20em; margin: 10px 1px 10px 10px; background:#FFF; float:right; border-style: solid; border-width: 1px; font-size: 95%; padding: 1px"
<onlyinclude>{| style="max-width: 12%; min-width: 16em; width: 20em; margin: 10px 1px 10px 10px; background:#FFF; float:right; border-style: solid; border-width: 1px; font-size: 95%; padding: 1px"
! colspan=2 style="background:#005682; 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
|-
|-
Line 5: Line 5:
| align="right" valign="top" | {{#arraymap:{{{category|}}}|,|x|[[Item script category::x]] |,<nowiki> </nowiki>}}
| align="right" valign="top" | {{#arraymap:{{{category|}}}|,|x|[[Item script category::x]] |,<nowiki> </nowiki>}}
|-
|-
{{#if: {{{class|}}} |
! align="left" valign="top" scope="row" role="rowheader" | Class
! align="left" valign="top" scope="row" role="rowheader" {{!}} Class
| align="right" valign="top" | {{#arraymap:{{{itemclass|}}}|,|x|[[Item script classification::x]] |,<nowiki> </nowiki>}}
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{class|}}}|,|x|[[Item script classification::x]] |,<nowiki> </nowiki>}}
|-
{{!}}- |}}
{{#if: {{{type|}}} |
{{#if: {{{type|}}} |
! align="left" valign="top" scope="row" role="rowheader" {{!}} Type
! align="left" valign="top" scope="row" role="rowheader" {{!}} Type
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{type|}}}|,|x|[[Item script type::x]] |,<nowiki> </nowiki>}}
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{type|}}}|,|x|[[Item script type::x]] |,<nowiki> </nowiki>}}
{{!}}- |}}
{{#if: {{{tiers|}}} |
! align="left" valign="top" scope="row" role="rowheader" {{!}} Tiers
{{!}} align="right" valign="top" {{!}} [[Item script tiers::{{{tiers}}}]]
{{!}}-
! align="left" valign="top" scope="row" role="rowheader" {{!}} How to Unlock
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{unlocks|}}}|,|x|[[Item script unlock::x]] |,<nowiki> </nowiki>}}
{{!}}- |}}
{{#if: {{{custom|}}} |
! align="left" valign="top" scope="row" role="rowheader" {{!}} Customizable
{{!}} align="right" valign="top" {{!}} ✓
{{!}}- |}}
{{#if: {{{relatedscript|}}} |
! align="left" valign="top" scope="row" role="rowheader" {{!}} Related Scripts
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{relatedscript|}}}|,|x|[[x]]|,<nowiki> </nowiki>}}
{{!}}- |}}
{{#if: {{{addorswap|}}} |
! align="left" valign="top" scope="row" role="rowheader" {{!}} Add or Swap Eligible
{{!}} align="right" valign="top" {{!}} {{#arraymap:{{{addorswap|}}}|,|x|[[Script add or swap eligible::x]] |,<nowiki> </nowiki>}}
{{!}}- |}}
{{#if: {{{attunement|}}} |
! align="left" valign="top" scope="row" role="rowheader" {{!}} Attunement
{{!}} align="right" valign="top" {{!}} [[Item script attunement::{{{attunement|}}}]] - [[Item script attunement type::{{{attunetype}}}]]
{{!}}- |}}
{{!}}- |}}
|}
|}
The '''{{PAGENAME}}''' is a {{lowercase|{{#arraydefine:myitems|{{{category|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} {{lowercase|{{#arraydefine:myitems|{{{type|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} {{lowercase|{{#arraydefine:myitems|{{{itemscript|}}}|,}}{{#arrayprint:myitems| |x|[[Item script::x]]|print=pretty}}}}{{#if: {{{class|}}} | &nbsp;that applies to {{lowercase|{{#arraydefine:myitems|{{{class|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} items |}}. {{#if: {{{releasevenue|}}} | It was originally released at {{{releasevenue}}}{{#if: {{{releasedate|}}} | &nbsp;{{{releasedate}}} |}}{{#if: {{{origmerch|}}} | &nbsp;by {{{origmerch}}} |}}{{#if: {{{quest|}}} | &nbsp;as part of the {{{quest}}} quest |}}. | {{#if: {{{origmerch|}}} | It was originally released by {{{origmerch}}}{{#if: {{{releasedate|}}} | &nbsp;in {{{releasedate}}} |}}{{#if: {{{quest|}}} | &nbsp;as part of the {{{quest}}} quest |}}.|}} |}} {{#switch: {{{type|}}} | Feature altering = It can temporarily alter a character's {{lowercase|{{#arraydefine:myitems|{{{features|}}}|,}}{{#arrayprint:myitems| |x|[[Item script feature alter::x]]|print=pretty}}}}. |}} {{#if: {{{customization|}}} | The following facets are able to be customized by a merchant: {{lowercase|{{#arraydefine:myitems|{{{customization|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}}. |}}
The '''{{PAGENAME}}''' is a {{lowercase|{{#arraydefine:myitems|{{{category|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} {{lowercase|{{#arraydefine:myitems|{{{itemtype|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} script.



<div style="vertical-align: top">{{#if: {{{restrictions|}}} |
{{#if: {{{releasevenue|}}} |, originally released at {{{releasevenue}}} |}}
; <big>Restrictions</big>
{{{restrictions}}} |}}</div></onlyinclude>
{{red|'''DO NOT USE! TESTING PURPOSES ONLY FOR NOW!'''}}
==CP Code==
<pre{{log2}}><nowiki>{{ItemScriptInfo
|category=
|class=
|type=
|tiers=
|unlocks=
|itemscript=
|releasevenue=
|releasedate=
|origmerch=
|quest=
|features=
|customization=
|addorswap=
|relatedscript=
|attunement=
|attunetype=
}}</nowiki></pre>

Latest revision as of 18:05, 16 August 2026

ItemScriptInfo Information
Category

The ItemScriptInfo is a .

DO NOT USE! TESTING PURPOSES ONLY FOR NOW!

CP Code

{{ItemScriptInfo
|category=
|class=
|type=
|tiers=
|unlocks=
|itemscript=
|releasevenue=
|releasedate=
|origmerch=
|quest=
|features=
|customization=
|addorswap=
|relatedscript=
|attunement=
|attunetype=
}}