Difference between revisions of "Template:Item/doc"

From RimWorld Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
== Template Output ==
 
== Template Output ==
<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>
+
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.
=== {{{name|Item Name Goes Here}}} ===
+
== Example usage ==
{{{description|This area is for the description from the game}}}
+
<nowiki>{{Item
<div style='clear: left; margin-left: 66px'></div>
+
| name         = Marine armor
{{{information|This area if for personal input description for the wiki}}}
+
| image        = PoweredArmor.png
<div style="text-align:left;"></div>
+
| description  = {{main|Marine armor}} {{#show: Marine armor|?Description}}
{{{tags|}}}
+
| note        = Durable but heavy armor. Not advised for 24/7 wearing on [[colonist]]s due to the -0.4c/s movement speed penalty.
<div style='clear: left; margin-bottom: 1em'></div>
+
}}</nowiki>
== Code Layout ==
 
<pre>
 
 
{{Item
 
{{Item
| name       = Item Name Goes Here
+
| name         = Marine armor
| image       = Medicine.png
+
| image       = PoweredArmor.png
| description = This area is for the description from the game
+
| description = {{main|Marine armor}} {{#show: Marine armor|?Description}}
| information = This area if for personal input description for the wiki
+
| note        = Durable but heavy armor. Not advised for 24/7 wearing on [[colonist]]s due to the -0.4c/s movement speed penalty.
}}</pre>
+
}}

Revision as of 05:36, 27 April 2020

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 usage

{{Item
| name         = Marine armor
| image        = PoweredArmor.png
| description  = {{main|Marine armor}} {{#show: Marine armor|?Description}}
| 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.