Template:OldItem: Difference between revisions
From Shin Megami Tensei IMAGINE Wiki
Jump to navigationJump to search
imported>Sesshou mNo edit summary |
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|}}} | * | {{#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: | ||
::{{ucfirst: {{{description}}} }} }}{{#if: {{{modification|}}} | * [[Modification Materials|Modification]]: | ::{{ucfirst: {{{description}}} }} }}{{#if: {{{modification|}}} | * [[Modification Materials|Modification]]: | ||
::{{ucfirst: {{{modification}}} }} }} | ::{{ucfirst: {{{modification}}} }} }} |
Revision as of 00:04, 4 March 2023
This template handles the display of item information.
{{OldItem | type = Other | stacks = 10 | cost = 100 Macca | affinity = - | long-range = +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)
- [Modification Material] FR-bs ATK 1