Difference between revisions of "Template:Define"
Jump to navigation
Jump to search
(moved Template:Obsolete to /doc) |
|||
(84 intermediate revisions by 17 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#set: | + | <includeonly>{{#set: |
− | + | Kind ={{{category|Unknown}}} | |
− | | Color = rgb{{{color|}}} | + | | Color =rgb{{{color|}}} |
− | | Image = [[File:{{BASEPAGENAME}}.png]] | + | | Image =[[File:{{{image|{{BASEPAGENAME}}}}}.png]] |
}}{{#set: | }}{{#set: | ||
− | + | | Name ={{BASEPAGENAME}} | |
− | | | + | | Accuracy (Long) Base ={{{accuracy (long) base|}}} |
− | | | + | | Accuracy (Medium) Base ={{{accuracy (medium) base|}}} |
− | | | + | | Accuracy (Short) Base ={{{accuracy (short) base|}}} |
− | | | + | | Accuracy (Touch) Base ={{{accuracy (touch) base|}}} |
− | | | + | | Addictiveness ={{{addictiveness|}}} |
− | | | + | | Allow Color Generators ={{{allow color generators|}}} |
− | | | + | | Altitude Layer ={{{altitude layer|}}} |
− | | | + | | Always Haulable ={{{always haulable|}}} |
− | | | + | | Appearance ={{{appearance|}}} |
− | | | + | | Armor - Blunt Base ={{{armor - blunt base|}}} |
− | | | + | | Armor - Blunt Factor ={{{armor - blunt factor|}}} |
− | | | + | | Armor - Blunt Offset ={{{armor - blunt offset|}}} |
− | | | + | | Armor - Electric Factor ={{{armor - electric factor|}}} |
− | | | + | | Armor - Electric Offset ={{{armor - electric offset|}}} |
− | | | + | | Armor - Heat Factor ={{{armor - heat factor|}}} |
− | | | + | | Armor - Heat Offset ={{{armor - heat offset|}}} |
− | | | + | | Armor - Sharp Base ={{{armor - sharp base|}}} |
− | | | + | | Armor - Sharp Factor ={{{armor - sharp factor|}}} |
− | | | + | | Armor - Sharp Offset ={{{armor - sharp offset|}}} |
− | | | + | | Beauty Base ={{{beauty base|}}} |
− | | | + | | Beauty Factor ={{{beauty factor|}}} |
− | | | + | | Beauty Offset ={{{beauty offset|}}} |
− | | | + | | Bingus ={{{bingus|}}} |
− | | | + | | Blast Radius ={{{blastRadius|}}} |
− | | | + | | Block Adjacent Sow ={{{block adjacent sow|}}} |
− | | | + | | Blood Filtration Factor ={{{blood filtration factor|}}} |
− | | | + | | Blood Filtration Offset ={{{blood filtration offset|}}} |
− | | | + | | Blood Pumping Factor ={{{blood pumping factor|}}} |
− | | | + | | Blood Pumping Offset ={{{blood pumping offset|}}} |
− | | | + | | Breathing Factor ={{{breathing factor|}}} |
− | | | + | | Breathing Offset ={{{breathing offset|}}} |
− | | | + | | Burst Count ={{{burst|}}} |
− | | | + | | Burst Ticks ={{{burstTicks||}}} |
− | | | + | | Category ={{{category|}}} |
− | | | + | | Commonality ={{{commonality|}}} |
− | | | + | | Consciousness Factor ={{{consciousness factor|}}} |
− | | | + | | Consciousness Offset ={{{consciousness offset|}}} |
− | | | + | | Construct Effect ={{{construct effect|}}} |
− | | | + | | Days To Start Rot Base ={{{days to rot|}}} |
− | | | + | | Def Name ={{{def name|}}} |
− | | | + | | Default Color ={{{default color|}}} |
− | | | + | | Default Color Two ={{{default color two|}}} |
− | | | + | | Description ={{{description|}}} |
− | | | + | | Destroy On Drop ={{{destroy on drop|}}} |
− | | | + | | Deterioration Rate Base ={{{deterioration rate base|}}} |
− | | | + | | Die If Leafless ={{{die if leafless|}}} |
− | | | + | | Door Opening Speed Factor ={{{door opening speed factor|}}} |
− | | | + | | DPS ={{{DPS|}}} |
− | + | | Draw Gui Overlay ={{{draw gui overlay|}}} | |
+ | | Drawer Type ={{{drawer type|}}} | ||
+ | | Drug Category ={{{drug category|}}} | ||
+ | | E Type ={{{e type|}}} | ||
+ | | Eat Effect ={{{eat effect|}}} | ||
+ | | Equipment Type ={{{equipment type|}}} | ||
+ | | Equipped Angle Offset ={{{equipped angle offset|}}} | ||
+ | | Equipped Texture Path ={{{equipped texture path|}}} | ||
+ | | Fertility ={{{fertility|}}} | ||
+ | | Fertility Factor Plant Chance ={{{fertility factor plant chance|}}} | ||
+ | | Fertility Min ={{{fertility min|}}} | ||
+ | | Fertility Sensitivity ={{{fertility sensitivity|}}} | ||
+ | | Fill Percent ={{{fill percent|}}} | ||
+ | | Flammability Base ={{{flammability base|}}}{{{flammability|}}} | ||
+ | | Flammability Factor ={{{flammability factor|}}} | ||
+ | | Food Preference ={{{food preference|}}} | ||
+ | | Global Work Speed Offset ={{{global work speed offset|}}} | ||
+ | | Graphic Class ={{{graphic class|}}} | ||
+ | | Graphic On Ground Random Rotate Angle ={{{graphic on ground random rotate angle|}}} | ||
+ | | Graphic Overdraw ={{{graphic overdraw|}}} | ||
+ | | Graphic Path ={{{graphic path|}}} | ||
+ | | Graphic Shader Type ={{{graphic shader type|}}} | ||
+ | | Grow Days ={{{grow days|}}} | ||
+ | | Grow Min Glow ={{{grow min glow|}}} | ||
+ | | Harvest Destroys ={{{harvest destroys|}}} | ||
+ | | Harvest Min Growth ={{{harvest min growth|}}} | ||
+ | | Harvest Tag ={{{harvest tag|}}} | ||
+ | | Harvest Work ={{{harvest work|}}} | ||
+ | | Harvest Yield ={{{harvest yield|}}} | ||
+ | | Harvest Yield Range Max ={{{harvest yield range max|}}} | ||
+ | | Harvest Yield Range Min ={{{harvest yield range min|}}} | ||
+ | | Harvested Thing Def ={{{harvested thing def|}}} | ||
+ | | Hearing Factor ={{{hearing factor|}}} | ||
+ | | Hearing Offset ={{{hearing offset|}}} | ||
+ | | Hide At Snow Depth ={{{hide at snow depth|}}} | ||
+ | | Hunger Factor ={{{hunger factor|}}} | ||
+ | | Hunger Offset ={{{hunger offset|}}} | ||
+ | | Ingested Direct Thought ={{{ingested direct thought|}}} | ||
+ | | Insulation - Cold Factor ={{{insulation - cold factor|}}} | ||
+ | | Insulation - Heat Factor ={{{insulation - heat factor|}}} | ||
+ | | Is Body Part ={{{is body part|}}} | ||
+ | | Is Pleasure Drug ={{{is pleasure drug|}}} | ||
+ | | Joy ={{{joy|}}} | ||
+ | | Joy Offset ={{{joy offset|}}} | ||
+ | | Joy Kind ={{{joy kind|}}} | ||
+ | | Label ={{{label|}}} | ||
+ | | Leafless Graphic Path ={{{leafless graphic path|}}} | ||
+ | | Lifespan ={{{lifespan|}}} | ||
+ | | Lifespan Fraction ={{{lifespan fraction|}}} | ||
+ | | Light Requirement ={{{light requirement|}}} | ||
+ | | Manipulation Factor ={{{manipulation factor|}}} | ||
+ | | Manipulation Offset ={{{manipulation offset|}}} | ||
+ | | Market Value Base ={{{market value base|}}} | ||
+ | | Market Value Factor ={{{market value factor|}}} | ||
+ | <!-- The following function is broken, disabling until it's fixed or deleted. | ||
+ | | Mass Base={{{mass|{{#switch:{{BASEPAGENAME}}|{{Define/Mass|page}}|#default={{#switch:{{{1}}}|{{Define/Mass|category}}}}}}}}} | ||
+ | --> | ||
+ | | Mass Base={{{mass|}}} | ||
+ | | Max Hit Points Base ={{{max hit points base|}}} | ||
+ | | Max Hit Points Factor ={{{max hit points factor|}}} | ||
+ | | Max Mesh Count ={{{max mesh count|}}} | ||
+ | | Max Num To Ingest At Once ={{{max num to ingest at once|}}} | ||
+ | | Maximum Comfortable Temperature Base ={{{maximum comfortable temperature base|}}} | ||
+ | | Medical Potency Base ={{{medical potency base|}}} | ||
+ | | Melee Blunt Damage Base ={{{melee blunt damage base|}}} | ||
+ | | Melee Blunt Damage Factor ={{{melee blunt damage factor|}}} | ||
+ | | Melee Cooldown Base ={{{melee cooldown base|}}} | ||
+ | | Melee Cooldown Factor ={{{melee cooldown factor|}}} | ||
+ | | Melee Damage Base ={{{melee damage base|}}} | ||
+ | | Melee Sharp Damage Base ={{{melee sharp damage base|}}} | ||
+ | | Melee Sharp Damage Factor ={{{melee sharp damage factor|}}} | ||
+ | | Metabolism Factor ={{{metabolism factor|}}} | ||
+ | | Metabolism Offset ={{{metabolism offset|}}} | ||
+ | | Minimum Comfortable Temperature Base ={{{minimum comfortable temperature base|}}} | ||
+ | | Minimum Required Cooking Skill ={{{minimum required cooking skill|}}} | ||
+ | | Minimum Required Crafting Skill ={{{minimum required crafting skill|}}} | ||
+ | | Minimum Required Growing Skill ={{{minimum required growing skill|}}} | ||
+ | | Minimum Required Medicine Skill ={{{minimum required medicine skill|}}} | ||
+ | | Miss Radius ={{{missRadius|}}}| | ||
+ | | Mode ={{{mode|}}} | ||
+ | | Mood Offset ={{{mood offset|}}} | ||
+ | | Move Speed Base ={{{move speed base|}}} | ||
+ | | Moving Factor ={{{moving factor|}}} | ||
+ | | Moving Offset ={{{moving offset|}}} | ||
+ | | Never Multi Select ={{{never multi select|}}} | ||
+ | | Nutrition ={{{nutrition|}}} | ||
+ | | Nutrition per Day ={{{nutrition per day|}}} | ||
+ | | Nutrition per Day (70) ={{{nutrition per day (70)|}}} | ||
+ | | Nutrition per Day (140) ={{{nutrition per day (140)|}}} | ||
+ | | Nutrition per Day (280) ={{{nutrition per day (280)|}}} | ||
+ | | On Ground Random Rotate Angle ={{{on ground random rotate angle|}}} | ||
+ | | Pain Factor ={{{pain factor|}}} | ||
+ | | Pain Offset ={{{pain offset|}}} | ||
+ | | Parent Name ={{{parent name|}}} | ||
+ | | Passability ={{{passability|}}} | ||
+ | | Path Cost ={{{path cost|}}} | ||
+ | | Preferability ={{{preferability|}}} | ||
+ | | Quest Item ={{{quest item|}}} | ||
+ | | Range ={{{range|}}} | ||
+ | | Ranged Cooldown Base ={{{ranged cooldown base|}}} | ||
+ | | Real Grow Days ={{{real grow days|}}} | ||
+ | | Resource Readout Always Show ={{{resource readout always show|}}} | ||
+ | | Resource Readout Priority ={{{resource readout priority|}}} | ||
+ | | Rest Effectiveness Factor ={{{rest effectiveness factor|}}} | ||
+ | | Rest Factor ={{{rest factor|}}} | ||
+ | | Rest Fall Factor ={{{rest fall factor|}}} | ||
+ | | Rest Offset ={{{rest offset|}}} | ||
+ | | Rotatable ={{{rotatable|}}} | ||
+ | | Seed Emit Mtb Days ={{{seed emit mtb days|}}} | ||
+ | | Seed Shoot Radius ={{{seed shoot radius|}}} | ||
+ | | Selectable ={{{selectable|}}} | ||
+ | | Sell Price Multiplier Base ={{{sell price multiplier base|}}} | ||
+ | | Shader Type ={{{shader type|}}} | ||
+ | | Shoots Seeds ={{{shoots seeds|}}} | ||
+ | | Sight Factor ={{{sight factor|}}} | ||
+ | | Sight Offset ={{{sight offset|}}} | ||
+ | | Slag Def ={{{slag def|}}} | ||
+ | | Small Volume ={{{small volume|}}} | ||
+ | | Social Properness Matters ={{{social properness matters|}}} | ||
+ | | Sound Drop ={{{sound drop|}}} | ||
+ | | Sound Eat ={{{sound eat|}}} | ||
+ | | Sound Harvest Finish ={{{sound harvest finish|}}} | ||
+ | | Sound Harvesting ={{{sound harvesting|}}} | ||
+ | | Sound Impact Default ={{{sound impact default|}}} | ||
+ | | Sound Impact Stuff ={{{sound impact stuff|}}} | ||
+ | | Sound Interact ={{{sound interact|}}} | ||
+ | | Sound Melee Hit Blunt ={{{sound melee hit blunt|}}} | ||
+ | | Sound Melee Hit Sharp ={{{sound melee hit sharp|}}} | ||
+ | | Sow Tag Decorative ={{{sow tag decorative|}}} | ||
+ | | Sow Tag Ground ={{{sow tag ground|}}} | ||
+ | | Sow Tag Hydroponic ={{{sow tag hydroponic|}}} | ||
+ | | Sow Work ={{{sow work|}}} | ||
+ | | Stack Limit ={{{stack limit|}}} | ||
+ | | Stuff Adjective ={{{stuff adjective|}}} | ||
+ | | Talking Factor ={{{talking factor|}}} | ||
+ | | Talking Offset ={{{talking offset|}}} | ||
+ | | Target Hit Chance Factor ={{{target hit chance factor|}}} | ||
+ | | Taste ={{{taste|}}} | ||
+ | | Tech Level ={{{tech level|}}} | ||
+ | | Terrain Affordance Needed = {{{terrain affordance needed|}}} | ||
+ | | Thing Class ={{{thing class|}}} | ||
+ | | Ticker Type ={{{ticker type|}}} | ||
+ | | Tooltip ={{{tooltip|}}} | ||
+ | | Top Wind Exposure ={{{top wind exposure|}}} | ||
+ | | Trade Never Stack ={{{trade never stack|}}} | ||
+ | | Tradeability ={{{tradeability|}}} | ||
+ | | Type ={{{type|}}} | ||
+ | | Type2 ={{{type2|}}} | ||
+ | | Ui Icon Path ={{{ui icon path|}}} | ||
+ | | Use Hit Points ={{{use hit points|}}} | ||
+ | | Visual Size Max ={{{visual size max|}}} | ||
+ | | Visual Size Min ={{{visual size min|}}} | ||
+ | | Visual Size Range Max ={{{visual size range max|}}} | ||
+ | | Visual Size Range Min ={{{visual size range min|}}} | ||
+ | | Volume = {{{volume|}}} | ||
+ | | Walk Speed ={{{walk speed|}}} | ||
+ | | Wild Cluster Radius ={{{wild cluster radius|}}} | ||
+ | | Wild Cluster Size Max ={{{wild cluster size max|}}} | ||
+ | | Wild Cluster Size Min ={{{wild cluster size min|}}} | ||
+ | | Wild Commonality Max Fraction ={{{wild commonality max fraction|}}} | ||
+ | | Work To Make ={{{work to make base|}}} | ||
+ | | Work To Make Base ={{{work to make base|}}} | ||
+ | | Work To Make Factor ={{{work to make factor|}}} | ||
+ | | Work To Make Offset ={{{work to make offset|}}} | ||
+ | | Work To Build Factor ={{{work to build factor|}}} | ||
+ | | Work To Build Offset ={{{work to build offset |}}} | ||
+ | }}{{ {{{1}}} }}</includeonly><noinclude> | ||
+ | {{documentation}} | ||
+ | </noinclude> |
Latest revision as of 11:45, 24 April 2022
Template:Define has been deprecated or removed from the wiki; it is no longer updated or in use. 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. |
Description[edit]
This template defines the stats for an item that, after a long and confusing chain of transclusions, will end up in Template:Infobox/Thing. It's usage is just like other Infobox templates, but for the first parameter you have to type either Drug, Medicine, Material, Meal, Exotic Item or Textile. Most parameters are optional. Note: Some stats may no longer have any effect on the infobox.
Keywords[edit]
base = write in decimal form about a base stat.
factor = how many times your item affects something, eg. 2.5 would show on the Infobox: 2.5x
offset = add a + or - to say how much using this item will offset a stat
Detailed Usage[edit]
{{Define | (Drug/Medicine/Material/Meal/Textile/Exotic Item) | category = Category of the item. | image = Define a specific image name to be used in the Infobox. Not needed if the image name is the same as the page name. | accuracy (long) base = | accuracy (medium) base = | accuracy (short) base = | accuracy (touch) base = | armor - (blunt/sharp) base = no prefix or suffix | armor - (blunt/electric/heat/sharp) factor/offset = x prefix | beauty base/factor/offset = | blood filtration factor/offset = | blood pumping factor/offset = | breathing factor/offset = | consciousness factor/offset = | days to rot = (base) | description = the description in-game about the object | deterioration rate base = | door opening speed factor = | equipped angle offset = | flammability base/factor = | global work speed offset = | hearing factor/offset = | hunger factor/offset = | insulation - cold factor = | insulation - heat factor = | joy offset = | manipulation factor/offset = | market value base/factor = | mass = (base) | max hit points base = | max hit points factor = | maximum comfortable temperature base = | medical potency base = | melee blunt damage base = | melee cooldown base/factor = | melee damage base = | melee sharp damage base = | metabolism factor/offset = | minimum comfortable temperature base = | move speed base = | moving factor/offset = | pain factor/offset = | ranged cooldown base = | rest effectiveness factor = | rest factor/offset= | sell price multiplier base = | sight factor/offset = | stack limit = | talking factor/offset = | taste = | type = | type2 = | target hit chance factor = | work to make base/factor/offset = | work to build factor/offset = }}
The above documentation is transcluded from Template:Define/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |