Difference between revisions of "Template:Item"

From RimWorld Wiki
Jump to navigation Jump to search
m (__NOEDITSECTION__ is really annoying... lets see how this looks without. May need to redo manually)
m (Clean up yet another param we don't need)
Line 1: Line 1:
<includeonly><div style='float: left; margin: 0.67em 1em 0 0'><div style='width: 64px; height: 64px; border: 1px solid #DDD'>{{#ifeq:{{{image|-}}}|-||[[File:{{{image|}}}|64px]]}}</div></div>
+
<includeonly><div style='float: left; margin: 0.67em 1em 0 0'>{{#show:{{{name}}}|?Image}}</div>
 
=== {{{name|}}} ===
 
=== {{{name|}}} ===
 
{{main| {{{name}}} }} {{#show: {{{name}}}|?Description}}<div style='clear: left; margin-left: 66px'></div>
 
{{main| {{{name}}} }} {{#show: {{{name}}}|?Description}}<div style='clear: left; margin-left: 66px'></div>

Revision as of 05:50, 27 April 2020

Documentation icon Template documentation[view] [edit] [history] [purge]

Template Output

This template is only used in the Armor article. Maybe should be deleted? For now I'm documenting and cleaning it up a bit to be less repetitive.

Example one

{{Item
| name = Marine armor
| note = Durable but heavy armor. Not advised for 24/7 wearing on [[colonist]]s due to the -0.4c/s movement speed penalty.
}}
PoweredArmor.png

Marine armor

A suit of powered armor. Layered plasteel-weave plates are very effective at stopping attacks, with few vulnerable joint sections. Neuro-memetic assistors allow a human to wear the armor and still move easily.
Armor like this is often used by rapid-incursion space marines.

Durable but heavy armor. Not advised for 24/7 wearing on colonists due to the -0.4c/s movement speed penalty.

Example two

{{Item
| name = Flak jacket
}}
Flak jacket.png

Flak jacket

A tough fabric jacket with armor plates sewn in. While it's not as good as solid armor, it offers effective protection against all manner of attacks while remaining quite comfortable.