Template:ItemScriptInfo: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(Undo revision 264686 by GS4-XERAPHINA (talk))
Tag: Undo
No edit summary
Line 1: Line 1:
This template is for use in creating and editing item script articles. For information template use, please see the [[Gswiki:Style guide/Item scripts|item scripts style guide]].
This template is for use in creating and editing item script articles. For information on template use, please see the [[Gswiki:Style guide/Item scripts|item scripts style guide]].
----
----
<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"
<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"
Line 59: Line 59:
{{!}} scope="row" align="center" valign="top" {{!}} {{#arraymap:{{{verb|}}}|,|x|[[Verb:x|x]] |<nowiki> </nowiki>}}
{{!}} scope="row" align="center" valign="top" {{!}} {{#arraymap:{{{verb|}}}|,|x|[[Verb:x|x]] |<nowiki> </nowiki>}}
{{!}}} |}}
{{!}}} |}}
The '''{{#ifeq: {{{propername|}}} | yes | {{PAGENAME}} | {{lcfirst:{{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}}}}. |}} {{#if: {{{safety|}}} | Items with this script can be [[Verb:DROP|{{boldmono|PUT}}]] on the ground for a limited duration, during which other players and the janitor cannot pick them up{{#switch: {{{safety|}}} | All Mine = , as long as the player remains in the room. | Stay Put = . {{#arraymap: {{{category|}}}|,|x|{{#switch:x | Private property = Private property owners may [[Verb:PLACE|{{boldmono|PLACE}}]] it semi-permanently within their respective properties. | #default = }} |}} |}} |}} {{#if: {{{addinfo|}}} | {{#ifexpr: {{#len: {{{addinfo|}}} }} > 200 | '''{{red|Error: Free text exceeds 200 character limit.}}''' | {{{addinfo|}}} }} }}
The '''{{#ifeq: {{{propername|}}} | yes | {{PAGENAME}} | {{lcfirst:{{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: {{{scriptfamily|}} | , and if part of the {{#arraydefine:myitems|{{{scriptfamily|}}}|,}}{{#arrayprint:myitems| |x|[[Has script family::x]]|print=pretty}}}} family of scripts |}}. {{#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: {{{claimvault|}}} | vault=&nbsp;as part of an [[Event Vault|event vault]]|}}} }}.|}} |}} {{#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}}}}. |}} {{#if: {{{safety|}}} | Items with this script can be [[Verb:DROP|{{boldmono|PUT}}]] on the ground for a limited duration, during which other players and the janitor cannot pick them up{{#switch: {{{safety|}}} | All Mine = , as long as the player remains in the room. | Stay Put = . {{#arraymap: {{{category|}}}|,|x|{{#switch:x | Private property = Private property owners may [[Verb:PLACE|{{boldmono|PLACE}}]] it semi-permanently within their respective properties. | #default = }} |}} |}} |}} {{#if: {{{addinfo|}}} | {{#ifexpr: {{#len: {{{addinfo|}}} }} > 250 | '''{{red|Error: Free text exceeds 250 character limit.}}''' | {{{addinfo|}}} }} }}


<includeonly>[[Category:Item scripts]]</includeonly> {{#arraymap:{{{category|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#arraymap:{{{class|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#arraymap:{{{type|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#switch: {{{addorswap|}}} |
<includeonly>[[Category:Item scripts]]</includeonly> {{#arraymap:{{{category|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#arraymap:{{{class|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#arraymap:{{{type|}}}|,|x|[[Category:x item scripts]] |<nowiki> </nowiki>}} {{#switch: {{{addorswap|}}} |

Revision as of 09:32, 14 September 2026

This template is for use in creating and editing item script articles. For information on template use, please see the item scripts style guide.


ItemScriptInfo Information
Category

The itemScriptInfo is a , and if part of the family of scripts |}}.


CP Code

{{ItemScriptInfo
|propername=     yes or leave blank
|category=       Fluff, Mechanical, Mount or Private Property only.  If multiple, enter each with a comma, no spaces, to separate entries.
|class=          Accessory, Armor, Clothing, Container, Miscellaneous, Shield, Weapon only.  If multiple, enter each with a comma, no spaces, to separate entries.
|type=           Cookin, Crafting, Creature, Feature altering, Glamour, Storage, or Vissi only.  If multiple, enter each with a comma, no spaces, to separate entries.
|tiers=          The number of tiers to be fully unlocked.  If no tiers, leave blank.
|unlocks=        Bundling, Certificate, Merchant, Premium Unlocker, or Quest only.  If multiple, enter each with a comma, no spaces, to separate entries.  This will only populate if tiers are indicated.  
|itemscript=     flourish or script only.  If both, enter "flourish,script"
|releasevenue=   Name of the release venue.
|releasedate=    Year or Month/Year of the release.
|origmerch=      Name of the merchant who released, merchant name preferred if known.
|quest=          Name of quest (omitting the word quest) if an item was obtained as part of quest participation.
|giftvault=      Indicates if an item had a special release, either as a giftbox item or as an event vault item.
|features=       height, body, eyes, complexion, hair, face, nose, distinguishing mark, unique or wings only.  If multiple, enter each with a comma, no spaces, to separate entries.
|customization=  List of facets able to be customized on an item by a merchant.  If multiple, enter each with a comma, no spaces, to separate entries.
|addorswap=      Add or Swap only.  If both, enter "Add,Swap"
|relatedscript=  List of scripts related to the item script (formerly known as corresponding scripts).  If multiple, enter each with a comma, no spaces, to separate entries.
|scriptfamily=   Name (or names) the script family an item script belongs to.  It may be in place of using relatedscript parameter or with it.  Do not list multiple individual scripts here.  If multiple script families, enter each with a comma, no spaces, to separate entries.
|attunement=     Permanent or Temporary only, if script is attuning.
|attunetype=     Account or Character only, if script is attuning.
|verb=           List of verbs used by the item script.  If multiple, enter each as all caps with a comma, no spaces, to separate entries.
|safety=         All Mine or Stay Put only, if script has a safety feature.
|addinfo=        Quick summary of additional information, limited to 200 characters total.
}}