Template:ItemScriptInfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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]]. |
|||
---- |
|||
<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" |
||
! 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 44: | Line 46: | ||
! align="left" valign="top" scope="row" role="rowheader" {{!}} Item Restrictions |
! align="left" valign="top" scope="row" role="rowheader" {{!}} Item Restrictions |
||
{{!}} align="right" valign="top" {{!}} ✓ [[Has restrictions::true| ]] |
{{!}} align="right" valign="top" {{!}} ✓ [[Has restrictions::true| ]] |
||
{{!}}- }} |
|||
{{#ifeq: {{lc:{{{loresong|}}}}} | yes |
|||
| |
|||
! align="left" valign="top" scope="row" role="rowheader" {{!}} Loresong Available |
|||
{{!}} align="right" valign="top" {{!}} ✓ [[Has loresong::true| ]] |
|||
{{!}}- }} |
{{!}}- }} |
||
|} |
|} |
||
| Line 52: | 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 | |
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|}}} | that applies to {{lowercase|{{#arraydefine:myitems|{{{class|}}}|,}}{{#arrayprint:myitems| |x|x|print=pretty}}}} items |}}. {{#if: {{{releasevenue|}}} | It was originally released at [[{{{releasevenue}}}]]{{#if: {{{releasedate|}}} | {{{releasedate}}} |}}{{#if: {{{origmerch|}}} | by [[{{{origmerch}}}]] |}}{{#if: {{{quest|}}} | as part of the [[{{{quest}}}]] quest |}}. | {{#if: {{{origmerch|}}} | It was originally released by [[{{{origmerch}}}]]{{#if: {{{releasedate|}}} | in {{{releasedate}}} |}}{{#if: {{{quest|}}} | 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|}}} }} }} |
||
<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|}}} | |
||
Add = [[Category:Addable item scripts]] | add = [[Category:Addable item scripts]] | Swap = [[Category:Swappable item scripts]] | swap = Swappable item scripts]] |}} {{#if: {{{attunement|}}} | [[Category:Attuning item scripts]] |}} {{#arraymap: {{{itemscript|}}}|,|x|{{#switch:x| flourish = [[Category:Item flourishes]] | Flourish = [[Category:Item flourishes]] | #default = }}}} {{#if: {{{quest|}}} | [[Category:Quest item scripts]] |}}</onlyinclude> |
Add = [[Category:Addable item scripts]] | add = [[Category:Addable item scripts]] | Swap = [[Category:Swappable item scripts]] | swap = Swappable item scripts]] |}} {{#if: {{{attunement|}}} | [[Category:Attuning item scripts]] |}} {{#arraymap: {{{itemscript|}}}|,|x|{{#switch:x| flourish = [[Category:Item flourishes]] | Flourish = [[Category:Item flourishes]] | #default = }}}} {{#if: {{{quest|}}} | [[Category:Quest item scripts]] |}}</onlyinclude> |
||
{{red|'''DO NOT USE! TESTING PURPOSES ONLY FOR NOW!'''}} |
|||
==CP Code== |
==CP Code== |
||
{{#section:Gswiki:Style guide/Item scripts|cpcode}} |
|||
<pre{{log2}}><nowiki>{{ItemScriptInfo |
|||
|propername= |
|||
|category= |
|||
|class= |
|||
|type= |
|||
|tiers= |
|||
|unlocks= |
|||
|itemscript= |
|||
|releasevenue= |
|||
|releasedate= |
|||
|origmerch= |
|||
|quest= |
|||
|features= |
|||
|customization= |
|||
|addorswap= |
|||
|relatedscript= |
|||
|attunement= |
|||
|attunetype= |
|||
|verb= |
|||
|safety= |
|||
|addinfo= |
|||
}}</nowiki></pre> |
|||
Latest revision as of 16:58, 22 August 2026
This template is for use in creating and editing item script articles. For information template use, please see the item scripts style guide.
| ItemScriptInfo Information | |
|---|---|
| Category | |
The itemScriptInfo is a .
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.
|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 script or script families). If multiple, 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.
}}