DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:rndtxt

This is an old revision of the document!


rndtxt Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" yes
  • 2018-04-22 "Greebo" unknown
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown

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?}!

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).

plugin/rndtxt.1617223529.txt.gz · Last modified: 2021-03-31 22:45 by StarArmy