summaryrefslogtreecommitdiff
path: root/ikiwiki/directive/polygen.mdwn
blob: 6c6d360ce63d8412a61598dff8a471c604896565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[[!if test="enabled(polygen)"
  then="In diesem Wiki ist die Direktive: polygen **aktiviert**."
 else="In diesem Wiki ist die Direktive: polygen **nicht aktiv**; falls dies gewünscht wird, den Admin benachrichtigen."]]

---
The `polygen` directive is supplied by the [[!iki plugins/polygen desc=polygen]] plugin.

This directive allows inserting text generated by polygen into a wiki page.
For example:

	\[[!polygen grammar="genius"]]

It's also possible to specify a starting nonterminal for the grammar by
including `symbol="text"` in the directive.

[[!meta robots="noindex, follow"]]