Difference between revisions of "Template:Item Link generic"
From Mushpedia
| (17 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <onlyinclude><includeonly> | + | <onlyinclude><includeonly>| align="center" width="50px" | [[image:{{#var: {{{1}}} Icon}}|link={{#var:{{{1}}}}}|{{#var:{{{1}}}}}]] |
| − | |align="center"|[[image:{{#var: {{{1}}} Icon}}]] | + | | align="center" style="white-space:nowrap; padding: 5px;" width="100px" | '''[[{{{1}}}]]'''{{#if: {{#var:{{{1}}} Artefact}}| [[Image:Artefact.png|class=margin-small|link=Exploration|This item is an alien artifact gained from planet exploration.]]|}}{{#if: {{#var:{{{1}}} Heavy}}| [[Image:Heavy.png|class=margin-small|link=Inventory#Heavy|This item is heavy and has a performance impact on characters.]]|}}{{#if: {{#var:{{{1}}} Flammable}}| [[Image:Fire.png|class=margin-small|link=Dangers|This item can be destroyed in fires.]]|}}{{#if: {{#var:{{{1}}} Charges}}| [[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|'''[[{{{1}}}]]'''{{#if: {{#var:{{{1}}} Artefact}}| [[Image:Artefact.png|class=margin-small|link=Exploration|This item is an alien artifact gained from planet exploration.]]|}}{{#if: {{#var:{{{1}}} Heavy}}| [[Image:Heavy.png|class=margin-small|link=Inventory#Heavy|This item is heavy and has a performance impact on characters.]]|}}{{#if: {{#var:{{{1}}} Flammable}}| [[Image:Fire.png|class=margin-small|link=Dangers|This item can be destroyed in fires.]]|}}{{#if: {{#var:{{{1}}} Charges}}| [[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> |
| − | |align="center" style=white-space:nowrap|<small> | + | | align="center" style="white-space:nowrap; padding: 5px; {{#if: {{#var:{{{1}}} Repair}}||background-color: #dcdcdc;}}" width="120px"|<small> |
{| style="padding: 0;" | {| style="padding: 0;" | ||
| − | |||
| − | |||
|- | |- | ||
| − | {{#if: {{#var:{{{1}}} | + | {{#if: {{#var:{{{1}}} Repair}}||{{!}}N/A}} |
| − | {{!}}align=right{{!}}[[Image: | + | {{#if: {{#var:{{{1}}} Repair}}|{{!}} align=right {{!}}[[Image:Pa eng.png{{!}}class=margin-small{{!}}This item is breakable and can be repaired.]] '''Repair:''' |
| − | {{!}}{{#var:{{{1}}} | + | {{!}}{{#var:{{{1}}} Repair}}|}} |
|- | |- | ||
| − | {{#if: {{#var:{{{1}}} Dismantle | + | {{#if: {{#var:{{{1}}} Dismantle}}|{{!}} align=right {{!}}[[Image:Bin.png{{!}}class=margin-small{{!}}This icon can be dismantled by Technicians.]] '''Dismantle:''' |
| − | {{!}} | + | {{!}}{{#var:{{{1}}} Dismantle}}|}} |
| − | |}</small> | + | |} |
| − | |{{#if: {{#var:{{{1}}} Summary}}|{{#var:{{{1}}} Summary}}|{{Todo|Add short item summary.}}}}</includeonly></onlyinclude> | + | {{#if: {{#var:{{{1}}} Dismantle Results}}|<div style="margin:0; padding:0;">{{#var: {{{1}}} Dismantle Results}}</div>|}} |
| + | </small> | ||
| + | | style="padding: 5px;" |{{#if: {{#var:{{{1}}} Summary}}|{{#var:{{{1}}} Summary}}|{{Todo|Add short item summary.}}}} | ||
| + | |-</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}} | ||
Latest revision as of 03:34, 9 January 2014
Warning: Use Template:Item Link instead of this, this is a development template