Template:Chance/doc

This template adds a standard tooltip to a string of text. If a standard probability keyword (see Events) is used, the tooltip will specify the success rate associated with that keyword.

Possible values

 * Guaranteed
 * Almost certain
 * Reasonable
 * Risky
 * Unlikely
 * Desperate
 * Impossible

Colon shorthand
You can also pass a colon as an optional second argument to have this template display "Chance: " before the keyword. This is useful as a shorthand inside definition terms, like those used by, where plain-text colons start a new definition and replacements such as would otherwise need to be used. Compare and see how the second entry fails with a plain-text colon:
 * Jump over the chasm.
 * You fall.


 * Jump over the chasm. (Chance: )
 * You fall.


 * Jump over the chasm.
 * You fall.


 * Jump over the chasm. (Chance: )
 * You fall.

{	"params": { "1": {			"label": "Keyword", "description": "Probability keyword (see Events#Chances) for options", "example": "Risky", "type": "string", "required": true },		"2": {			"label": "Colon shorthand", "description": "Adds \"Chance: \" before the keyword for walkthrough choices, e.g. \"Chance: Risky\"", "example": ":", "type": "string", "suggested": true }	},	"description": "Adds a tooltip to a probability keyword to specify the success rates associated with that keyword.", "format": "inline", "paramOrder": [ "1",		"2"	] }