Difference between revisions of "Template:Equipment Link"

From Mushpedia
Jump to: navigation, search
m
Line 3: Line 3:
 
{| class="wikitable padded-table" width="100%"
 
{| class="wikitable padded-table" width="100%"
 
|-
 
|-
<onlyinclude>{{:{{{1}}}}}
+
{{Equipment Link|Bed}}
 +
|}
 +
<includeonly><onlyinclude>{{:{{{1}}}}}
 
|-
 
|-
 
{{#if: {{#var: {{{1}}} Name}}|
 
{{#if: {{#var: {{{1}}} Name}}|
Line 11: Line 13:
 
{{{!}} style="padding: 0;"
 
{{{!}} style="padding: 0;"
 
{{!}} align="right" width="65%"  {{!}}[[Image:Pa eng.png|class=margin-small|This equipment is {{#ifeq: {{#var: {{{1}}} Repair Chance}}|N/A|not breakable|breakable}}.]] '''Repair:'''
 
{{!}} align="right" width="65%"  {{!}}[[Image:Pa eng.png|class=margin-small|This equipment is {{#ifeq: {{#var: {{{1}}} Repair Chance}}|N/A|not breakable|breakable}}.]] '''Repair:'''
{{!}} width="35%" {{!}} {{#var: {{{1}}} Repair Chance}}{{#ifeq: {{#var: {{{1}}} Repair Chance}}|N/A||%}}
+
{{!}} width="35%" {{!}} ''{{#var: {{{1}}} Repair Chance}}{{#ifeq: {{#var: {{{1}}} Repair Chance}}|N/A||%}}''
 
{{#if: {{#var: {{{1}}} Dismantle Chance}}|
 
{{#if: {{#var: {{{1}}} Dismantle Chance}}|
 
{{!}}-
 
{{!}}-
 
{{!}} align="right" width="65%"  {{!}}[[Image:Bin.png|class=margin-small|This equipment {{#ifeq: {{#var: {{{1}}} Repair Chance}}|N/A|cannot be dismantled.|can be dismantled by Technicians.}}]]'''Dismantle:'''
 
{{!}} align="right" width="65%"  {{!}}[[Image:Bin.png|class=margin-small|This equipment {{#ifeq: {{#var: {{{1}}} Repair Chance}}|N/A|cannot be dismantled.|can be dismantled by Technicians.}}]]'''Dismantle:'''
{{!}} width="35%" {{!}}{{#var: {{{1}}} Dismantle Chance}}{{#ifeq: {{#var: {{{1}}} Dismantle Chance}}|N/A||%}} {{#var: {{{1}}} Dismantle Cost}}
+
{{!}} width="35%" {{!}}''{{#var: {{{1}}} Dismantle Chance}}{{#ifeq: {{#var: {{{1}}} Dismantle Chance}}|N/A||%}}'' ({{#var: {{{1}}} Dismantle Cost}}){{#if: {{#var: {{{1}}} Dismantle Result 1}}|
{{#if: {{#var: {{{1}}} Dismantle Result 1}}|
+
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="2" align="center" {{!}}{{#var: {{{1}}} Dismantle Result Amount 1}}x {{Item|{{#var: {{{1}}} Dismantle Result 1}}}}{{#if: {{#var: {{{1}}} Dismantle Result 2}}|
 
{{!}} colspan="2" align="center" {{!}}{{#var: {{{1}}} Dismantle Result Amount 1}}x {{Item|{{#var: {{{1}}} Dismantle Result 1}}}}{{#if: {{#var: {{{1}}} Dismantle Result 2}}|
Line 28: Line 29:
 
{{!}} align="center" style=white-space:nowrap {{!}} '''Invalid equipment'''
 
{{!}} align="center" style=white-space:nowrap {{!}} '''Invalid equipment'''
 
{{!}}
 
{{!}}
{{!}}Incorrect Equipment Link; either this equipment ([[{{{1}}}]]) does not have its own page yet, or you have mistyped it.}}</onlyinclude>
+
{{!}}Incorrect Equipment Link; either this equipment ([[{{{1}}}]]) does not have its own page yet, or you have mistyped it.}}</onlyinclude></includeonly>
|}
+

Revision as of 21:52, 5 July 2014

Creates a line for the Ship Equipment page.

Bed.jpg Bed
Repairing. Repair: cannot break
Dismantle chance.Dismantle: no
The bed allows you to sleep to restore Action Point. Sweet dreams!
If lying on the bed during cycle change, you gain additional Action Point. Required for (im)moral activity doing it. Required for skills Icon Shrink and Icon Lethargy. Cannot break, despite Neron sometimes announcing that a bed is malfunctioning.