Difference between revisions of "Template:Item Link generic"

From Mushpedia
Jump to: navigation, search
Line 1: Line 1:
 
<onlyinclude><includeonly>| align="center" width="50px" | [[image:{{#var: {{{1}}} Icon}}|link={{#var:{{{1}}}}}|{{#var:{{{1}}}}}]]
 
<onlyinclude><includeonly>| align="center" width="50px" | [[image:{{#var: {{{1}}} Icon}}|link={{#var:{{{1}}}}}|{{#var:{{{1}}}}}]]
| align="center" style="white-space:nowrap" width="100px" | '''[[{{{1}}}]]'''{{#if: {{#var:{{{1}}} Artefact}}|&nbsp;[[Image:Artefact.png|class=margin-small|link=Exploration|This item is an alien artifact gained from planet exploration.]]|}}{{#if: {{#var:{{{1}}} Heavy}}|&nbsp;[[Image:Heavy.png|class=margin-small|link=Inventory#Heavy|This item is heavy and has a performance impact on characters.]]|}}{{#if: {{#var:{{{1}}} Flammable}}|&nbsp;[[Image:Fire.png|class=margin-small|link=Dangers|This item can be destroyed in fires.]]|}}{{#if: {{#var:{{{1}}} Charges}}|&nbsp;[[Image:Charge.png|class=margin-small|This is the maximum amount of charges this item can hold.]]<small>'''x{{#var:{{{1}}} Charges}}'''</small>|}}
+
| align="center" style="white-space:nowrap;  padding: 5px;" width="100px" | '''[[{{{1}}}]]'''{{#if: {{#var:{{{1}}} Artefact}}|&nbsp;[[Image:Artefact.png|class=margin-small|link=Exploration|This item is an alien artifact gained from planet exploration.]]|}}{{#if: {{#var:{{{1}}} Heavy}}|&nbsp;[[Image:Heavy.png|class=margin-small|link=Inventory#Heavy|This item is heavy and has a performance impact on characters.]]|}}{{#if: {{#var:{{{1}}} Flammable}}|&nbsp;[[Image:Fire.png|class=margin-small|link=Dangers|This item can be destroyed in fires.]]|}}{{#if: {{#var:{{{1}}} Charges}}|&nbsp;[[Image:Charge.png|class=margin-small|This is the maximum amount of charges this item can hold.]]<small>'''x{{#var:{{{1}}} Charges}}'''</small>|}}
 
<small>{{#var: {{{1}}} Origins}}</small>
 
<small>{{#var: {{{1}}} Origins}}</small>
| align="center" style="white-space:nowrap" width="120px"|<small>
+
| align="center" style="white-space:nowrap; padding: 5px;" width="120px"|<small>
 
{| style="padding: 0;"
 
{| style="padding: 0;"
 
|-
 
|-
Line 13: Line 13:
 
{{#if: {{#var:{{{1}}} Dismantle Results}}|<div style="margin:0; padding:0;">{{#var: {{{1}}} Dismantle Results}}</div>|}}
 
{{#if: {{#var:{{{1}}} Dismantle Results}}|<div style="margin:0; padding:0;">{{#var: {{{1}}} Dismantle Results}}</div>|}}
 
</small>
 
</small>
|{{#if: {{#var:{{{1}}} Summary}}|{{#var:{{{1}}} Summary}}|{{Todo|Add short item summary.}}}}
+
| style="padding: 5px;" |{{#if: {{#var:{{{1}}} Summary}}|{{#var:{{{1}}} Summary}}|{{Todo|Add short item summary.}}}}
 
|-</includeonly></onlyinclude>
 
|-</includeonly></onlyinclude>
 
{{Warn|Use [[Template:Item Link]] instead of this, this is a development template}}
 
{{Warn|Use [[Template:Item Link]] instead of this, this is a development template}}

Revision as of 01:22, 9 January 2014

Icon Warning: Use Template:Item Link instead of this, this is a development template