Difference between revisions of "Template:Item Link"

From Mushpedia
Jump to: navigation, search
Line 1: Line 1:
{{:{{{1}}}}}{{#if: {{#var: {{{1}}} Name}}|{{!}}-
+
|-
{{!}} align="center" width="50px" {{!}} [[Image:{{#var: {{{1}}} Icon}}]]
+
{{:{{{1}}}}}{{#if: {{#var: {{{1}}} Name}}|{{!}} align="center" width="50px" {{!}} [[Image:{{#var: {{{1}}} Icon}}]]
 
{{!}} align="center" style=white-space:nowrap {{!}} '''[[{{#var: {{{1}}} Name}}]]''' {{#ifeq: {{#var: {{{1}}} 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}}} Is Artefact}}|yes| [[Image:Artefact.png|class=margin-small|link=Exploration|This item is an alien artifact gained from planet exploration.]]|}}{{#if: {{#var: {{{1}}} Max Charges}}|<small> '''{{#var: {{{1}}} Max Charges}}'''[[Image:Charge.png|class=margin-small|This is the maximum amount of charges this item can hold.]]</small>|}}<br>{{#if: {{#var: {{{1}}} Origin 1}}|<small>{{#var: {{{1}}} Origin Amount 1}} x {{#var: {{{1}}} Origin 1}}{{#if: {{#var: {{{1}}} Origin 2}}|<br>{{#var: {{{1}}} Origin Amount 2}} x {{#var: {{{1}}} Origin 2}}|}}|</small>}}
 
{{!}} align="center" style=white-space:nowrap {{!}} '''[[{{#var: {{{1}}} Name}}]]''' {{#ifeq: {{#var: {{{1}}} 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}}} Is Artefact}}|yes| [[Image:Artefact.png|class=margin-small|link=Exploration|This item is an alien artifact gained from planet exploration.]]|}}{{#if: {{#var: {{{1}}} Max Charges}}|<small> '''{{#var: {{{1}}} Max Charges}}'''[[Image:Charge.png|class=margin-small|This is the maximum amount of charges this item can hold.]]</small>|}}<br>{{#if: {{#var: {{{1}}} Origin 1}}|<small>{{#var: {{{1}}} Origin Amount 1}} x {{#var: {{{1}}} Origin 1}}{{#if: {{#var: {{{1}}} Origin 2}}|<br>{{#var: {{{1}}} Origin Amount 2}} x {{#var: {{{1}}} Origin 2}}|}}|</small>}}
 
{{!}} align="center" style=white-space:nowrap {{!}}<small>
 
{{!}} align="center" style=white-space:nowrap {{!}}<small>
Line 19: Line 19:
 
}}|}}|}}|}}
 
}}|}}|}}|}}
 
{{!}}}</small>
 
{{!}}}</small>
{{!}} {{#var: {{{1}}} Summary}}|{{!}}-
+
{{!}} {{#var: {{{1}}} Summary}}|{{!}} align="center" width="50px" {{!}} [[Image:Postit.jpg]]
{{!}} align="center" width="50px" {{!}} [[Image:Postit.jpg]]
+
 
{{!}} align="center" style=white-space:nowrap {{!}} '''Invalid item'''
 
{{!}} align="center" style=white-space:nowrap {{!}} '''Invalid item'''
 
{{!}}
 
{{!}}
 
{{!}}Incorrect Item Link; either this item ([[{{{1}}}]]) does not have its own page yet, or you have mistyped it.}}
 
{{!}}Incorrect Item Link; either this item ([[{{{1}}}]]) does not have its own page yet, or you have mistyped it.}}

Revision as of 13:41, 9 February 2014

|- {{:{{{1}}}}}| align="center" width="50px" | Postit.jpg | align="center" style=white-space:nowrap | Invalid item | |Incorrect Item Link; either this item ([[{{{1}}}]]) does not have its own page yet, or you have mistyped it.