Template:OldItem: Difference between revisions

From Shin Megami Tensei IMAGINE Wiki
Jump to navigationJump to search
m Text replacement - "Long-Range" to "Ranged"
m Text replacement - "long-range" to "Ranged"
 
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if: {{{type|}}} | *Type: {{ucfirst: {{{type}}}}} }}{{#if: {{{stacks|}}} | *Stacks: {{{stacks}}} }}{{#if: {{{cost|}}} | *Cost: {{{cost}}} }}{{#if: {{{affinity|}}} | *Affinity: {{ucfirst: {{{affinity}}} }} }}{{#if: {{{long-range|}}} | *Ranged: {{#ifexpr: {{{long-range}}} > 0 | <span style="color: #60D560">{{{long-range}}}</span> | <span style="color: red">{{{long-range}}}</span>}} }}{{#if: {{{description|}}} | *Description:
{{#if: {{{type|}}} | *Type: {{ucfirst: {{{type}}}}} }}{{#if: {{{stacks|}}} | *Stacks: {{{stacks}}} }}{{#if: {{{cost|}}} | *Cost: {{{cost}}} }}{{#if: {{{affinity|}}} | *Affinity: {{ucfirst: {{{affinity}}} }} }}{{#if: {{{Ranged|}}} | *Ranged: {{#ifexpr: {{{Ranged}}} > 0 | <span style="color: #60D560">{{{Ranged}}}</span> | <span style="color: red">{{{Ranged}}}</span>}} }}{{#if: {{{description|}}} | *Description:
::{{ucfirst: {{{description}}} }} }}{{#if: {{{modification|}}} | * [[Modification Materials|Modification]]:
::{{ucfirst: {{{description}}} }} }}{{#if: {{{modification|}}} | * [[Modification Materials|Modification]]:
::{{ucfirst: {{{modification}}} }} }}
::{{ucfirst: {{{modification}}} }} }}
Line 12: Line 12:
| cost = 100 Macca
| cost = 100 Macca
| affinity = -
| affinity = -
| long-range = +5
| Ranged = +5
| description = An example item description.
| description = An example item description.
| modification = [Modification Material] FR-bs ATK 1<br>Bonus: Fire-based Skill Power Up 5%<br>Compatibility: Weapon (Slot 3)
| modification = [Modification Material] FR-bs ATK 1<br>Bonus: Fire-based Skill Power Up 5%<br>Compatibility: Weapon (Slot 3)
Line 23: Line 23:
| cost = 100 Macca
| cost = 100 Macca
| affinity = -
| affinity = -
| long-range = +5
| Ranged = +5
| description = An example item description.
| description = An example item description.
| modification = [Modification Material] FR-bs ATK 1<br>Bonus: Fire-based Skill Power Up 5%<br>Compatibility: Weapon (Slot 3)
| modification = [Modification Material] FR-bs ATK 1<br>Bonus: Fire-based Skill Power Up 5%<br>Compatibility: Weapon (Slot 3)

Latest revision as of 07:18, 12 March 2023


This template handles the display of item information.

{{OldItem
| type		= Other
| stacks	= 10
| cost		= 100 Macca
| affinity	= -
| Ranged	= +5
| description	= An example item description.
| modification	= [Modification Material] FR-bs ATK 1<br>Bonus: Fire-based Skill Power Up 5%<br>Compatibility: Weapon (Slot 3)
}}

For example:

  • Type: Other
  • Stacks: 10
  • Cost: 100 Macca
  • Affinity: -
  • Ranged: +5
  • Description:
An example item description.
[Modification Material] FR-bs ATK 1
Bonus: Fire-based Skill Power Up 5%
Compatibility: Weapon (Slot 3)