Template:SMT Weapon/Documentation: Difference between revisions

Jump to navigation Jump to search
m (Protected "Template:SMT Weapon/Documentation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
Line 2: Line 2:
Used to create tables for listing weapon equipment (handheld weapons, guns, bullets) in {{Link|Game|SMT1}} and {{Link|Game|SMT2}}. <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.
Used to create tables for listing weapon equipment (handheld weapons, guns, bullets) in {{Link|Game|SMT1}} and {{Link|Game|SMT2}}. <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.


Omitted stat parameters will show up as an em dash in the table. If a weapon does not use a stat, its parameter should be omitted.
==Usage==
Omitted stat parameters will show up as an em dash in the table. These should be omitted if a weapon does not directly change a stat.
 
For stat increases or decreases, format as <code>+1</code> or <code>-1</code>, respectively.


==Usage==
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 11: Line 13:
| name || The name of the weapon, corresponding to whatever the listed name is in-game.
| name || The name of the weapon, corresponding to whatever the listed name is in-game.
|-
|-
| alignment ||
| alignment || The Law-Neutral-Chaos alignment restriction of the weapon. Use "All" if there are no restrictions.
|-
|-
| gender ||
| gender || The gender restriction of the weapon. Use [[Template:Gender]]. If there are no restrictions, use <code><nowiki>{{Gender|MF}}</nowiki></code>.
|-
|-
| hit ||
| hit || The weapon's number of hits inflicted. Format as <code>1-2</code> for random hits.
|-
|-
| cause ||
| cause || The status ailment the weapon inflicts, if any.
|-
|-
| atk ||
| atk || The Attack stat the weapon adds.
|-
|-
| acc ||
| acc || The Accuracy stat the weapon adds.
|-
|-
| st ||
| st || Strength stat, if changed.
|-
|-
| in ||
| in || Intelligence stat, if changed.
|-
|-
| ma ||
| ma || Magic stat, if changed.
|-
|-
| vi ||
| vi || Vitality stat, if changed.
|-
|-
| ag ||
| ag || Agility stat, if changed.
|-
|-
| lu ||
| lu || Luck stat, if changed.
|-
|-
| obtain ||
| obtain || Where or how the weapon is obtained. I.e. "(Location) Knife Shop", "(Demon) drop", "fusion", etc.
|}
|}



Revision as of 00:58, 2 October 2023

Purpose

Used to create tables for listing weapon equipment (handheld weapons, guns, bullets) in Shin Megami Tensei and Shin Megami Tensei II. {| 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. These should be omitted if a weapon does not directly change a stat.

For stat increases or decreases, format as +1 or -1, respectively.

Parameter Description
name The name of the weapon, corresponding to whatever the listed name is in-game.
alignment The Law-Neutral-Chaos alignment restriction of the weapon. Use "All" if there are no restrictions.
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 random hits.
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.
vi Vitality stat, if changed.
ag Agility stat, if changed.
lu Luck stat, if changed.
obtain Where or how the weapon is obtained. I.e. "(Location) Knife Shop", "(Demon) drop", "fusion", etc.

Code

{| class="wikitable"
{{SMT Weapon|name=|alignment=|gender={{Gender|MF}}|hit=|cause=|atk=|acc=|st=|in=|ma=|vi=|ag=|lu=|obtain=}}
|}
{{SMT Weapon|name=|alignment=|gender={{Gender|MF}}|hit=|cause=|atk=|acc=|st=|in=|ma=|vi=|ag=|lu=|obtain=}}

Examples


This is the template documentation page for Template:SMT Weapon. It should be transcluded onto the template page.