Difference between revisions of "Template:Item Tooltip"
From Mushpedia
m |
|||
| Line 1: | Line 1: | ||
{| class="wikitable padded-table" style="margin:0 0 2em 2em; float: right; width:500px;" | {| class="wikitable padded-table" style="margin:0 0 2em 2em; float: right; width:500px;" | ||
| − | !style="font-size:1.3em; padding:0;" colspan="3"|[[image:{{#var: {{{1|{{PAGENAME}}}}} Icon|Postit.jpg | + | !style="font-size:1.3em; padding:0;" colspan="3"|[[image:{{#var: {{{1|{{PAGENAME}}}}} Icon|Postit.jpg}}|{{#var: {{{1|{{PAGENAME}}}}} Name|Unknown item}}]] <div style="padding: 0 1.3em; display: inline-block; vertical-align: middle;">'''{{#var: {{{1|{{PAGENAME}}}}} Name|Unknown item}}'''{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Heavy}}|yes| [[Image:Heavy.png|class=margin-small|link=Inventory#Heavy|This item is heavy and has a performance impact on characters.]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Artefact}}|yes| [[Image:Artefact.png|class=margin-small|link=Exploration|This item is an alien artifact gained from planet exploration.]]|}}{{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Has Module Access}}|yes| [[Image:Module access.png|class=margin-small|Inventory#Module Access|This item loads a module.]]|}}{{#if: {{#var: {{{1|{{PAGENAME}}}}} Max Charges}}| <small> [[Image:Charge.png|class=margin-small|This is the maximum amount of charges this item can hold.]]x'''{{#var: {{{1|{{PAGENAME}}}}} Max Charges}}'''</small>|}}<br></div> |
|- | |- | ||
!width="50%"|In-game Description | !width="50%"|In-game Description | ||
| Line 7: | Line 7: | ||
|style="vertical-align:top;"|''{{#var: {{{1|{{PAGENAME}}}}} In-game Flavor|{{Todo|Add "flavor text" from the in-game item description.}}}}''<br> | |style="vertical-align:top;"|''{{#var: {{{1|{{PAGENAME}}}}} In-game Flavor|{{Todo|Add "flavor text" from the in-game item description.}}}}''<br> | ||
{{#var: {{{1|{{PAGENAME}}}}} In-game Effects}} | {{#var: {{{1|{{PAGENAME}}}}} In-game Effects}} | ||
| − | {{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Consumable}}|yes|{{!}} style="text-align: center;"{{!}}{{#var: {{{1|{{PAGENAME}}}}} Consumable Effects|{{Todo|Add effects}}}}|{{!}}style="padding:0; vertical-align: top;"{{!}} | + | {{#ifeq: {{#var: {{{1|{{PAGENAME}}}}} Is Consumable}}|yes|{{!}} style="text-align: center;"{{!}}{{#var: {{{1|{{PAGENAME}}}}} Consumable Effects|{{Todo|Add effects}}}}|{{#ifexpr: {{#if: {{#var: {{{1|{{PAGENAME}}}}} Repair Chance}}|1|0}} or {{#if: {{#var: {{{1|{{PAGENAME}}}}} Dismantle Chance}}|1|0}}|{{!}}style="padding:0; vertical-align: top;"{{!}} |
{{{!}} class="wikitable" style="margin: 0;" width="100%" | {{{!}} class="wikitable" style="margin: 0;" width="100%" | ||
{{#if: {{#var: {{{1|{{PAGENAME}}}}} Repair Chance}}|{{!}}- | {{#if: {{#var: {{{1|{{PAGENAME}}}}} Repair Chance}}|{{!}}- | ||
| Line 24: | Line 24: | ||
{{#if: {{#var: {{{1|{{PAGENAME}}}}} Dismantle Result 2}}|<br>{{Item|{{#var: {{{1|{{PAGENAME}}}}} Dismantle Result 2}}}} x {{#var: {{{1|{{PAGENAME}}}}} Dismantle Result Amount 2}}|}} | {{#if: {{#var: {{{1|{{PAGENAME}}}}} Dismantle Result 2}}|<br>{{Item|{{#var: {{{1|{{PAGENAME}}}}} Dismantle Result 2}}}} x {{#var: {{{1|{{PAGENAME}}}}} Dismantle Result Amount 2}}|}} | ||
|}}|}} | |}}|}} | ||
| − | {{!}}}}} | + | {{!}}}|{{!}}style="padding:0; vertical-align: middle; text-align: center;"{{!}} N/A}}|}} |
{{#if: {{#var: {{{1|{{PAGENAME}}}}} Origin 1}}| | {{#if: {{#var: {{{1|{{PAGENAME}}}}} Origin 1}}| | ||
{{!}}- | {{!}}- | ||
Revision as of 14:39, 11 February 2014
Unknown item
| ||
|---|---|---|
| In-game Description | Maintenance Stats | |
| N/A
| ||
