plugin:rndtxt
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:rndtxt [2021-03-31 17:21] – created andi | plugin:rndtxt [2021-04-01 21:44] – Aleksandr | ||
---|---|---|---|
Line 7: | Line 7: | ||
type : syntax | type : syntax | ||
lastupdate : 2021-03-31 | lastupdate : 2021-03-31 | ||
- | compatible : hogfather | + | compatible : Hogfather, Greebo |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : random | + | tags : random, rpg |
downloadurl: | downloadurl: | ||
Line 22: | Line 22: | ||
This plugin will output one of the given choices at random. Note, that it disables caching for the page to give a new random pick on every page load. | This plugin will output one of the given choices at random. Note, that it disables caching for the page to give a new random pick on every page load. | ||
- | |||
===== Installation ===== | ===== Installation ===== | ||
Line 35: | Line 34: | ||
I love {? | I love {? | ||
</ | </ | ||
+ | |||
+ | You can also put choices one per line: | ||
+ | |||
+ | < | ||
+ | She has {? | ||
+ | dark green| | ||
+ | emerald green| | ||
+ | bright green| | ||
+ | sky blue| | ||
+ | pale blue| | ||
+ | bright blue| | ||
+ | deep blue| | ||
+ | blue-gray| | ||
+ | black| | ||
+ | brown | ||
+ | ?} eyes. | ||
+ | </ | ||
+ | |||
+ | Contents of the random list are not parsed (e.g. they cannot contain wiki links). | ||
+ | |||
+ | ===== Acknowledgements ===== | ||
+ | |||
+ | Development of this plugin was funded by the [[https:// |
plugin/rndtxt.txt · Last modified: 2024-03-25 03:57 by StarArmy