Template:SMT 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|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== {| class="wikitable" |- !...") |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
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. | ==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:+]] <code><nowiki>{{+|1}}</nowiki></code> or [[Template:-]] <code><nowiki>{{-|1}}</nowiki></code>, respectively. | |||
{| 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. | ||
|} | |} | ||
Line 50: | Line 52: | ||
===Examples=== | ===Examples=== | ||
<noinclude>[[Category:Template Documentation]]</noinclude> |
Latest revision as of 00:09, 11 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. 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. |
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=}}