Template:Inventory ItemNoCategories: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
(Created page with "<h2>Inventory Item</h2> ;Mass <p style="margin-left: 1.6em;">{{{mass|<Information Missing>}}}{{#if:{{{mass|}}}| kg|<includeonly>Category:Missing_information</includeonly>}}</p> ;Stack Size <p style="margin-left: 1.6em;">{{{stacksize|1}}} item(s)</p> {{#if:{{{hitpoints|}}}|<!--TRUE-->'''Hit Points'''<p style="margin-left: 1.6em;">{{{hitpoints|}}} points</p>|<!--FALSE-->}}<noinclude> ==Usage== The Inventory Item template is meant to be used with any item...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
==Usage==
==Usage==
The Inventory Item template is meant to be used with any item that can be placed in an inventory.
The Inventory Item template is meant to be used with any item that can be placed in an inventory.
<pre>{{Inventory_Item
<pre>{{Inventory_ItemNoCategories
|mass=<kg?>
|mass=<kg?>
|stacksize=<Number>
|stacksize=<Number>
Line 16: Line 16:
*[[:Category:Missing_information]] is added conditionally.
*[[:Category:Missing_information]] is added conditionally.
{{:Template Ordering}}
{{:Template Ordering}}
[[Category:Templates/No Categorization]]</noinclude>
[[Category:Templates/NoCategorization]]</noinclude>

Latest revision as of 23:06, 19 July 2022

Inventory Item

Mass

<Information Missing>

Stack Size

1 item(s)

Usage

The Inventory Item template is meant to be used with any item that can be placed in an inventory.

{{Inventory_ItemNoCategories
|mass=<kg?>
|stacksize=<Number>
|hitpoints=<Number>
}}
  • The code above can be pasted into your page and edited.
  • Any of the attributes can be left out entirely and they will use their default value or not display. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
  • Category:Missing_information is added conditionally.

ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.