Difference between revisions of "Template:Artifact"

From Tales of Maj'Eyal
Jump to: navigation, search
(Add instructions and pasteable "blank" template. Need to fill in the hints for the rest of the fields. Also un-floated it, because it's huge and nothing reasonably fits next to it.)
(update to make all fields except name and description optional. Also better documentation.)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
|-
 
|-
 
! colspan = 2 | Un-ID'ed name  
 
! colspan = 2 | Un-ID'ed name  
| colspan = 6 | {{{unid}}}
+
| colspan = 6 | {{{unid|-}}}
 
|-
 
|-
 
! colspan = 2 | Type  
 
! colspan = 2 | Type  
| colspan = 6 | {{{type}}}
+
| colspan = 6 | {{{type|-}}}
 
|-
 
|-
 
! colspan = 2 | Power source  
 
! colspan = 2 | Power source  
| colspan = 6 | {{{source}}}
+
| colspan = 6 | {{{source|-}}}
 
|-
 
|-
 
! colspan = 2 | Requirement
 
! colspan = 2 | Requirement
| colspan = 6 | {{{require}}}
+
| colspan = 6 | {{{require|-}}}
 
|-
 
|-
 
! colspan = 2 | Rarity !! colspan = 2 | Level range !! colspan = 2 | Cost !! colspan = 2 | Tier
 
! colspan = 2 | Rarity !! colspan = 2 | Level range !! colspan = 2 | Cost !! colspan = 2 | Tier
Line 60: Line 60:
 
<div>
 
<div>
 
Use this template on pages that define a (nonrandom) [[Artifact]]:
 
Use this template on pages that define a (nonrandom) [[Artifact]]:
 +
 +
''Note'': The only required fields are 'name' and 'description'. All other fields are optional.
 +
 +
Bare minimum needed:
 +
 +
<pre><nowiki>
 +
{{artifact
 +
|name=
 +
|description=
 +
}}
 +
</nowiki>
 +
</pre>
 +
 +
With all fields:
 +
 
<pre><nowiki>
 
<pre><nowiki>
 
{{artifact
 
{{artifact
Line 98: Line 113:
 
:The artifact's in-game name.  Please use the exact capitalization that the game uses.
 
:The artifact's in-game name.  Please use the exact capitalization that the game uses.
 
;unid
 
;unid
:The artifact's unidentified description (optional).
+
:The artifact's unidentified description, from the Lua source.  Used to be visible in-game before you actively identified the artifact.  Now only visible if the artifact is on the ground at a distance, since auto-ID was added.
 
;type
 
;type
 
:The artifact's type (e.g. Staff or Lite).
 
:The artifact's type (e.g. Staff or Lite).
Line 105: Line 120:
 
;require
 
;require
 
:Stat requirements or other prerequisites to use the artifact.
 
:Stat requirements or other prerequisites to use the artifact.
 +
;rarity
 +
:Rarity value, from the Lua source code.
 +
;level
 +
:Level range, from the Lua source code.
 +
;cost
 +
:Cost (in gold), from the Lua source code.  Note that most stores cap the amount of gold they will give when purchasing from you.  If the artifact is ''in'' a store, though, you'll pay full price.
 +
;tier
 +
:Material tier (level).
 +
;basepower
 +
:Base power (damage range), for artifacts you can attack with (weapons, shields, gloves).
 +
;usestat
 +
:Which stats are used to determine combat damage, for artifacts you can attack with (e.g. 45% Str / 45% Dex).
 +
;damtype
 +
:Damage type (element), for artifacts you can attack with.  Usually physical.
 +
;apr
 +
:Armor penetration bonus.
 +
;critical
 +
:Critical hit modifiers.
 +
;armor
 +
:Armor bonus.  Armor hardiness modifiers should probably go under Abilities, though this isn't clear cut.
 +
;defense
 +
:Defense bonuses (normal and/or ranged).
 +
;fatigue
 +
:Fatigue modifier (typically a penalty on armor, bonus on some amulets, etc.).
 +
;on_hit
 +
:Extra damage inflicted when you hit, either with this artifact, or with any weapon.
 +
;change_dam
 +
:"Changes damage" (inc_damage in Lua).  Example: [[Staff of Destruction]] +20% Fire damage.
 +
;dam_conv
 +
:"Damage conversion" (convert_damage in Lua).  Example: [[Sword of Potential Futures]] 30% Temporal.
 +
;when_hit
 +
:Retaliation damage done when the artifact's wearer is hit.
 +
;movspeed
 +
:Movement speed modifier.
 +
;enc
 +
:Maximum Encumbrance modifier (''not'' the item's weight/encumbrance).
 +
;maxlife
 +
:Maximum [[Life]] modifier.
 +
;healmod
 +
:Healing modifier.
 +
;resistances
 +
:Bonuses/penalties to resistances (elements, not stun/confusion/knockback).
 +
;penetration
 +
:Enemy resistance penetration modifiers.
 +
;immunity
 +
:Immunity modifiers (stun, confusion, knockback, etc.).
 +
;stats
 +
:Stat modifiers.
 +
;abilities
 +
:Anything that doesn't fit in the above categories.  Use a bullet list.
 +
;description
 +
:Artifact's description, from the Lua source.  Use ''italics'' if you want.
 
</div>
 
</div>
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 07:26, 21 February 2016

{{{name}}}
Un-ID'ed name -
Type -
Power source -
Requirement -
Rarity Level range Cost Tier
- - - -
Combat statistics
Base Power Uses Stat Damage Type APR Critical Armor Defense Fatigue
- - - - - - - -
Modifiers
Damage On Hit Changes Damage Damage Conversion Damage When Wearer Hit
- - - -
Movement Speed Maximum Encumbrance Maximum Life Healing Mod
- - - -
Changes Resistances Changes Resistances Penetration
- -
Changes Immunities -
Changes Stats -
Abilities -
Description {{{description}}}

Use this template on pages that define a (nonrandom) Artifact:

Note: The only required fields are 'name' and 'description'. All other fields are optional.

Bare minimum needed:

{{artifact
|name=
|description=
}}

With all fields:

{{artifact
|name=
|unid=
|type=
|source=
|require=
|rarity=
|level=
|cost=
|tier=
|basepower=
|usestat=
|damtype=
|apr=
|critical=
|armor=
|defense=
|fatigue=
|on_hit=
|change_dam=
|dam_conv=
|when_hit=
|movspeed=
|enc=
|maxlife=
|healmod=
|resistances=
|penetration=
|immunity=
|stats=
|abilities=
|description=
}}
name
The artifact's in-game name. Please use the exact capitalization that the game uses.
unid
The artifact's unidentified description, from the Lua source. Used to be visible in-game before you actively identified the artifact. Now only visible if the artifact is on the ground at a distance, since auto-ID was added.
type
The artifact's type (e.g. Staff or Lite).
source
The artifact's power source(s). Use {{arc}} for Arcane, etc.
require
Stat requirements or other prerequisites to use the artifact.
rarity
Rarity value, from the Lua source code.
level
Level range, from the Lua source code.
cost
Cost (in gold), from the Lua source code. Note that most stores cap the amount of gold they will give when purchasing from you. If the artifact is in a store, though, you'll pay full price.
tier
Material tier (level).
basepower
Base power (damage range), for artifacts you can attack with (weapons, shields, gloves).
usestat
Which stats are used to determine combat damage, for artifacts you can attack with (e.g. 45% Str / 45% Dex).
damtype
Damage type (element), for artifacts you can attack with. Usually physical.
apr
Armor penetration bonus.
critical
Critical hit modifiers.
armor
Armor bonus. Armor hardiness modifiers should probably go under Abilities, though this isn't clear cut.
defense
Defense bonuses (normal and/or ranged).
fatigue
Fatigue modifier (typically a penalty on armor, bonus on some amulets, etc.).
on_hit
Extra damage inflicted when you hit, either with this artifact, or with any weapon.
change_dam
"Changes damage" (inc_damage in Lua). Example: Staff of Destruction +20% Fire damage.
dam_conv
"Damage conversion" (convert_damage in Lua). Example: Sword of Potential Futures 30% Temporal.
when_hit
Retaliation damage done when the artifact's wearer is hit.
movspeed
Movement speed modifier.
enc
Maximum Encumbrance modifier (not the item's weight/encumbrance).
maxlife
Maximum Life modifier.
healmod
Healing modifier.
resistances
Bonuses/penalties to resistances (elements, not stun/confusion/knockback).
penetration
Enemy resistance penetration modifiers.
immunity
Immunity modifiers (stun, confusion, knockback, etc.).
stats
Stat modifiers.
abilities
Anything that doesn't fit in the above categories. Use a bullet list.
description
Artifact's description, from the Lua source. Use italics if you want.