Editing Template:Infobox main
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 41: | Line 41: | ||
{{#if: {{{stuff category|}}} | | {{#if: {{{stuff category|}}} | | ||
− | {{#if: {{#var:setProperty}} | | + | {{#if: {{#var:setProperty}} | {{#set:Stuff Category = {{{stuff category|}}} }} }} |
− | + | ;Stuff Category | |
− | + | :{{{stuff category|}}} | |
− | + | }} | |
− | |||
− | |||
− | |||
− | :{{{stuff category| | ||
− | |||
− | |||
− | |||
− | |||
{{#if: {{{tech level|}}} | | {{#if: {{{tech level|}}} | | ||
Line 266: | Line 258: | ||
{{#if: {{#var:setProperty}} | {{#set:Light Radius = {{#var:LightRadius}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Light Radius = {{#var:LightRadius}} }} }} | ||
;<abbr title="The furthest away a tile can be before it falls below 30% light">Light Radius</abbr> | ;<abbr title="The furthest away a tile can be before it falls below 30% light">Light Radius</abbr> | ||
− | :{{#expr:{{#var:LightRadius}} round 2}} | + | :{{#expr:{{#var:LightRadius}} round 2}} |
− | |||
}} | }} | ||
Line 713: | Line 704: | ||
}} | }} | ||
− | {{# | + | {{#ifeq:{{#expr:{{#ifeq:{{{type|}}}|Animals|1|0}} or {{#ifeq:{{{type|}}}|Animal|1|0}} }}|1| |
− | + | {{#vardefine: MeatName | {{{meatname | {{#var:Name}} meat}}} }} | |
− | + | {{#vardefine: LeatherName | {{{leathername | {{#var:Name}} leather}}} }} | |
− | + | {{#if: {{{is exotic species|}}} | {{#if: {{#var:setProperty}} | {{#set:Is Exotic Species = true}} }} | {{#if: {{#var:setProperty}} | {{#set:Is Exotic Species = false }} }} }}| | |
− | |||
− | |||
− | |||
− | |||
− | | {{# | ||
}} | }} | ||
− | {{# | + | {{#if: {{#var:LeatherName }} | {{#if: {{#var:setProperty}} | {{#set:Leather Name = {{#var:LeatherName}} }} }} }} |
− | + | ||
− | + | {{#if: {{{bodysize|}}} | | |
<!-- Uses meatyield when set, otherwise interpolates from curve applied to 140*body_size or basemeatamount*bodysize --> | <!-- Uses meatyield when set, otherwise interpolates from curve applied to 140*body_size or basemeatamount*bodysize --> | ||
<!-- See Property:Meat_Yield for details --> | <!-- See Property:Meat_Yield for details --> | ||
− | {{# | + | {{#if:{{#var:MeatName}} | |
− | + | {{#vardefine: MeatYield | {{{meatyield | {{Meat Leather Curve | {{{basemeatamount|140}}} * {{{bodysize|}}} }} }}} }} | |
− | + | {{#if: {{#var:setProperty}} | {{#set:Meat Yield = {{#var:MeatYield}} }} }} | |
;Meat Yield | ;Meat Yield | ||
− | : | + | :{{#var:MeatYield}} [[Meat|{{lc:{{#var:MeatName}} }}]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- Uses leatheryield when set, otherwise interpolates from curve applied to 40*body_size or baseleatheramount*bodysize--> | <!-- Uses leatheryield when set, otherwise interpolates from curve applied to 40*body_size or baseleatheramount*bodysize--> | ||
<!-- See Property:Leather_Yield for details --> | <!-- See Property:Leather_Yield for details --> | ||
− | {{# | + | {{#if: {{#var:LeatherName}} |
− | + | | {{#ifeq: {{#vardefineecho:LeatherYield | {{{leatheryield | {{Meat Leather Curve | {{{baseleatheramount|40}}} * {{{bodysize|}}} }} }}} }} | |
− | + | | 0 | | |
+ | | {{#if: {{#var:setProperty}} | {{#set:Leather Yield = {{#var:LeatherYield}} }} }} | ||
;Leather Yield | ;Leather Yield | ||
:{{#var:LeatherYield}} [[{{#var:LeatherName}}|{{lc:{{#var:LeatherName}} }}]] | :{{#var:LeatherYield}} [[{{#var:LeatherName}}|{{lc:{{#var:LeatherName}} }}]] | ||
− | }} | + | }} }} }} |
{{#if: {{{milk|}}} | | {{#if: {{{milk|}}} | | ||
Line 1,239: | Line 1,207: | ||
<!-- 12. MELEE COMBAT --> | <!-- 12. MELEE COMBAT --> | ||
− | {{#if: {{{attack1dmg|}}}{{{attack1ap|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}{{{attack1chancefactor|}}} {{{attack2dmg|}}}{{{attack2ap|}}}{{{attack2type|}}}{{{attack2part|}}}{{{attack2cool|}}}{{{attack2chancefactor|}}} {{{attack3dmg|}}}{{{attack3ap|}}}{{{attack3type|}}}{{{attack3part|}}}{{{attack3cool|}}}{{{attack3chancefactor|}}} {{{attack4dmg|}}}{{{attack4ap|}}}{{{attack4type|}}}{{{attack4part|}}}{{{attack4cool|}}}{{{attack4chancefactor|}}} {{{attack5dmg|}}}{{{attack5ap|}}}{{{attack5type|}}}{{{attack45art|}}}{{{attack5cool|}}}{{{attack5chancefactor|}}} {{{attack6dmg|}}}{{{attack6ap|}}}{{{attack6type|}}}{{{attack46art|}}}{{{attack6cool|}}}{{{attack6chancefactor|}}} {{{meleeattack1dmg|}}}{{{meleeattack1type|}}}{{{meleeattack1part|}}}{{{meleeattack1cool|}}} {{{MeleeWeaponAverageDPS|}}} {{{MeleeWeaponAverageAP|}}}| | + | {{#if: {{{attack1dmg|}}}{{{attack1ap|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}{{{attack1chancefactor|}}} {{{attack2dmg|}}}{{{attack2ap|}}}{{{attack2type|}}}{{{attack2part|}}}{{{attack2cool|}}}{{{attack2chancefactor|}}} {{{attack3dmg|}}}{{{attack3ap|}}}{{{attack3type|}}}{{{attack3part|}}}{{{attack3cool|}}}{{{attack3chancefactor|}}} {{{attack4dmg|}}}{{{attack4ap|}}}{{{attack4type|}}}{{{attack4part|}}}{{{attack4cool|}}}{{{attack4chancefactor|}}} {{{attack5dmg|}}}{{{attack5ap|}}}{{{attack5type|}}}{{{attack45art|}}}{{{attack5cool|}}}{{{attack5chancefactor|}}} {{{attack6dmg|}}}{{{attack6ap|}}}{{{attack6type|}}}{{{attack46art|}}}{{{attack6cool|}}}{{{attack6chancefactor|}}} {{{mobdamageaverage|}}} {{{mobdamage|}}} {{{meleeattack1dmg|}}}{{{meleeattack1type|}}}{{{meleeattack1part|}}}{{{meleeattack1cool|}}} {{{MeleeWeaponAverageDPS|}}} {{{MeleeWeaponAverageAP|}}}| |
</dl>{{clear}} | </dl>{{clear}} | ||
<p class='subheading' style='height: 1em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>Melee Combat</p> | <p class='subheading' style='height: 1em !important; padding: 0.25em 0 0.5em !important; margin: 0.5em 0 0.5em !important'>Melee Combat</p> | ||
Line 1,372: | Line 1,340: | ||
;Average {{DPS}} | ;Average {{DPS}} | ||
:{{#var:MobAverageDPS}} | :{{#var:MobAverageDPS}} | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{mobdamage|}}} | | ||
+ | {{#if: {{#var:setProperty}} | {{#set:Melee Damage Base = {{{mobdamage|}}} }} }} | ||
+ | ;Damage | ||
+ | :{{{mobdamage|}}} | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{mobdamagetype|}}} | | ||
+ | {{#if: {{#var:setProperty}} | {{#set:Melee Damage Def = {{{mobdamagetype|}}} }} }} | ||
+ | ;Damage Type | ||
+ | :{{{mobdamagetype|}}} | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{mobdamage2|}}} | | ||
+ | {{#if: {{#var:setProperty}} | {{#set:Melee Damage Base = {{{mobdamage2|}}} }} }} | ||
+ | ;Damage | ||
+ | :{{{mobdamage2|}}} | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{mobdamagetype2|}}} | | ||
+ | {{#if: {{#var:setProperty}} | {{#set:Melee Damage Def = {{{mobdamagetype2|}}} }} }} | ||
+ | ;Damage Type | ||
+ | :{{{mobdamagetype2|}}} | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{mobdamage3|}}} | | ||
+ | {{#if: {{#var:setProperty}} | {{#set:Melee Damage Base = {{{mobdamage3|}}} }} }} | ||
+ | ;Damage | ||
+ | :{{{mobdamage3|}}} | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{mobdamagetype3|}}} | | ||
+ | {{#if: {{#var:setProperty}} | {{#set:Melee Damage Def = {{{mobdamagetype3|}}} }} }} | ||
+ | ;Damage Type | ||
+ | :{{{mobdamagetype3|}}} | ||
+ | }} | ||
+ | |||
+ | {{#if: {{{mobdamageaverage|}}} | | ||
+ | {{#if: {{#var:setProperty}} | {{#set:Average Melee Damage = {{{mobdamageaverage|}}} }} }} | ||
}} | }} | ||
Line 1,652: | Line 1,660: | ||
{{#if: {{#var:setProperty}} | {{#set:Psyfocus Cost = {{{psyfocus cost|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Psyfocus Cost = {{{psyfocus cost|}}} }} }} | ||
;Psyfocus Cost | ;Psyfocus Cost | ||
− | : | + | :{{{psyfocus cost|}}} |
}} | }} | ||
Line 1,664: | Line 1,672: | ||
{{#if: {{#var:setProperty}} | {{#set:Casting Time = {{{casting time|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Casting Time = {{{casting time|}}} }} }} | ||
;Casting Time | ;Casting Time | ||
− | : | + | :{{{casting time|}}} |
}} | }} | ||
Line 1,682: | Line 1,690: | ||
{{#if: {{#var:setProperty}} | {{#set:Duration = {{{duration|}}} }} {{#set:Duration Multiplier = {{{duration multiplier|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Duration = {{{duration|}}} }} {{#set:Duration Multiplier = {{{duration multiplier|}}} }} }} | ||
;Duration | ;Duration | ||
− | :{{ticks|{{{duration|}}}}}{{#if: {{{duration multiplier|}}}| | + | :{{ticks|{{{duration|}}}}}{{#if: {{{duration multiplier|}}}| <small>(Modified by {{{duration multiplier|}}})</small>}} |
}} | }} | ||
Line 1,689: | Line 1,697: | ||
;Goodwill Impact | ;Goodwill Impact | ||
:{{{goodwill impact|}}} | :{{{goodwill impact|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||