Template:Item/IngameView: Difference between revisions

From Shin Megami Tensei IMAGINE Wiki
Jump to navigationJump to search
imported>Sesshou
mNo edit summary
No edit summary
 
(14 intermediate revisions by 4 users not shown)
Line 4: Line 4:
* This will likely be AnnanFay's version - '''[[User:AnnanFay/ItemTemplates]]'''
* This will likely be AnnanFay's version - '''[[User:AnnanFay/ItemTemplates]]'''
* Status as of 1st July:- Combined style of AnnanFay's item layout with basic template mechanics. Still need to do some more, and to figure out how Extra basic features should be handled.
* Status as of 1st July:- Combined style of AnnanFay's item layout with basic template mechanics. Still need to do some more, and to figure out how Extra basic features should be handled.
 
</noinclude><div class="ingame-view">
</noinclude><div style="width:280px; height:562px; position:relative;line-height: 1em">
<div class="item-detail">
[[File:Item-background.png|link=]]
<div class="header">
 
<div class="item-icon">{{{Picture}}}</div>
<div class="item-detail"        style="width:100%; height:100%; position:absolute; top:0; left:0; color:#C0D0FF; font-size:10px; overflow:hidden;">
<div class="item-name">'''{{{Name}}}'''</div>
<div class="header" style="position:relative;width:100%; height:60px;">
<div class="icon-view"><div>{{{LargePicture}}}</div></div>
<div class="item-icon"  style="position:absolute;  left:5px; top:8px;">{{{Picture}}}</div>
<div class="item-name" style="position:absolute;  left:53px; top:20px;">'''{{{Name}}}'''</div>
<div class="icon-view"  style="position:absolute;  left:1px; top:47px; width:68px; height:13px; cursor:pointer;">&nbsp;</div><!-- IE doesn't like this, no fix without using spacer image-->
</div>
</div>
<div class="basic-info"          style="width:100%; height:38px;  margin-top:11px; margin-left:12px; margin-right:12px; overflow:hidden;">
<div class="basic-info">
<div style="float:left;width:50%;">Type: {{{Type}}}</div>
<div class="type">Type: {{{Type}}}</div>
{{#if: {{{Affinity}}} |<div> Affinity: {{{Affinity}}}</div> |}}
{{IfParamDisplay|Affinity|{{{Affinity}}}}}
{{#iferror:{{#ifexpr: {{{Maximum Stack}}}>1 |<div> Stacks: {{{Maximum Stack}}}</div> |}} |}}
{{#iferror:{{#ifexpr: {{{Maximum Stack}}}>1 |<div> Stacks: {{{Maximum Stack}}}</div> |}} |}}
{{#if: {{{Gender}}} |<div style="float:left;width:50%;"> Gender: {{{Gender}}}</div> |}}
{{IfParamDisplay|Sex|{{{Sex}}}}}<!--
{{#if: {{{Level Limit}}} |<div> Level: {{{Level Limit}}}</div> |}}
-->{{IfParamDisplay|Level|{{{Level Limit}}}}}
</div>
</div>
<div class="basic-feaures"      style="width:268px; height:110px;margin-top:11px; margin-left:12px; overflow:hidden;"><!--
<div class="basic-feaures"><!--
-->{{#if: {{{Physical Defense}}} | <div>{{Item/detail/ColorStat|Physical Defense|{{{Physical Defense}}}}}</div> |}}<!--
-->{{#if: {{{Physical Defense}}} | <div>{{Item/detail/ColorStat|Physical Defense|{{{Physical Defense}}}}}</div> |}}<!--
-->{{#if: {{{Magic Defense}}} | <div>{{Item/detail/ColorStat|Magic Defense|{{{Magic Defense}}}}}</div> |}}<!--
-->{{#if: {{{Magic Defense}}} | <div>{{Item/detail/ColorStat|Magic Defense|{{{Magic Defense}}}}}</div> |}}<!--
-->{{#if: {{{Close-Range}}} | <div>{{Item/detail/ColorStat|Close-Range|{{{Close-Range}}}}}</div> |}}<!--
-->{{#if: {{{Melee}}} | <div>{{Item/detail/ColorStat|Melee|{{{Melee}}}}}</div> |}}<!--
-->{{#if: {{{Long-Range}}} | <div>{{Item/detail/ColorStat|Long-Range|{{{Long-Range}}}}}</div> |}}<!--
-->{{#if: {{{Ranged}}} | <div>{{Item/detail/ColorStat|Ranged|{{{Ranged}}}}}</div> |}}<!--
-->{{#if: {{{Spell}}} | <div>{{Item/detail/ColorStat|Spell|{{{Spell}}}}}</div> |}}<!--
-->{{#if: {{{Spell}}} | <div>{{Item/detail/ColorStat|Spell|{{{Spell}}}}}</div> |}}<!--
-->{{#if: {{{Support}}} | <div>{{Item/detail/ColorStat|Support|{{{Support}}}}}</div> |}}<!--
-->{{#if: {{{Auxiliary}}} | <div>{{Item/detail/ColorStat|Auxiliary|{{{Auxiliary}}}}}</div> |}}<!--
-->{{#if: {{{Critical}}} | <div>{{Item/detail/ColorStat|Critical|{{{Critical}}}}}</div> |}}<!--
-->{{#if: {{{Critical Occurrence}}} | <div>{{Item/detail/ColorStat|Critical Occurrence|{{{Critical Occurrence}}}}}</div> |}}<!--
-->{{#if: {{{Additional Boost 1 Type}}} | <div>{{Item/detail/ColorStat|{{{Additional Boost 1 Type}}}|{{{Additional Boost 1 Value}}}}}</div> |}}<!--
-->{{#if: {{{Additional Boost 1 Type}}} | <div>{{Item/detail/ColorStat|{{{Additional Boost 1 Type}}}|{{{Additional Boost 1 Value}}}}}</div> |}}<!--
-->{{#if: {{{Additional Boost 2 Type}}} | <div>{{Item/detail/ColorStat|{{{Additional Boost 2 Type}}}|{{{Additional Boost 2 Value}}}}}</div> |}}<!--
-->{{#if: {{{Additional Boost 2 Type}}} | <div>{{Item/detail/ColorStat|{{{Additional Boost 2 Type}}}|{{{Additional Boost 2 Value}}}}}</div> |}}<!--
Line 37: Line 34:
-->{{#if: {{{Durability}}} | <div>Durability: [{{{Durability}}}]</div> |}}<!--
-->{{#if: {{{Durability}}} | <div>Durability: [{{{Durability}}}]</div> |}}<!--
--></div>
--></div>
<div class="enchant-info"      style="width:268px; height:38px;  margin-top:11px; margin-left:12px; overflow:hidden;">
<div class="enchant-info">
{{#if: {{{Spiritual Mixing}}} | <div>Spiritual Mixing: {{{Spiritual Mixing}}}</div> |}}
{{IfParamDisplay|Spiritual Mixing|{{{Spiritual Mixing}}}}}
{{#if: {{{Tarot Fusions}}} | <div>Tarot Fusions: {{{Tarot Fusions}}}</div> |}}
{{IfParamDisplay|Tarot Fusions|{{{Tarot Fusions}}}}}
{{#if: {{{Soul Stone Fusions}}} | <div>Soul Stone Fusions: {{{Soul Stone Fusions}}}</div> |}}
{{IfParamDisplay|Soul Fusions|{{{Soul Fusions}}}}}
</div>
</div>
<div class="modification-slot" style="width:266px; height:62px;  margin-top:11px; margin-left:12px; overflow:hidden;">
<div class="modification-slot">
{{#if: {{{Slot 1}}} | <div>Slot 1: {{{Slot 1}}}</div> |}}
{{IfParamDisplay|Slot 1|{{{Slot 1}}}}}
{{#if: {{{Slot 2}}} | <div>Slot 2: {{{Slot 2}}}</div> |}}
{{IfParamDisplay|Slot 2|{{{Slot 2}}}}}
{{#if: {{{Slot 3}}} | <div>Slot 3: {{{Slot 3}}}</div> |}}
{{IfParamDisplay|Slot 3|{{{Slot 3}}}}}
{{#if: {{{Slot 4}}} | <div>Slot 4: {{{Slot 4}}}</div> |}}
{{IfParamDisplay|Slot 4|{{{Slot 4}}}}}
{{#if: {{{Slot 5}}} | <div>Slot 5: {{{Slot 5}}}</div> |}}
{{IfParamDisplay|Slot 5|{{{Slot 5}}}}}
</div>
</div>
<div class="characteristics"    style="width:268px; height:62px;  margin-top:11px; margin-left:12px; overflow:auto;">
<div class="characteristics">
{{#if: {{{Characteristic 1}}} |* {{{Characteristic 1}}} |}}
{{#if: {{{Characteristic 1}}} |* {{{Characteristic 1}}} |}} <!--
{{#if: {{{Characteristic 2}}} |* {{{Characteristic 2}}} |}}
-->{{#if: {{{Characteristic 2}}} |* {{{Characteristic 2}}} |}} <!--
{{#if: {{{Characteristic 3}}} |* {{{Characteristic 3}}} |}}
-->{{#if: {{{Characteristic 3}}} |* {{{Characteristic 3}}} |}} <!--
{{#if: {{{Characteristic 4}}} |* {{{Characteristic 4}}} |}}
-->{{#if: {{{Characteristic 4}}} |* {{{Characteristic 4}}} |}} <!--
{{#if: {{{Characteristic 5}}} |* {{{Characteristic 5}}} |}}
-->{{#if: {{{Characteristic 5}}} |* {{{Characteristic 5}}} |}}
</div>
</div>
<div class="explanation"        style="width:266px; height:109px;margin-top:11px; margin-left:12px; overflow:auto;">
<div class="explanation">
{{{Item Description}}}
{{{Item Description}}}
<div>{{#if:{{{Modification Material}}}| [Modification Material] {{{Modification Material}}} }}</div>
<div>{{#if:{{{Modification Material}}}| [Modification Material] {{{Modification Material}}} }}</div>
<div>{{#if:{{{Modification Bonus}}}| Bonus: {{{Modification Bonus}}} }}</div>
{{IfParamDisplay|Bonus|{{{Modification Bonus}}}}}
</div>
</div>
</div>
</div>
</div>
</div>

Latest revision as of 17:54, 27 January 2024

Template for Ingame view of an Item.

  • This will be a meta Template designed to be a part of the new Item Template. It should not be used directly, instead see <Item template when it is ready>
  • This will likely be AnnanFay's version - User:AnnanFay/ItemTemplates
  • Status as of 1st July:- Combined style of AnnanFay's item layout with basic template mechanics. Still need to do some more, and to figure out how Extra basic features should be handled.
{{{Picture}}}
{{{Name}}}
{{{LargePicture}}}
Type: {{{Type}}}
Affinity: {{{Affinity}}}
Sex: {{{Sex}}}
Level: {{{Level Limit}}}
Physical Defense: {{{Physical Defense}}}
Magic Defense: {{{Magic Defense}}}
Melee: {{{Melee}}}
Ranged: {{{Ranged}}}
Spell: {{{Spell}}}
Auxiliary: {{{Auxiliary}}}
Critical Occurrence: {{{Critical Occurrence}}}
{{{Additional Boost 1 Type}}}: {{{Additional Boost 1 Value}}}
{{{Additional Boost 2 Type}}}: {{{Additional Boost 2 Value}}}
{{{Additional Boost 3 Type}}}: {{{Additional Boost 3 Value}}}
{{{Additional Boost 4 Type}}}: {{{Additional Boost 4 Value}}}
{{{Additional Boost 5 Type}}}: {{{Additional Boost 5 Value}}}
{{{Additional Boost 6 Type}}}: {{{Additional Boost 6 Value}}}
Durability: [{{{Durability}}}]
Spiritual Mixing: {{{Spiritual Mixing}}}
Tarot Fusions: {{{Tarot Fusions}}}
Soul Fusions: {{{Soul Fusions}}}
Slot 1: {{{Slot 1}}}
Slot 2: {{{Slot 2}}}
Slot 3: {{{Slot 3}}}
Slot 4: {{{Slot 4}}}
Slot 5: {{{Slot 5}}}
  • {{{Characteristic 1}}}
  • {{{Characteristic 2}}}
  • {{{Characteristic 3}}}
  • {{{Characteristic 4}}}
  • {{{Characteristic 5}}}

{{{Item Description}}}

[Modification Material] {{{Modification Material}}}
Bonus: {{{Modification Bonus}}}