Template:DeSum Weapon/Documentation: Difference between revisions

Jump to navigation Jump to search
(Created page with "==Purpose== Used to create tables for listing weapon equipment (handheld weapons, guns, bullets) in {{Link|Game|DeSum}}. <code><nowiki>{| class="wikitable"</nowiki></code> must be placed at the beginning and the table must be closed by appending <code>|}</code> on the following line. ==Usage== Omitted stat parameters will show up as an em dash in the table. A parameter should be omitted if a weapon does not directly change a stat. For stat increases or decreases, use [...")
 
No edit summary
Line 19: Line 19:
| hit || The weapon's number of hits inflicted. Format as <code>1-2</code> for multiple hits.
| hit || The weapon's number of hits inflicted. Format as <code>1-2</code> for multiple hits.
|-
|-
| target || The target of the weapon. Use Single, Row, F. Row, Spread, or All.
| target || The target of the weapon. Use Single, Row, F. Row, Spread, or All. Omit for bullets.
|-
|-
| back row || If the weapon can hit from the back row, set to <code>y</code>. Otherwise omit.
| from back || If the weapon can or cannot hit from the back row, set to <code>{{y}}</code> or <code>{{n}}</code>. Omit for bullets.
|-
|-
| cause || The status ailment the weapon inflicts, if any.
| cause || The status ailment the weapon inflicts, if any.

Revision as of 18:04, 24 February 2024

Purpose

Used to create tables for listing weapon equipment (handheld weapons, guns, bullets) in Shin Megami Tensei: Devil Summoner. {| class="wikitable" must be placed at the beginning and the table must be closed by appending |} on the following line.

Usage

Omitted stat parameters will show up as an em dash in the table. A parameter should be omitted if a weapon does not directly change a stat.

For stat increases or decreases, use Template:+ {{+|1}} or Template:- {{-|1}}, respectively.

Parameter Description
name The name of the weapon, corresponding to whatever the listed name is in-game.
attribute The attribute of the weapon. Should be Sword, Spear, Thrown, or Gun.
gender The gender restriction of the weapon. Use Template:Gender. If there are no restrictions, use {{Gender|MF}}.
hit The weapon's number of hits inflicted. Format as 1-2 for multiple hits.
target The target of the weapon. Use Single, Row, F. Row, Spread, or All. Omit for bullets.
from back If the weapon can or cannot hit from the back row, set to or . Omit for bullets.
cause The status ailment the weapon inflicts, if any.
atk The Attack stat the weapon adds.
acc The Accuracy stat the weapon adds.
st Strength stat, if changed.
in Intelligence stat, if changed.
ma Magic stat, if changed.
en Endurance stat, if changed.
ag Agility stat, if changed.
lu Luck stat, if changed.
buy Purchasing price. Omit if weapon is not purchasable from stores.
sell Sell price. Omit if weapon is purchasable from stores, as it will be set automatically from buy.
obtain Where or how the weapon is obtained. I.e. "(Location) Knife Shop", "(Demon) drop", "fusion", etc.

Code

{| class="wikitable"
{{DeSum Weapon|name=|attribute=|gender={{Gender|MF}}|hit=|target=|cause=|from back=|atk=|acc=|st=|in=|ma=|en=|ag=|lu=|buy=|sell=|obtain=}}
|}
{{DeSum Weapon|name=|attribute=|gender={{Gender|MF}}|hit=|target=|cause=|from back=|atk=|acc=|st=|in=|ma=|en=|ag=|lu=|buy=|sell=|obtain=}}

Examples