Difference between revisions of "Template:Item"

From RimWorld Wiki
Jump to navigation Jump to search
m (Add a fixed size for images since flak jacket's image is 128x128 for some reason)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<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#64px}}</div>
=== {{{name|Item}}} ===
+
=== {{{name|}}} ===
{{{description|Test Description}}}
+
{{main| {{{name}}} }} {{#show: {{{name}}}|?Description}}<div style='clear: left; margin-left: 66px'></div>
<div style='clear: left; margin-left: 66px'>
+
{{{note|}}}
</div>
+
<div style="text-align:left;"></div>
{{{infomation|Test Information}}}
+
<div style='clear: left; margin-bottom: 1em'></div></includeonly><noinclude>
<div style="text-align:left;">
+
{{documentation}}</noinclude>
{{{tags|}}}
 
</div>
 
<div style='clear: left; margin-bottom: 1em'></div>
 

Latest revision as of 06:27, 27 April 2020

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

Template Output[edit]

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[edit]

{{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[edit]

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[edit]

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

Flak jacket[edit]

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.