Template:OldItem: Difference between revisions
From Shin Megami Tensei IMAGINE Wiki
Jump to navigationJump to search
imported>Sesshou m moved Template:Item to Template:OldItem |
m Text replacement - "long-range" to "Ranged" |
||
(2 intermediate revisions by 2 users not shown) | |||
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: {{{ | {{#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 7: | Line 7: | ||
This template handles the display of item information. | This template handles the display of item information. | ||
<pre><nowiki> | <pre><nowiki> | ||
{{ | {{OldItem | ||
| type = Other | | type = Other | ||
| stacks = 10 | | stacks = 10 | ||
| cost = 100 Macca | | cost = 100 Macca | ||
| affinity = - | | affinity = - | ||
| | | 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 18: | Line 18: | ||
</nowiki></pre> | </nowiki></pre> | ||
For example: | For example: | ||
{{ | {{OldItem | ||
| type = Other | | type = Other | ||
| stacks = 10 | | stacks = 10 | ||
| cost = 100 Macca | | cost = 100 Macca | ||
| affinity = - | | affinity = - | ||
| | | 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)
- [Modification Material] FR-bs ATK 1