Difference between revisions of "Template:Infobox trait"
Jump to navigation
Jump to search
(test width) |
m |
||
Line 124: | Line 124: | ||
| {{!}} colspan="2" class="infoboxdescription" {{!}} Trait data }} | | {{!}} colspan="2" class="infoboxdescription" {{!}} Trait data }} | ||
|- | |- | ||
− | {{#if: {{{aimingdelayfactor|}}} | {{!}} <div> | + | {{#if: {{{aimingdelayfactor|}}} | {{!}} <div>Aiming delay factor</div> {{!!}} {{{aimingdelayfactor}}} }} |
|- | |- | ||
{{#if: {{{allowedmentalbreaks|}}} | {{!}} <div>Allowed mentalbreaks</div> {{!!}} {{#if:{{#pos: {{{allowedmentalbreaks}}} |,}} | {{#arraymap:{{{allowedmentalbreaks|}}}|,|x|* x|\n}} | {{{allowedmentalbreaks}}} }} }} | {{#if: {{{allowedmentalbreaks|}}} | {{!}} <div>Allowed mentalbreaks</div> {{!!}} {{#if:{{#pos: {{{allowedmentalbreaks}}} |,}} | {{#arraymap:{{{allowedmentalbreaks|}}}|,|x|* x|\n}} | {{{allowedmentalbreaks}}} }} }} | ||
Line 140: | Line 140: | ||
{{#if: {{{marketvaluefactoroffset|}}} | {{!}} <div>Market value</div> {{!!}} {{#expr:{{{marketvaluefactoroffset}}}*100}}% }} | {{#if: {{{marketvaluefactoroffset|}}} | {{!}} <div>Market value</div> {{!!}} {{#expr:{{{marketvaluefactoroffset}}}*100}}% }} | ||
|- | |- | ||
− | {{#if: {{{meleedodgechance|}}} | {{!}} <div> | + | {{#if: {{{meleedodgechance|}}} | {{!}} <div>Melee dodge chance</div> {{!!}} {{{meleedodgechance}}} }} |
|- | |- | ||
− | {{#if: {{{meleehitchance|}}} | {{!}} <div> | + | {{#if: {{{meleehitchance|}}} | {{!}} <div>Melee hit chance</div> {{!!}} {{{meleehitchance}}} }} |
|- | |- | ||
− | {{#if: {{{mentalbreakthreshold|}}} | {{!}} <div> | + | {{#if: {{{mentalbreakthreshold|}}} | {{!}} <div>Mental break threshold</div> {{!!}} {{#expr:{{{mentalbreakthreshold}}}*100}}% }} |
|- | |- | ||
− | {{#if: {{{movespeed|}}} | {{!}} <div> | + | {{#if: {{{movespeed|}}} | {{!}} <div>Move speed</div> {{!!}} {{#expr:{{{movespeed}}}*100}}% }} |
|- | |- | ||
− | {{#if: {{{painshockthreshold|}}} | {{!}} <div> | + | {{#if: {{{painshockthreshold|}}} | {{!}} <div>Pain shock threshold</div> {{!!}} {{#expr:{{{painshockthreshold}}}*100}}% }} |
|- | |- | ||
− | {{#if: {{{psychicsensitivity|}}} | {{!}} <div> | + | {{#if: {{{psychicsensitivity|}}} | {{!}} <div>Psychic sensitivity</div> {{!!}} {{#expr:{{{psychicsensitivity}}}*100}}% }} |
|- | |- | ||
− | {{#if: {{{randomdiseasemtbdays|}}} | {{!}} <div> | + | {{#if: {{{randomdiseasemtbdays|}}} | {{!}} <div>Random disease mtbdays</div> {{!!}} {{{randomdiseasemtbdays}}} }} |
|- | |- | ||
− | {{#if: {{{randommentalstate|}}} | {{!}} <div> | + | {{#if: {{{randommentalstate|}}} | {{!}} <div>Random mental state</div> {{!!}} {{{randommentalstate}}} }} |
|- | |- | ||
− | {{#if: {{{restratemultiplier|}}} | {{!}} <div> | + | {{#if: {{{restratemultiplier|}}} | {{!}} <div>Rest rate multiplier</div> {{!!}} {{#expr:{{{restratemultiplier}}}*100}}% }} |
|- | |- | ||
− | {{#if: {{{shootingaccuracypawn|}}} | {{!}} <div> | + | {{#if: {{{shootingaccuracypawn|}}} | {{!}} <div>Shooting accuracy</div> {{!!}} {{{shootingaccuracypawn}}} }} |
|- | |- | ||
− | {{#if: {{{socialfightchancefactor|}}} | {{!}} <div> | + | {{#if: {{{socialfightchancefactor|}}} | {{!}} <div>Social fight chance factor</div> {{!!}} {{{socialfightchancefactor}}} }} |
|- | |- | ||
− | {{#if: {{{workspeedglobal|}}} | {{!}} <div> | + | {{#if: {{{workspeedglobal|}}} | {{!}} <div>Works peed global</div> {{!!}} {{#expr:{{{workspeedglobal}}}*100}}% }} |
|} | |} | ||
<!-- Auto categories --><!-- | <!-- Auto categories --><!-- |
Revision as of 02:24, 5 August 2019
This template defines the table "Trait". This table has not been created yet.
Usage
{{Infobox trait | name = | defname = | image = | description = | description_markup = <!-- Degree --> | degree = <!-- General --> | commonality = | commonalityfemale = | conflictingtraits = | disabledworktags = | requiredworktags = <!-- Skill gains --> | skillgains1key = | skillgains1value = | skillgains2key = | skillgains2value = <!-- Degree data --> | aimingdelayfactor = | allowedmentalbreaks = | disallowedinspirations = | disallowedmentalstates = | globallearningfactor = | hungerratemultiplier = | immunitygainspeed = | marketvaluefactoroffset = | meleedodgechance = | meleehitchance = | mentalbreakthreshold = | movespeed = | painshockthreshold = | psychicsensitivity = | randomdiseasemtbdays = | randommentalstate = | restratemultiplier = | shootingaccuracypawn = | socialfightchancefactor = | workspeedglobal = }}
The above documentation is transcluded from Template:Infobox trait/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. |