Template:Item/IngameView: Difference between revisions

From Shin Megami Tensei IMAGINE Wiki
Jump to navigationJump to search
imported>Sesshou
mNo edit summary
imported>AnnanFay
Converted to external formatting
Line 5: Line 5:
* 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 style="width:280px; height:562px; position:relative;line-height: 1em">
{{#css:Template:Item.css}}
[[File:Item-background.png|link=]]


<div class="item-detail"         style="width:100%; height:100%; position:absolute; top:0; left:0; color:#C0D0FF; font-size:10px; overflow:hidden;">
</noinclude><div class="ingame-view">
<div class="header" style="position:relative;width:100%; height:60px;">
 
<div class="item-icon"  style="position:absolute;  left:5px; top:8px;">{{{Picture}}}</div>
<div class="item-detail">
<div class="item-name" style="position:absolute;  left:53px; top:20px;">'''{{{Name}}}'''</div>
<div class="header">
<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 class="item-icon">{{{Picture}}}</div>
<div class="item-name">'''{{{Name}}}'''</div>
<div class="icon-view"></div>
</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> |}}
{{#if: {{{Affinity}}} |<div> Affinity: {{{Affinity}}}</div> |}}
{{#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> |}} <!--
{{#if: {{{Gender}}} |<div class="gender"> Gender: {{{Gender}}}</div> |}} <!--
-->{{#if: {{{Level Limit}}} |<div> Level: {{{Level Limit}}}</div> |}}
-->{{#if: {{{Level Limit}}} |<div> Level: {{{Level Limit}}}</div> |}}
</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> |}}<!--
Line 37: Line 38:
-->{{#if: {{{Durability}}} | <div>Durability: [{{{Durability}}}]</div> |}}<!--
-->{{#if: {{{Durability}}} | <div>Durability: [{{{Durability}}}]</div> |}}<!--
--></div>
--></div>
<div class="enchant-info"      style="width:266px; height:38px;  margin-top:11px; margin-left:12px; overflow:hidden;">
<div class="enchant-info">
{{#if: {{{Spiritual Mixing}}} | <div>Spiritual Mixing: {{{Spiritual Mixing}}}</div> |}}
{{#if: {{{Spiritual Mixing}}} | <div>Spiritual Mixing: {{{Spiritual Mixing}}}</div> |}}
{{#if: {{{Tarot Fusions}}} | <div>Tarot Fusions: {{{Tarot Fusions}}}</div> |}}
{{#if: {{{Tarot Fusions}}} | <div>Tarot Fusions: {{{Tarot Fusions}}}</div> |}}
{{#if: {{{Soul Stone Fusions}}} | <div>Soul Stone Fusions: {{{Soul Stone Fusions}}}</div> |}}
{{#if: {{{Soul Stone Fusions}}} | <div>Soul Stone Fusions: {{{Soul Stone Fusions}}}</div> |}}
</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> |}}
{{#if: {{{Slot 1}}} | <div>Slot 1: {{{Slot 1}}}</div> |}}
{{#if: {{{Slot 2}}} | <div>Slot 2: {{{Slot 2}}}</div> |}}
{{#if: {{{Slot 2}}} | <div>Slot 2: {{{Slot 2}}}</div> |}}
Line 49: Line 50:
{{#if: {{{Slot 5}}} | <div>Slot 5: {{{Slot 5}}}</div> |}}
{{#if: {{{Slot 5}}} | <div>Slot 5: {{{Slot 5}}}</div> |}}
</div>
</div>
<div class="characteristics"    style="width:266px; 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}}} |}} <!--
Line 56: Line 57:
-->{{#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>

Revision as of 14:14, 30 September 2012

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.

{{#css:Template:Item.css}}

{{{Picture}}}
{{{Name}}}
Type: {{{Type}}}
Affinity: {{{Affinity}}}
Gender: {{{Gender}}}
Level: {{{Level Limit}}}
Physical Defense: {{{Physical Defense}}}
Magic Defense: {{{Magic Defense}}}
Close-Range: {{{Close-Range}}}
Long-Range: {{{Long-Range}}}
Spell: {{{Spell}}}
Support: {{{Support}}}
Critical: {{{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}}}