Template:ItemScriptInfo: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(new template, testing things)
 
No edit summary
 
(54 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="width: 20em; margin: 10px 1px 10px 10px; background:#FFF; float:right; border-style: solid; border-width: 1px; font-size: 95%;"
<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
|-
|-
! align="left" valign="top" scope="row" role="rowheader" | Category
! align="left" valign="top" scope="row" role="rowheader" | Category
| align="right" valign="top" | {{#arraymap:{{{type|}}}|,|x|[[ItemScriptCategory::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="right" valign="top" {{!}} {{#arraymap:{{{class|}}}|,|x|[[Item script classification::x]] |,<nowiki> </nowiki>}}
{{!}}- |}}
{{#if: {{{type|}}} |
! align="left" valign="top" scope="row" role="rowheader" {{!}} Type
{{!}} 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}}}}. |}}

<div style="vertical-align: top">{{#if: {{{restrictions|}}} |
; <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=
}}