Revision 1 - 2009-02-07 at 23:03:32

h1. Plugin invocation syntax

How should plugins be invoked in wiki text? What should be the markup

h2. Consensus

  • syntaxes that require one line, such as


are not a good idea because sooner or later we'll need a plugin invoked in enclosing formatting for which line breaks may be significant (e.g. a plugin in a table, or even this list)

  • symmetric separators are preferred over the same separator: {{plugin}} over @!plugin!@

h2. Proposals

  • {{ plugin(param1, param2, ...) }} - MediaWiki Syntax, familiar to the Wiki community
  • [% plugin(param1, param2, ...) %] - template toolkit syntax, familiar to the Catalyst community
  • - XML syntax
My tags:
Popular tags:
Powered by Catalyst