Difference between revisions of "Template:Item Attributes"

From Mushpedia
Jump to: navigation, search
m
Line 1: Line 1:
{{#vardefine:
+
<includeonly><onlyinclude>{{#vardefine:
 
{{{1}}} Name |
 
{{{1}}} Name |
 
{{{1|Unknown Item}}}
 
{{{1|Unknown Item}}}
Line 10: Line 10:
 
}}{{#vardefine:
 
}}{{#vardefine:
 
{{{1}}} In-game Effects |  
 
{{{1}}} In-game Effects |  
{{{In-game Effects|{{Todo|Add effects}}}}}
+
{{{In-game Effects|}}}
 
}}{{#vardefine:
 
}}{{#vardefine:
 
{{{1}}} In-game Examine Text |
 
{{{1}}} In-game Examine Text |
Line 38: Line 38:
 
{{{1}}} Is Consumable |
 
{{{1}}} Is Consumable |
 
{{{Is Consumable|no}}}  
 
{{{Is Consumable|no}}}  
 +
}}{{#vardefine:
 +
{{{1}}} Consumable Effects |
 +
{{{Consumable Effects|{{Todo|Add effects}}}}}
 
}}{{#vardefine:
 
}}{{#vardefine:
 
{{{1}}} Can Perish |
 
{{{1}}} Can Perish |
Line 104: Line 107:
 
{{{1}}} Summary |
 
{{{1}}} Summary |
 
{{#ifeq: {{#var: {{{1}}} Starts Broken}}|yes|Starts '''broken'''.&nbsp;|}}{{#if: {{#var: {{{1}}} Starting Charges}}|Starts with '''{{#var: {{{1}}} Starting Charges}}''' {{Charge}}.&nbsp;|}}{{#ifeq: {{#var: {{{1}}} Is Personal}}|yes|'''Personal''' item; only visible to the owner.&nbsp;|}}{{#ifeq: {{#var: {{{1}}} Can be Stacked}}|yes|'''Stackable'''.&nbsp;|}}{{#ifeq: {{#var: {{{1}}} Can be Dropped}}|no|'''Cannot be dropped'''.&nbsp;|}}{{#ifeq: {{#var: {{{1}}} Can be Hidden}}|no|'''Cannot be hidden'''.&nbsp;|}}{{{Summary|{{Todo|Missing a short summary to be displayed on the Inventory page. Please append it.}}}}}{{#ifeq: {{#var: {{{1}}} Is Blueprint Material}}|yes|&nbsp;Used in '''object assembly''' using {{Item|Blueprints}}.|}}
 
{{#ifeq: {{#var: {{{1}}} Starts Broken}}|yes|Starts '''broken'''.&nbsp;|}}{{#if: {{#var: {{{1}}} Starting Charges}}|Starts with '''{{#var: {{{1}}} Starting Charges}}''' {{Charge}}.&nbsp;|}}{{#ifeq: {{#var: {{{1}}} Is Personal}}|yes|'''Personal''' item; only visible to the owner.&nbsp;|}}{{#ifeq: {{#var: {{{1}}} Can be Stacked}}|yes|'''Stackable'''.&nbsp;|}}{{#ifeq: {{#var: {{{1}}} Can be Dropped}}|no|'''Cannot be dropped'''.&nbsp;|}}{{#ifeq: {{#var: {{{1}}} Can be Hidden}}|no|'''Cannot be hidden'''.&nbsp;|}}{{{Summary|{{Todo|Missing a short summary to be displayed on the Inventory page. Please append it.}}}}}{{#ifeq: {{#var: {{{1}}} Is Blueprint Material}}|yes|&nbsp;Used in '''object assembly''' using {{Item|Blueprints}}.|}}
}}<noinclude>{{:Template:Item Stats/doc}}</noinclude>
+
}}</onlyinclude></includeonly>
 +
This is a template to ''store'' '''stats of [[Inventory|pick-up items]]''' in their respective articles. It is, thus, strictly a '''development template''' and should not be used in any articles that aren't '''item articles''', and other than in the precise way described below.
 +
 
 +
'''Usage''':
 +
 
 +
When creating a new page for an item, insert the following code at the top:
 +
<pre><onlyinclude>{{Item Stats|{{PAGENAME}}|
 +
Icon =
 +
 
 +
| Summary =
 +
 
 +
| In-game Flavor =
 +
 
 +
| In-game Effects =
 +
 
 +
| In-game Examine Text =
 +
 
 +
| Origin 1 =
 +
 
 +
| Origin Amount 1 =
 +
 
 +
| Origin 2 =
 +
 
 +
| Origin Amount 2 =
 +
 
 +
| Origin 3 =
 +
 
 +
| Origin Amount 3 =
 +
 
 +
| Is Destroyed in Fire =
 +
 
 +
| Is Consumable =
 +
 
 +
| Consumable Effects =
 +
 
 +
| Can Perish =
 +
 
 +
| Is Heavy =
 +
 
 +
| Is Artefact =
 +
 
 +
| Has Module Access =
 +
 
 +
| Starts Broken =
 +
 
 +
| Max Charges =
 +
 
 +
| Starting Charges =
 +
 
 +
| Repair Chance =
 +
 
 +
| Dismantle Chance =
 +
 
 +
| Dismantle Result 1 =
 +
 
 +
| Dismantle Result Amount 1 =
 +
 
 +
| Dismantle Result 2 =
 +
 
 +
| Dismantle Result Amount 2 =
 +
 
 +
| Can be Stacked =
 +
 
 +
| Can be Dropped =
 +
 
 +
| Can be Hidden =
 +
 
 +
| Is Personal =
 +
 
 +
| Is Blueprint Material =
 +
 
 +
| Weapon Damage =
 +
 
 +
| Weapon Accuracy =
 +
 
 +
| Weapon Expedition Strength =
 +
 
 +
}}</onlyinclude></pre>
 +
 
 +
You can now begin filling in these fields. The following is an explanation of all of them.
 +
 
 +
{{Note|Booleans are either '''yes''' or '''no'''.}}
 +
 
 +
{{Note|Fields marked '''Skippable''' either have default values set or belong to certain item categories, so they can be omitted from the list.}}
 +
 
 +
{{Note|Make sure '''no empty fields''' are left when you're done; if something is its default value or doesn't belong into the item, please completely remove the field from the list.}}
 +
 
 +
*Icon: The file name of the item's icon, i.e. ''Alien can opener.jpg''
 +
*Summary: A summary of the item and its effects to be used on the [[Inventory]] page, where not all info can be seen at once.
 +
*In-game Flavor: The item's lore flavor text as seen in the game tooltip.
 +
*In-game Effects: '''Skippable.''' The item's list of effects as seen in the game tooltip; not all items have this.
 +
*In-game Examine Text: The text you receive in your room log when you '''Examine''' the item.
 +
*Origin X: A source of the item. For instance, Origin 1 of {{Item|Thick Tube}} is ''Dismantling the Shower'', Origin 2 is ''Dismantling the {{Item|Lizaro Jungle}}''.
 +
*Origin Amount X: The amount of the item received from the origin. For instance, Origin Amount 1 of {{Item|Thick Tube}} is ''1'', Origin Amount 2 is also ''1''.
 +
*Is Destroyed in Fire: Boolean. Is this item fully consumed by fire? (Whether it breaks is handled in '''Repair Chance''').
 +
*Is Consumable: '''Skippable.''' Boolean; defaults to 'no'. Is this item a [[Inventory#Consumables|Consumable]], enabling the '''Consume''' action and granting effects?
 +
*Consumable Effects: '''Skippable.''' If consumable, list of effects goes here.
 +
*Can Perish: '''Skippable.''' Boolean; defaults to 'no'. Only for [[Inventory#Consumables|Consumables]]. Can this item perish, giving a chance for diseases and being auto-destroyed by [[BIOS Terminal|NERON]]?
 +
*Has Module Access: '''Skippable.''' Boolean; defaults to 'no'. Does this Item have '''module access''', opening a new window to do something in (such as {{Item|Block of Post-It Notes}})?
 +
*Starts Broken: '''Skippable.''' Boolean; defaults to 'no'. Whether this item starts off broken.
 +
*Is Heavy: '''Skippable.''' Boolean; defaults to 'no'. Is this item Heavy, causing the {{Status|Burdened}} status?
 +
*Is Artefact: '''Skippable.''' Boolean; defaults to 'no'. Is this item an alien artifact from an [[Exploration|expedition]], marked by the according icon?
 +
*Max Charges: '''Skippable.''' Only for items with charges. At how many charges does this item max out? '''Doubles as "Has Charges" statement.'''
 +
*Starting Charges: '''Skippable.''' Only for items with charges. How many charges does the item start with?
 +
*Repair Chance: '''Skippable.''' Only for repairable items. What is the '''base repair chance''' (without tools) of this item? '''Doubles as "Can be Broken" statement.'''
 +
*Dismantle Chance: '''Skippable.''' Only for items which can be dismantled. What is the '''base dismantle chance''' (without tools) of this item? '''Doubles as "Can be Dismantled" statement.'''
 +
*Dismantle Result X: '''Skippable.''' Only for items which can be dismantled. Item names (without template) of the items received from dismantling this item. For instance, Dismantle Result 1 of {{Item|Microwave}} is ''Scrap Metal''.
 +
*Dismantle Result Amount X: '''Skippable.''' Only for items which can be dismantled. The amount of the item received from the dismantling. For instance, Dismantle Result Amount 1 of {{Item|Microwave}} is ''2''.
 +
*Can be Stacked: '''Skippable.''' Defaults to 'no'. Can this item be stacked with others of its type (like {{Item|Standard Ration}} can)?
 +
*Can be Dropped: '''Skippable.''' Defaults to 'yes'. Can this item be dropped? Should be set to 'no' for things like {{Item|Fuel Capsule}}, {{Item|Camera}} etc.
 +
*Can be Hidden: '''Skippable.''' Defaults to 'yes'. Can this item be hidden?
 +
*Is Personal: '''Skippable.''' Defaults to 'no'. Can this item only be seen and interacted with by you? Should be set to 'yes' for communications items like {{Item|iTrakie}}.
 +
*Is Blueprint Material: '''Skippable.''' Defaults to 'no'. Only for items which are material in blueprint construction, like {{Item|Scrap Metal}}.
 +
*Weapon Damage: Only for [[Inventory#Weapons|weapons]]. The damage range this weapon can inflict. Example: ''2-5''
 +
*Weapon Accuracy: Only for [[Inventory#Weapons|weapons]]. The base chance of hitting with this weapon. Example: ''60%''
 +
*Weapon Expedition Strength: Only for [[Inventory#Weapons|weapons]]. The combat strength this weapon adds to an expedition. Example: ''1''
 +
 
 +
[[Category: Incomplete]]

Revision as of 14:13, 10 February 2014

This is a template to store stats of pick-up items in their respective articles. It is, thus, strictly a development template and should not be used in any articles that aren't item articles, and other than in the precise way described below.

Usage:

When creating a new page for an item, insert the following code at the top:

<onlyinclude>{{Item Stats|{{PAGENAME}}|
Icon =

| Summary =

| In-game Flavor =

| In-game Effects =

| In-game Examine Text =

| Origin 1 =

| Origin Amount 1 =

| Origin 2 =

| Origin Amount 2 =

| Origin 3 =

| Origin Amount 3 =

| Is Destroyed in Fire =

| Is Consumable =

| Consumable Effects =

| Can Perish =

| Is Heavy =

| Is Artefact =

| Has Module Access =

| Starts Broken =

| Max Charges =

| Starting Charges =

| Repair Chance =

| Dismantle Chance =

| Dismantle Result 1 =

| Dismantle Result Amount 1 =

| Dismantle Result 2 =

| Dismantle Result Amount 2 =

| Can be Stacked =

| Can be Dropped =

| Can be Hidden =

| Is Personal =

| Is Blueprint Material =

| Weapon Damage =

| Weapon Accuracy =

| Weapon Expedition Strength =

}}</onlyinclude>

You can now begin filling in these fields. The following is an explanation of all of them.

Icon Note: Booleans are either yes or no.

Icon Note: Fields marked Skippable either have default values set or belong to certain item categories, so they can be omitted from the list.

Icon Note: Make sure no empty fields are left when you're done; if something is its default value or doesn't belong into the item, please completely remove the field from the list.

  • Icon: The file name of the item's icon, i.e. Alien can opener.jpg
  • Summary: A summary of the item and its effects to be used on the Inventory page, where not all info can be seen at once.
  • In-game Flavor: The item's lore flavor text as seen in the game tooltip.
  • In-game Effects: Skippable. The item's list of effects as seen in the game tooltip; not all items have this.
  • In-game Examine Text: The text you receive in your room log when you Examine the item.
  • Origin X: A source of the item. For instance, Origin 1 of Icon Thick Tube is Dismantling the Shower, Origin 2 is Dismantling the Icon Lizaro Jungle.
  • Origin Amount X: The amount of the item received from the origin. For instance, Origin Amount 1 of Icon Thick Tube is 1, Origin Amount 2 is also 1.
  • Is Destroyed in Fire: Boolean. Is this item fully consumed by fire? (Whether it breaks is handled in Repair Chance).
  • Is Consumable: Skippable. Boolean; defaults to 'no'. Is this item a Consumable, enabling the Consume action and granting effects?
  • Consumable Effects: Skippable. If consumable, list of effects goes here.
  • Can Perish: Skippable. Boolean; defaults to 'no'. Only for Consumables. Can this item perish, giving a chance for diseases and being auto-destroyed by NERON?
  • Has Module Access: Skippable. Boolean; defaults to 'no'. Does this Item have module access, opening a new window to do something in (such as Icon Block of Post-it Notes)?
  • Starts Broken: Skippable. Boolean; defaults to 'no'. Whether this item starts off broken.
  • Is Heavy: Skippable. Boolean; defaults to 'no'. Is this item Heavy, causing the Icon Burdened status?
  • Is Artefact: Skippable. Boolean; defaults to 'no'. Is this item an alien artifact from an expedition, marked by the according icon?
  • Max Charges: Skippable. Only for items with charges. At how many charges does this item max out? Doubles as "Has Charges" statement.
  • Starting Charges: Skippable. Only for items with charges. How many charges does the item start with?
  • Repair Chance: Skippable. Only for repairable items. What is the base repair chance (without tools) of this item? Doubles as "Can be Broken" statement.
  • Dismantle Chance: Skippable. Only for items which can be dismantled. What is the base dismantle chance (without tools) of this item? Doubles as "Can be Dismantled" statement.
  • Dismantle Result X: Skippable. Only for items which can be dismantled. Item names (without template) of the items received from dismantling this item. For instance, Dismantle Result 1 of Icon Microwave is Scrap Metal.
  • Dismantle Result Amount X: Skippable. Only for items which can be dismantled. The amount of the item received from the dismantling. For instance, Dismantle Result Amount 1 of Icon Microwave is 2.
  • Can be Stacked: Skippable. Defaults to 'no'. Can this item be stacked with others of its type (like Icon Standard Ration can)?
  • Can be Dropped: Skippable. Defaults to 'yes'. Can this item be dropped? Should be set to 'no' for things like Icon Fuel Capsule, Icon Camera etc.
  • Can be Hidden: Skippable. Defaults to 'yes'. Can this item be hidden?
  • Is Personal: Skippable. Defaults to 'no'. Can this item only be seen and interacted with by you? Should be set to 'yes' for communications items like Icon iTrakie.
  • Is Blueprint Material: Skippable. Defaults to 'no'. Only for items which are material in blueprint construction, like Icon Scrap Metal.
  • Weapon Damage: Only for weapons. The damage range this weapon can inflict. Example: 2-5
  • Weapon Accuracy: Only for weapons. The base chance of hitting with this weapon. Example: 60%
  • Weapon Expedition Strength: Only for weapons. The combat strength this weapon adds to an expedition. Example: 1