Template:Chance to: Difference between revisions

From Space Station 14 Wiki
(docs)
(desc)
 
Line 22: Line 22:
}
}
},
},
"description": "1",
"description": "Describes a chance of something to happen using percentages.",
"paramOrder": [
"paramOrder": [
"1",
"1",

Latest revision as of 14:35, 24 June 2024

Template documentation
view or edit this documentation about template documentation

  • {{Chance to|prob=.3|blow up}} → 30% chance to blow up
  • {{Chance to|prob=1|blow up}} → blow up

Describes a chance of something to happen using percentages.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
What will happen?1

A chance to what?

Example
blow up
Stringrequired
Probabilityprob

A chance of something to happen, from 0 to 1.

Example
0.3
Numberrequired