The IfInsertPagePlugin plugin is a NeWikiPlugin that conditionally inserts a page. This uses the parameters of the org.apache.wiki.plugin.IfPlugin to make a decision on whether or not to insert a page.
Because the page parameter names is used by both plugins, the page to be inserted instead uses pagename. For details on usage, see the IfPlugin documentation.
Example#
To insert a page "MondaySchedule" if a given page "TestPage" contains specific content, use
[{If page='TestPage' contains='Monday' insert='MondaySchedule' }]
Note: the difference between "contains" and "is" is that "is" is always an exact match, whereas "contains" just checks if a regular expression pattern matches.