Difference between revisions of "Template:Material"

From RimWorld Wiki
Jump to navigation Jump to search
m (category)
 
(29 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Material]]{{#if:{{{category|}}}|[[Category:{{{category}}} Material]]}}</includeonly><div class="infobox c_12" style='width: 25em'>
+
<noinclude>{{Obsolete|reason = I'm proud to announce that the changeover from ''Define'' to ''Infobox main'' is complete! This template is no longer used by any page. Template retained to keep page histories legible.}}</noinclude><noinclude>{{Documentation wanted}}</noinclude><includeonly>{{Infobox/Thing|Material|Materials|{{{1}}}|{{{2}}}|c_12}}{{#set:WikiTags=Template:Material/Tags}}</includeonly>
<p class="heading">{{BASEPAGENAME}}</p>
 
<div class="wrapper">
 
<div style='background: #fff; position: absolute; top: 0; z-index: 1; margin: 8px 0 0 8px'><div class='subheading' style='opacity: 0.75; width: 64px; height: 64px; padding: 5px !important; margin: 0 !important; background-color: rgb{{{color|(128,128,128)}}} !important;  border: none !important' title="{{BASEPAGENAME}}"></div></div><div style='position: absolute; top: 0; z-index: 2; padding: 4px !important; margin: 8px 0 0 8px !important; border: 1px solid #000;  width: 64px; height: 64px;'>[[image::File:{{BASEPAGENAME}}.png|64px]]</div>
 
<p class="text" style="display:block; padding: .5em; text-indent: 84px">{{Text|description|{{{description|}}}}}</p>
 
<hr style='clear:both'>
 
<dl>
 
<dt style='width: 50%'>Type</dt>
 
<dd style='width: auto'>[[Materials|Material]] &ndash; [[{{{category|Uncategorized}}} Material|{{{category|Uncategor.}}}]]</dd>
 
</dl>{{clr}}
 
<p class='subheading' style='height: 1em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>The Material Itself</p>
 
<dl>
 
{{Stat Entry | Beauty | {{{beauty base|}}} }}
 
{{Stat Entry | Deterioration Rate | {{{deterioration rate base|}}} }}
 
{{Stat Entry | Door Opening Speed | {{{door opening speed base|}}} }}
 
{{Stat Entry | Flammability | {{{flammability base|}}} }}
 
{{Stat Entry | Market Value | {{{market value base|}}}}}
 
{{Stat Entry | Max Health | {{{max health base|}}} }}
 
{{Stat Entry | Melee Blunt Damage | {{{melee blunt damage base|}}}}}
 
{{Stat Entry | Melee Cooldown | {{{melee cooldown base|}}}  }}
 
{{Stat Entry | Melee Damage | {{{melee damage base|}}}}}
 
{{Stat Entry | Melee Sharp Damage | {{{melee sharp damage base|}}} }}
 
{{Stat Entry | Ranged Cooldown | {{{ranged cooldown base|}}} }}
 
{{Stat Entry | Rest Effectiveness | {{{rest effectiveness base|}}}}}
 
{{Stat Entry | Sell Price Multiplier | {{{sell price multiplier base|}}}}}
 
{{Stat Entry | Work To Make | {{{work to make base|}}}  }}
 
</dl>{{clr}}
 
<p class='subheading' style='height: 1em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>'''Things Made from the Material'''</p>
 
<dl>
 
{{Stat Entry | Beauty |  | {{{beauty factor|}}} | {{{beauty offset|}}} }}
 
{{Stat Entry | Deterioration Rate |  | {{{deterioration rate factor|}}} | {{{deterioration rate offset|}}} }}
 
{{Stat Entry | Door Opening Speed |  | {{{door opening speed factor|}}} | {{{door opening speed offset|}}} }}
 
{{Stat Entry | Flammability |  | {{{flammability factor|}}} | {{{flammability offset|}}} }}
 
{{Stat Entry | Market Value | | {{{market value factor|}}} | {{{market value offset|}}} }}
 
{{Stat Entry | Max Health || {{{max health factor|}}} | {{{max health offset|}}} }}
 
{{Stat Entry | Melee Blunt Damage |  | {{{melee blunt damage factor|}}} | {{{melee blunt damage offset|}}} }}
 
{{Stat Entry | Melee Cooldown |  | {{{melee cooldown factor|}}} | {{{melee cooldown offset|}}} }}
 
{{Stat Entry | Melee Damage |  | {{{melee damage factor|}}} | {{{melee damage offset|}}} }}
 
{{Stat Entry | Melee Sharp Damage || {{{melee sharp damage factor|}}} | {{{melee sharp damage offset|}}} }}
 
{{Stat Entry | Ranged Cooldown |  | {{{ranged cooldown factor|}}} | {{{ranged cooldown offset|}}} }}
 
{{Stat Entry | Rest Effectiveness |  | {{{rest effectiveness factor|}}} | {{{rest effectiveness offset|}}} }}
 
{{Stat Entry | Sell Price Multiplier |  | {{{sell price multiplier factor|}}} | {{{sell price multiplier offset|}}} }}
 
{{Stat Entry | Work To Make |  | {{{work to make factor|}}} | {{{work to make offset|}}} }}
 
</dl>{{clr}}
 
</div></div><noinclude>
 
{{{{BASEPAGENAME}}/doc}}
 
</noinclude>
 
{{Text|note|{{{note|}}}}}
 

Latest revision as of 15:11, 5 June 2022