Difference between revisions of "Template:Artifact"
From Tales of Maj'Eyal
								
												
				 (The rest of the template parameter hints.)  | 
				ScienceBall (Talk | contribs)   (Try moving the image to the left of Un-ID, Type and Power Source (and Requirement))  | 
				||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<div style="margin: 1.4em; margin-top:0; margin-right:0; padding: 0px; border:none;">  | <div style="margin: 1.4em; margin-top:0; margin-right:0; padding: 0px; border:none;">  | ||
{| class="wikitable"  | {| class="wikitable"  | ||
| − | ! colspan = 8 style = "font-size:larger;" | {{{name}}}    | + | ! colspan = 8 style = "font-size:larger;" | {{{name}}}  | 
|-  | |-  | ||
| + | ! rowspan = 4 colspan = 2 | {{#switch:{{{image|}}}|-| = ''(no image)''|#default = [[File:{{{image}}}]]}}  | ||
! colspan = 2 | Un-ID'ed name    | ! colspan = 2 | Un-ID'ed name    | ||
| − | | colspan =   | + | | colspan = 4 | {{{unid|-}}}  | 
|-  | |-  | ||
! colspan = 2 | Type    | ! colspan = 2 | Type    | ||
| − | | colspan =   | + | | colspan = 4 | {{{type|-}}}  | 
|-  | |-  | ||
! colspan = 2 | Power source    | ! colspan = 2 | Power source    | ||
| − | | colspan =   | + | | colspan = 4 | {{{source|-}}}  | 
|-  | |-  | ||
! colspan = 2 | Requirement  | ! colspan = 2 | Requirement  | ||
| − | | colspan =   | + | | colspan = 4 | {{{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 61: | ||
<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>  | <pre><nowiki>  | ||
{{artifact  | {{artifact  | ||
|name=  | |name=  | ||
| + | |description=  | ||
| + | }}  | ||
| + | </nowiki>  | ||
| + | </pre>  | ||
| + | |||
| + | With all fields:  | ||
| + | |||
| + | <pre><nowiki>  | ||
| + | {{artifact  | ||
| + | |name=  | ||
| + | |image=  | ||
|unid=  | |unid=  | ||
|type=  | |type=  | ||
| Line 97: | Line 114: | ||
;name  | ;name  | ||
: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.  | ||
| + | ;image  | ||
| + | :The artifact's in-game image. Please import the original image without alterations.  | ||
;unid  | ;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.  | :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.  | ||
Latest revision as of 23:14, 25 July 2023
| {{{name}}} | |||||||
|---|---|---|---|---|---|---|---|
| (no image) | 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=
|image=
|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.
 - image
 - The artifact's in-game image. Please import the original image without alterations.
 - 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.