Gswiki:Style guide/Item scripts

The official GemStone IV encyclopedia.
< Gswiki:Style guide
Revision as of 10:52, 28 February 2021 by MOD-GSMOTTE (talk | contribs) (Added information about not putting cost information on item script pages, moved TOC to below the introductory paragraph, updated information about not having a TOC, added complete verbtable information to c/p code.)
Jump to navigation Jump to search

In order to streamline the process for creating and editing item/script pages on the Wiki, a series of templates have been created. These templates, along with this guide and the provided examples, serve to ensure formatting and categorization remain uniform across the various pages.

Categories

As part of this update, categories for items and their scripts have seen a revamp as well.

Right Side Infoboxes

These templates allow for a quick at a glance look at the script.

  • Template:Iteminfo - This template features all the need to know information and will either grow or shrink based on information entered.
  • Template:Itemverb - This template contains a list of verbs used on the item, with clickable links to the verb page itself. This is an optional table, and can be omitted if the article is short enough to not necessitate it.

Page Subheaders

For typical item pages, the breakdown was Analyze, Usage, Additional Information (including links to other pages/resources). Going forward, pages that cover a script on a single item type (eg. Compartmentalized quiver, Pirate Harness) will be broken down into Analyze, Tiers (with each tier being its own subheader), Additional Information. Pages that cover scripts that can be applied to multiple items (eg. Yansio clothing, Veola hair accessory) will will have a similar setup, however the Item will go in place of the Tier. This will allow uniformity between fluff item script pages and mechanical item script pages. Optional templates were created that can be used for both types, one for single item type pages, and one for multi-item type pages.

  • Template:Itemtier - Optional template for single item pages with spots for Tier (or tree), Item Summary (a quick breakdown of information for the unlock, if any), Analyze (if the tier unlock differs greatly from the base analyze. This does not include if there are only additional verbs for the unlock tier. An example would be Compartmentalized quivers, which note a drastic difference in the analyze between unlock tiers), Affinity (if affinity is specific to the item/tier), and Itemverbtable (this will create an additional subheader for Usage, which should be followed by the item's verb usage set up in Template:Verbtable. Each tier would require the use of this template.
{{itemtier <!-- Copy/Paste x #Tier for item as needed. -->
|tier= <!-- REQUIRED:  Must be entered as Tier # or Tree (Name) -->
|itemsummary= <!-- Brief explanation of what this tier does, if any. -->
|analyze= <!-- Only necessary if there are drastic changes in ANALYZE between tiers/trees. -->
|inspect= <!-- ONLY for when an item has a custom INSPECT to it. -->
|affinity= <!-- Brief explanation of affinity for that specific tier, if any.  -->
|itemverbtable= <!-- Answer YES if there are verbs associated with this tier.  If not, leave blank. -->
}} {| {{verbtable}} <!-- REQUIRED if there are verbs for this tier.  For formatting purposes, the table needs to start on the same line that the itemtier template ends.  For instructions on how to use this template, see Template:Verbtable. -->
|}
  • Template:Itemtiermulti - Optional template for multi-item pages with spots for Item (in place of tier), Item Summary (a quick breakdown of information for the item, if any) Analyze (for the purposes of simplified formatting, only the highest tiered ANALYZE of each item under the script should be recorded here), Affinity (if affinity is specific to the item), and Itemverbtable (this will create an additional subheader for Usage, which should be followed by the item's verb usage set up in Template:Verbtable. Each item would require the use of this template.
{{itemtiermulti <!-- Copy/Paste x #Item as needed. -->
|item= <!-- REQUIRED:  Must be entered as Item Type -->
|itemsummary= <!-- Brief explanation of what this particular item does, if any. -->
|analyze= <!-- Only necessary if there are drastic changes in ANALYZE between items. -->
|inspect= <!-- ONLY for when an item has a custom INSPECT to it. -->
|affinity= <!-- Brief explanation of affinity for that specific item, if any.  -->
|itemverbtable= <!-- Answer YES if there are verbs associated with this item.  If not, leave blank. -->
}} {| {{verbtable}} <!-- REQUIRED if there are verbs for this item.  For formatting purposes, the table needs to start on the same line that the itemtier template ends.  For instructions on how to use this template, see Template:Verbtable. -->
|}

Additional Information

When creating a page for a new item, please remember to utilize <pre{{log2}}> to record the item's ANALYZE. This is unnecessary if you are placing the analyze text into the itemtier template. It should, however, still be used to record any ambients or additional logs of the item in use. An example of proper page order setup is:

* Small paragraph blurb about item and release information. (noted by {{addmetext}} in the below copy and paste code).
* Tier or Item breakdown and information (utilizing either Template:Itemtier for single item pages or Template:Itemtiermulti for multi-item pages).
** Template:Verbtable should be used and broken up between each tier/item subheader.
* Additional information (this should include any additional pertinent information not covered in the above areas).
** Ambient messaging
** Log of use (if any)
** Resources (links to additional information, festival/shop release information, saved posts subpage).

Multi-Item Pages

Multiple item pages require additional work to properly format due to the nature of the templates and pages. The Itemtiermulti template has been set up in a way that indents subheaders following the main item to keep them from blending too much into the rest of the page's content. When setting up the Verbtable template, a : should be placed before the start of the table to indent it and keep it in line with the multi-item template. Each tier should be included in one table per item, in lieu of separating tiers under separate headers. These pages are the exception, not the rule. In the event that a multi-item script requires additional formatting, it is recommended to manually create the pages without the template, but follow the same format. An example of ideal formatting for a multi-item page is Veola hair accessory.

Note: Originally, the template was set up to not allow TOC. That was intentional, but was later updated to allow {{TOC limit|2}}.

Item Costs on Pages

Please do not add unlock costs or item costs to the individual item script pages as these costs vary between festivals, events, and shops. When these costs are added to the item page and the costs change or vary, it is unlikely they will be updated due to the way festival, event, and shop information is added to the wiki. It is rare for editors to be able to or have the time to track down every place that someone has put the now erroneous information, leaving this incorrect information all over the wiki with only the shop page having the correct information. This leads to readers who are confused by the conflicting information and aren't sure which information is most up-to-date. Instead, provide a link to the relevant shops either in the first introductory paragraph or include links to the item shops in the Additional Information section under a third-level section header labeled Resources.

Copy/Paste Code

Below is the full copy/paste code for the templates used to create an item/script page. Optional templates are Template:Itemtier and Template:Itemverb. The below code will set the page up to allow the right side infoboxes to float properly alongside the verb tables for item usage. Text within <!-- and --> will not appear on the page; these notes are hidden instructions and should be left in the pages to inform future editors.

<table><tr valign="top"><td>
{{addmetext}} <!-- This spot reserved for informational blurb for item. Remove as part of copy/paste.-->
{{TOC limit|2}}
{{itemtier <!-- Copy/Paste x #Tier for item as needed. -->
|tier= <!-- REQUIRED:  Must be entered as Tier # or Tree (Name) -->
|itemsummary= <!-- Brief explanation of what this tier does, if any. -->
|analyze= <!-- Only necessary if there are drastic changes in ANALYZE between tiers/trees. -->
|inspect= <!-- ONLY to be used when an item has a custom INSPECT to it. -->
|affinity= <!-- Brief explanation of affinity for that specific tier, if any.  -->
|itemverbtable= <!-- Answer YES if there are verbs associated with this tier.  If not, leave blank. -->
}} {| {{verbtable}} <!-- REQUIRED if there are verbs for this tier.  For formatting purposes, the table needs to start on the same line that the itemtier template ends.  For instructions on how to use this template, see Template:Verbtable. -->
|- {{verbtableheader}}
! style="width:5em;"|Verb
! style="width:5em;"|Style (Only if applicable.  Additional options would be Demeanor, Location, Climate, etc.  Essentially, modifiers to the verbs.)
! First
! Second (Only if applicable)
! Third
|-
! Verb
! Style
| First Person View
| Second Person View
| Third Person View
|}
</td><td>
{{iteminfo
|type= <!-- REQUIRED: Mechanical or Fluff. -->
|type2= <!-- OPTIONAL: If an item is feature altering, please enter "Feature altering". -->
|itemclass= <!-- REQUIRED: Valid options are: Armor, Weapon, Shield, Clothing, Accessory, Container, or Miscellaneous -->
|itemclass2= <!-- OPTIONAL: If a script can be applied to more than one classification.  An example would be Joola items (clothing and jewelry). -->
|itemclass3=
|itemtype= <!-- REQUIRED: What items can this apply to.  Up to 8 can be specified. -->
|itemtype2=
|itemtype3=
|itemtype4=
|itemtype5=
|itemtype6=
|itemtype7=
|itemtype8=
|alter= <!-- REQUIRED: Can this be altered? Valid response is Yes or No. If there are restrictions, enter in Restrictions line. -->
|ld= <!-- REQUIRED: Is this item able to be lightened or deepened?  Valid response is Yes or No. If there are restrictions, enter in Restrictions line. -->
|feature= <!-- OPTIONAL: This area is only REQUIRED if feature altering is indicated. Up to 8 features can be entered -->
|feature2=
|feature3=
|feature4=
|feature5=
|feature6=
|feature7=
|feature8=
|customize= <!-- OPTIONAL: Enter "Yes" if the item is customizable beyond an ALTER.  If no, leave blank. -->
|custom= <!-- OPTIONAL:  This area is REQUIRED if customization is indicated.  Up to 5 customizations can be entered. If the messaging is alterable, simply enter "Verb"-->
|custom2=
|custom3=
|custom4=
|custom5=
|origmerch= <!-- OPTIONAL: This area is for indicating the original release merchant name, if known. If not, leave blank.-->
|releasevenue= <!-- OPTIONAL: This area is for indicating the original release venue and year, if known. If not, leave blank. -->
|tiered= <!-- OPTIONAL: Enter "Yes" if the item is tiered. If no, leave blank. -->
|tiersnumber= <!-- OPTIONAL: This area is only REQUIRED if an item has tiers. It is to note how many tiers there are (This includes off the shelf). -->
|unlock= <!-- OPTIONAL: This area is only required if an item has tiers. It is to note how tiers can be unlocked.  Valid options are "Merchant" or "Certificate" ONLY. If both, enter at unlock2.-->
|unlock2=
|legendary= <!-- OPTIONAL: Enter "Yes" if the item/script was released/distributed at an auction or was a jackpot prize.  Extremely limited release only (3 or less in existence).  -->
|demeanor= <!-- OPTIONAL: Enter "Yes" if the item's messaging is affected by DEMEANOR.  If no, leave blank. -->
|loresong= <!-- OPTIONAL:  Enter "Yes" if the item has a loresong as part of the base script.  If no, leave blank. -->
|attune= <!-- OPTIONAL: This area is for indicating if an item attunes.  If permanent, enter Permanent; if temporary, enter Temporary (as in, it can be broken).  If there is none, leave blank. -->
|attunement= <!-- OPTIONAL: This area is only REQUIRED if attunement was indicated. Options are "Character" or "Account". Please note, "Temporary attunement" will ALWAYS be "Character". -->
|affinity= <!-- OPTIONAL: Enter "Yes" if the item requires affinity to work.  If no, leave blank. -->
|hideable= <!-- OPTIONAL: Enter "Yes" if an item is hideable in inventory.  If no, leave blank. -->
|hide= <!-- OPTIONAL: This area is only REQUIRED if the item is indicated to be hideable.  This should indicate HOW it hides, whether by a verb or simply by being WORN. -->
|spell= <!-- OPTIONAL: This area is for indicating if an item has a spell inherent to the script ONLY.  Up to 4 may be specified. Example to enter: Call Familiar (920). If no, leave blank. -->
|spell2=
|spell3=
|spell4=
|enhancive= <!-- OPTIONAL: This area is for indicating if an item has enhancives inherent to the script ONLY.  Answer YES. If no, leave blank. -->
|swap= <!-- OPTIONAL: This area is for indicating if an item is eligible for script swapping.  Answer YES. If no, leave blank. -->
|add= <!-- OPTIONAL: This area is for indicating if the script is eligible to be added to an item.  Answer YES. If no, leave blank. -->
|restrictions= <!-- OPTIONAL: This area is for indicating if an item has specific restrictions. If more than one, separate with <br>. DO NOT ENTER ON A SEPARATE LINE. -->
}}
{{itemverb
|verb= <!-- Verbs MUST be capitalized when entered. -->
|verb2= 
|verb3= 
|verb4= 
|verb5=
|verb6=
|verb7=
|verb8=
|verb9=
|verb10=
|verb11=
|verb12=
|verb13=
|verb14=
|verb15=
|verb16=
|verb17=
|verb18=
|verb19=
|verb20=
|verb21=
|verb22=
|verb23=
|verb24=
|verb25=
|verb26=
|verb27=
|verb28=
}}
</td></tr></table>