Editing Template:Infobox main/doc
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 25: | Line 25: | ||
<pre> | <pre> | ||
{{infobox main | {{infobox main | ||
+ | |||
+ | |type = use for main category | ||
+ | |type2 = use for subcategory (optional) | ||
+ | |beauty = use for beauty | ||
+ | |flammability = how quickly it burns. format: in decimals(vb:0.8) , displayed as % vb(80%) | ||
+ | |market value = the amount of currency the item is worth | ||
+ | |mass base = mass in kilograms - DO NOT USE FOR ANIMALS | ||
+ | |hp = the amount of damage an object can take; use for objects with hit points | ||
<!-- All pawns (animals, humanoids, mechanoids) --> | <!-- All pawns (animals, humanoids, mechanoids) --> | ||
Line 169: | Line 177: | ||
<!-- All Weapons --> | <!-- All Weapons --> | ||
+ | |class = neolithic/modern/advanced/mechanoid | ||
|damage = Base weapon damage | |damage = Base weapon damage | ||
|cooldown = use for cooldown time of weapon (in ticks) | |cooldown = use for cooldown time of weapon (in ticks) | ||
Line 247: | Line 256: | ||
<!--Undocumented parameters --> | <!--Undocumented parameters --> | ||
+ | |deterioration = | ||
|is exotic species = | |is exotic species = | ||
|petness = | |petness = | ||
Line 280: | Line 290: | ||
{| class="wikitable mw-collapsible mw-collapsed" | {| class="wikitable mw-collapsible mw-collapsed" | ||
− | ! Parameter !! Dependencies !! Type | + | ! Parameter !! Dependencies !! Type !! Property !! Description !! xml-tag |
|- | |- | ||
! colspan="6" style="text-align:left;" | 0. Testing | ! colspan="6" style="text-align:left;" | 0. Testing | ||
|- | |- | ||
− | | set property || optional || | + | | set property || optional || bool || – || Boolean value for whether the template should set properties. This defaults to true on main namespace pages, and false on all other namespace pages. Only use it when absolutely neccesary. || – |
|- | |- | ||
! colspan="6" style="text-align:left;" | 1. Head | ! colspan="6" style="text-align:left;" | 1. Head | ||
Line 290: | Line 300: | ||
| <1> || optional || One of: | | <1> || optional || One of: | ||
* animal | * animal | ||
+ | * plant | ||
+ | * weapon | ||
* area | * area | ||
− | * | + | * structure |
− | * | + | * production |
+ | * security | ||
+ | * furniture | ||
* fabric | * fabric | ||
− | |||
− | |||
* leathery | * leathery | ||
− | |||
* metallic | * metallic | ||
− | |||
− | |||
− | |||
− | |||
* stony | * stony | ||
− | + | | – || sets the color || – | |
− | |||
− | | – || | ||
|- | |- | ||
| name || optional || pagename || [[Property:Name]] || Title of the infobox. Defaults to current page name if not specified. || <label> | | name || optional || pagename || [[Property:Name]] || Title of the infobox. Defaults to current page name if not specified. || <label> | ||
Line 312: | Line 317: | ||
| image || optional || Picture name.png || [[Property:Image]] || Defaults to name.png. || <graphicData> | | image || optional || Picture name.png || [[Property:Image]] || Defaults to name.png. || <graphicData> | ||
|- | |- | ||
− | | imagesize || optional, image || px || – || See [https://www.mediawiki.org/wiki/Help:Images#Rendering_a_single_image https://www.mediawiki.org/wiki/Help:Images#Rendering_a_single_image] | + | | imagesize || optional, image || px || – || See [https://www.mediawiki.org/wiki/Help:Images#Rendering_a_single_image https://www.mediawiki.org/wiki/Help:Images#Rendering_a_single_image] || – |
|- | |- | ||
− | | audio || optional || Audio name.wav || [[Property:Audio]] || So far only used for | + | | audio || optional || Audio name.wav || [[Property:Audio]] || So far only used for musical instruments. || <soundPlayInstrument> |
|- | |- | ||
− | | description || optional || text | + | | description || optional || text || In-game description of the item. || <description> |
|- | |- | ||
! colspan="6" style="text-align:left;" | 2. Base Stats | ! colspan="6" style="text-align:left;" | 2. Base Stats | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
! colspan="6" style="text-align:left;" | 3. Building | ! colspan="6" style="text-align:left;" | 3. Building | ||
− | |||
− | |||
|- | |- | ||
! colspan="6" style="text-align:left;" | 4. Apparel | ! colspan="6" style="text-align:left;" | 4. Apparel | ||
Line 442: | Line 372: | ||
|- | |- | ||
! colspan="6" style="text-align:left;" | 9. Medical | ! colspan="6" style="text-align:left;" | 9. Medical | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
! colspan="6" style="text-align:left;" | 10. Plant Stats | ! colspan="6" style="text-align:left;" | 10. Plant Stats |