Difference between revisions of "Template:Item/IngameView"

From Shin Megami Tensei IMAGINE Wiki
Jump to: navigation, search
 
(24 intermediate revisions by 2 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.
 
+
{{#css:Template:Item.css}}
</noinclude><div style="width:286px; height:562px; position:relative;line-height: 1em">
+
</noinclude><div class="ingame-view">
[[File:Item-background.png]]
+
<div class="item-detail">
 
+
<div class="header">
<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-icon">{{{Picture}}}</div>
<div class="header" style="position:relative;width:100%; height:60px;">
+
<div class="item-name">'''{{{Name}}}'''</div>
<div class="item-icon"  style="position:absolute;  left:5px; top:8px;">{{{Picture}}}</div>
+
<div class="icon-view"><div>{{{LargePicture}}}</div></div>
<div class="item-name" style="position:absolute;  left:53px; top:20px;">'''{{{Name}}}'''</div>
+
 
</div>
 
</div>
<div class="basic-info"           style="width:100%; height:38px;  margin-top:11px; margin-left:12px; overflow:hidden;">
+
<div class="basic-info">
Type: {{{Type}}}
+
<div class="type">Type: {{{Type}}}</div>
{{#if: {{{Affinity}}} | Affinity: {{{Affinity}}} |}}
+
{{IfParamDisplay|Affinity|{{{Affinity}}}}}
 +
{{#iferror:{{#ifexpr: {{{Maximum Stack}}}>1 |<div> Stacks: {{{Maximum Stack}}}</div> |}} |}}
 +
{{IfParamDisplay|Gender|{{{Gender}}}}}<!--
 +
-->{{IfParamDisplay|Level|{{{Level Limit}}}}}
 
</div>
 
</div>
<div class="basic-feaures"      style="width:100%; 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: {{{Close-Range}}} | <div>{{Item/detail/ColorStat|Melee|{{{Close-Range}}}}}</div> |}}<!--
-->{{#if: {{{Long-Range}}} | <div>{{Item/detail/ColorStat|Long-Range|{{{Long-Range}}}}}</div> |}}<!--
+
-->{{#if: {{{Long-Range}}} | <div>{{Item/detail/ColorStat|Ranged|{{{Long-Range}}}}}</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: {{{Support}}} | <div>{{Item/detail/ColorStat|Support|{{{Support}}}}}</div> |}}<!--
-->{{#if: {{{Critical}}} | <div>{{Item/detail/ColorStat|Critical|{{{Critical}}}}}</div> |}}<!--
+
-->{{#if: {{{Critical}}} | <div>{{Item/detail/ColorStat|Critical Occurrence Factor|{{{Critical}}}}}</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 31: Line 33:
 
-->{{#if: {{{Additional Boost 5 Type}}} | <div>{{Item/detail/ColorStat|{{{Additional Boost 5 Type}}}|{{{Additional Boost 5 Value}}}}}</div> |}}<!--
 
-->{{#if: {{{Additional Boost 5 Type}}} | <div>{{Item/detail/ColorStat|{{{Additional Boost 5 Type}}}|{{{Additional Boost 5 Value}}}}}</div> |}}<!--
 
-->{{#if: {{{Additional Boost 6 Type}}} | <div>{{Item/detail/ColorStat|{{{Additional Boost 6 Type}}}|{{{Additional Boost 6 Value}}}}}</div> |}}<!--
 
-->{{#if: {{{Additional Boost 6 Type}}} | <div>{{Item/detail/ColorStat|{{{Additional Boost 6 Type}}}|{{{Additional Boost 6 Value}}}}}</div> |}}<!--
--><div>Durability: [{{{Durability}}}]</div><!--
+
-->{{#if: {{{Durability}}} | <div>Durability: [{{{Durability}}}]</div> |}}<!--
 
--></div>
 
--></div>
<div class="enchant-info"      style="width:100%; height:38px;  margin-top:11px; margin-left:12px; overflow:hidden;">
+
<div class="enchant-info">
<div>Spiritual Mixing: {{{Spiritual Mixing}}}</div>
+
{{IfParamDisplay|Spiritual Mixing|{{{Spiritual Mixing}}}}}
<div>Tarot Fusions: {{{Tarot Fusions}}}</div>
+
{{IfParamDisplay|Tarot Fusions|{{{Tarot Fusions}}}}}
<div>Soul Stone Fusions: {{{Soul Stone Fusions}}}</div>
+
{{IfParamDisplay|Soul Stone Fusions|{{{Soul Stone Fusions}}}}}
 
</div>
 
</div>
<div class="modification-slot" style="width:100%; 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:100%; height:62px;  margin-top:11px; margin-left:12px; overflow:hidden;">
+
<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:100%; height:109px;margin-top:11px; margin-left:12px; overflow:hidden;">
+
<div class="explanation">
 
{{{Item Description}}}
 
{{{Item Description}}}
<div>{{{Modification Material}}}</div>
+
<div>{{#if:{{{Modification Material}}}| [Modification Material] {{{Modification Material}}} }}</div>
<div>{{{Bonus}}}</div>
+
{{IfParamDisplay|Bonus|{{{Modification Bonus}}}}}
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 03:25, 7 August 2021

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}}}
Gender: {{{Gender}}}
Level: {{{Level Limit}}}
Physical Defense: {{{Physical Defense}}}
Magic Defense: {{{Magic Defense}}}
Melee: {{{Close-Range}}}
Ranged: {{{Long-Range}}}
Spell: {{{Spell}}}
Support: {{{Support}}}
Critical Occurrence Factor: {{{Critical}}}
{{{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 Stone Fusions: {{{Soul Stone 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}}}
Personal tools