Table of Contents

rndtxt Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" yes
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes

plugin Output a random text choice

Last updated on
2021-03-31
Provides
Syntax
Repository
Source

Tagged with random, rpg

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

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

Separate your choices by the | character and enclose them in {? and ?}. Like this:

I love {?bananas|turtles|big giraffes|you?}!

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 Star Army Roleplaying Community1).