Editing User:Harakoni/Sandbox
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 4: | Line 4: | ||
https://www.mediawiki.org/wiki/Manual:Purge | https://www.mediawiki.org/wiki/Manual:Purge | ||
− | + | == Leg CR vs Leg HSMG == | |
+ | {{#vardefine: string | {{Weapon DPS Iterator|Heavy SMG|{{lc:Legendary}}|{{{3|1}}}}} }}{{#vardefine: y | {{#explode: {{#var: string }} | && |1 }} }}{{#vardefine: string | {{Weapon DPS Iterator|Charge rifle|{{lc:Legendary}}|{{{3|1}}}}} }} | ||
− | + | {{GraphChart|width=400 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#vardefine: x | {{#explode: {{#var: string }} | && |0 }} }} | {{#vardefine: x | {{#explode: {{#var: string }} | && |0 }} }} | ||
{{#vardefine: y2 | {{#explode: {{#var: string }} | && |1 }} }} | {{#vardefine: y2 | {{#explode: {{#var: string }} | && |1 }} }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|height=200 | |height=200 | ||
|type=line | |type=line | ||
Line 112: | Line 19: | ||
|yAxisMin = 1 | |yAxisMin = 1 | ||
|yAxisMax = {{#ifeq: {{Q|{{{1|}}}|Maximum DPS}}|100|100|30}} | |yAxisMax = {{#ifeq: {{Q|{{{1|}}}|Maximum DPS}}|100|100|30}} | ||
− | |yAxisTitle= DPS | + | |yAxisTitle=DPS |
|x= {{#var: x}} | |x= {{#var: x}} | ||
|y1= {{#var: y}} | |y1= {{#var: y}} | ||
|y2= {{#var: y2}} | |y2= {{#var: y2}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | |||
− | |||
− | |||
==Nutrition math sanity check== | ==Nutrition math sanity check== | ||
Line 149: | Line 46: | ||
{{#expr: {{Q|Horse|Meat Yield}}*0.05}} | {{#expr: {{Q|Horse|Meat Yield}}*0.05}} | ||
− | == | + | == Image displays == |
− | + | {| class="wikitable" | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {| | ||
− | |||
|- | |- | ||
− | + | | [[File:8 hospital beds compact.png|thumb|thumb]] || thumb | |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | + | | [[File:8 hospital beds compact.png|frame|frame]] || frame | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | + | | [[File:8 hospital beds compact.png|frameless|frameless]] || frameless | |
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | | | ||
|- | |- | ||
+ | | [[File:8 hospital beds compact.png|none|none]] || none | ||
+ | |} | ||
+ | == Animal infobox builder test == | ||
+ | <pre>{{#invoke:DefInfo|query|Races|Hare|description}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | Questions for Dr Strangelove: | ||
+ | *How would I go about getting the AnimalAdult number from lifeStageAges | ||
+ | *How do I get all the different attacks when they're not numbered? Both how do I test for their existiance and then how do I get the data from it. | ||
+ | *How do I get litter size? | ||
+ | *tradeTags returns as table? | ||
+ | Questions for me: | ||
+ | *How do I convert diet into wiki legible - just use a switch? | ||
+ | *Even if I get litter size, how do I convert it to wiki readable? Take the largest value, check if its equal to the round 0 version of itself, and then if it isn't +1? | ||
− | + | {{#vardefine: animalName | Rhinoceros}} | |
− | + | <nowiki>{{infobox main|animal|</nowiki> | |
− | |||
− | |||
− | |||
− | |||
+ | |name = {{#var: animalName}} | ||
− | + | |image = Rhinoceros.png | |
− | | | ||
− | |||
− | |||
− | + | |description = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|description}} | |
− | | | ||
− | |||
+ | |type = Animals | ||
− | + | |type2 = Wild | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | |bodysize = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseBodySize}} | ||
− | + | |healthscale = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseHealthScale}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
+ | |movespeed = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|MoveSpeed}} | ||
− | + | |attack1dmg = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseBodySize}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | |attack1type = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseBodySize}} | ||
− | + | |attack1part = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseBodySize}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
+ | |attack1cool = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseBodySize}} | ||
− | + | |attack2dmg = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseBodySize}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
+ | |attack2type = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseBodySize}} | ||
− | + | |attack2part = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseBodySize}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
+ | |attack2cool = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseBodySize}} | ||
− | + | |leathername = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|leatherDef}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
+ | |leatheryield = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|LeatherAmount}} | ||
− | + | |manhunter = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|manhunterOnDamageChance}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
+ | |manhuntertame = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|manhunterOnTameFailChance}} | ||
− | + | |hungerrate = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseHungerRate}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
+ | |diet = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|foodType}} | ||
− | + | |trainable = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|trainability}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
+ | |wildness = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|wildness}} | ||
− | + | |gestation = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|gestationPeriodDays}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
+ | |offspring = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|litterSizeCurve}} | ||
− | + | |maturityage = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|lifeStageAges}} | |
− | | | ||
− | |||
− | |||
− | | | ||
− | |||
+ | |marketvalue = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|MarketValue}} | ||
− | + | |lifespan = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|lifeExpectancy}} | |
− | | | ||
− | |||
− | |||
− | + | |massadult = {{#expr: {{#invoke:DefInfo|query|Races|{{#var: animalName}}|baseBodySize}}*60}} | |
− | | | + | |min comfortable temperature = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|ComfyTemperatureMin}} |
− | |||
+ | |max comfortable temperature = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|ComfyTemperatureMax}} | ||
− | + | |tradeTags = {{#invoke:DefInfo|query|Races|{{#var: animalName}}|tradeTags}} | |
− | | | ||
− | |||
− | |||
− | |||
− | |||
+ | |page verified for version = {{Current Version}} | ||
− | + | }}</pre> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Loop== | ==Loop== | ||
Line 370: | Line 150: | ||
== remove linkng== | == remove linkng== | ||
− | {{#vardefine:linkingtest | [[ | + | {{#vardefine:linkingtest | [[100]] }} |
{{#var:linkingtest}} | {{#var:linkingtest}} | ||
Line 378: | Line 158: | ||
{{#replace:{{#explode:{{#var:linkingtest}}|{{!}}|1}}|]|}} | {{#replace:{{#explode:{{#var:linkingtest}}|{{!}}|1}}|]|}} | ||
− | {{#replace:{{#explode: [[ | + | {{#replace:{{#explode: [[100]] |{{!}}|1}}|]|}} |
==MBOX== | ==MBOX== | ||
Line 426: | Line 206: | ||
*[[Persona plasmasword|{{#ifexist:Persona plasmasword|<span style="color:FFEE1D;">This page exists.</span>|This page does not exist.}}]] | *[[Persona plasmasword|{{#ifexist:Persona plasmasword|<span style="color:FFEE1D;">This page exists.</span>|This page does not exist.}}]] | ||
− | *[[ | + | *[[Persona fishstick|{{#ifexist:Persona fishstick|<span style="color:FFEE1D;">This page exists.</span>|This page does not exist.}}]] |
== Animal nutrition table == | == Animal nutrition table == | ||
Line 442: | Line 222: | ||
|} | |} | ||
</li><div> | </li><div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
==Animal DPS== | ==Animal DPS== | ||
Line 871: | Line 646: | ||
==Asks== | ==Asks== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#ask: [[Name::Fine carpet||Gold tile||Silver tile||Fine stone tile||Hex tile||Spikecore plates||Totemic boards||Morbid stone tile||Spikecore stone tile||Totemic stone tile||Morbid carpet||Hex carpet||Mindbend carpet]]}} | {{#ask: [[Name::Fine carpet||Gold tile||Silver tile||Fine stone tile||Hex tile||Spikecore plates||Totemic boards||Morbid stone tile||Spikecore stone tile||Totemic stone tile||Morbid carpet||Hex carpet||Mindbend carpet]]}} | ||
Line 933: | Line 701: | ||
{{#ask: | {{#ask: | ||
[[Name::~*econ*]] OR [[Name::~*ataphract*]] OR [[Name::~*arine*]] | [[Name::~*econ*]] OR [[Name::~*ataphract*]] OR [[Name::~*arine*]] | ||
− | + | {{{query|}}} | |
| ?# = Name | | ?# = Name | ||
| ?Image | | ?Image | ||
Line 1,105: | Line 873: | ||
|} | |} | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |