Difference between revisions of "Template:Infobox trait"
Jump to navigation
Jump to search
(Created page with "<noinclude><!-- Cargo declare section --> {{#cargo_declare:_table = Trait | name = String | defname = String <!-- Technical name --> |...") |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 92: | Line 92: | ||
! colspan="2" class="infoboxname" | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} | ! colspan="2" class="infoboxname" | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }} | ||
|- | |- | ||
− | ! colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}]] | [[File: | + | ! colspan="2" | {{#if: {{{image|}}} | [[File:{{{image}}}]] | [[File:Ambox deletion.png|link=]]{{#ifeq: {{NAMESPACE}} | 0 | [[Category:Image wanted]]}} }} |
|- | |- | ||
| colspan="2" | {{#if: {{{description|}}} | ''{{{description}}}'' }} | | colspan="2" | {{#if: {{{description|}}} | ''{{{description}}}'' }} | ||
Line 99: | Line 99: | ||
| {{!}} colspan="2" class="infoboxdescription" {{!}} Degree }} | | {{!}} colspan="2" class="infoboxdescription" {{!}} Degree }} | ||
|- | |- | ||
− | {{#if: {{{degree|}}} | {{!}} <div>Degree</div> {{!!}} Tier {{{degree}}} }} | + | {{#if: {{{degree|}}} | {{!}} width=50% {{!}} <div>Degree</div> {{!!}} width=50% {{!}} Tier {{{degree}}} }} |
|- | |- | ||
{{#if: {{{commonality|}}} {{{commonalityfemale|}}} {{{conflictingtraits|}}} {{{disabledworktags|}}} {{{requiredworktags|}}} | {{#if: {{{commonality|}}} {{{commonalityfemale|}}} {{{conflictingtraits|}}} {{{disabledworktags|}}} {{{requiredworktags|}}} | ||
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>Work speed global</div> {{!!}} {{#expr:{{{workspeedglobal}}}*100}}% }} |
|} | |} | ||
<!-- Auto categories --><!-- | <!-- Auto categories --><!-- |
Latest revision as of 12:24, 10 March 2022
This template defines the table "Trait". This table has not been created yet.
Usage[edit]
{{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. |