Tags:
create new tag
, view all tags
NOTE: This isa supporting topic for RandomReplacePlugin

RandomReplacePugin rules

This topic lists rules and data used in the RandomReplacePlugin.

Whenever you write ##RuleName## it will be replaced upon save with data from the given rule.

How to define RandomReplacePlugin rules

  • RandomReplacePlugin rules are defined in the table below.
  • Each entry must be of format:
    | Rule Name | Rule Type | Rule Data |.
  • Rule Types are defined as:
    • Data - Replacement text is selected at random from the the colon seperated list entered in the data section.
    • Topic - Replacement text is selected at random from any list element of the Topic given in the data section.
    • File - Replacement text is selected at random from the lines of given file name. File should be attached to this topic

RandomReplacePlugin rules

Howdy Data Hi:Hiya:Howdy:Greetings:Greetings and solicitations
GoodBye Topic TWiki.GoodBye
MonthName File month.txt

Topic revision: r2 - 2005-11-01 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.