You are here: IRS>System Web>Macros>VarRENDERZONE (07 May 2010, DonBarry)

RENDERZONE

%RENDERZONE{"zone" ...}%

  • zone: required, name of the zone to be expanded
  • header: optional, prefix format string
  • format: optional, format string for each item added to the zone, defaults to $item, any standard escapes like $percnt, $dollar etc can be used to delay evaluation order of the format parameter
  • chomp: removed leading and trailing whitespace in formatted items, useful to pretty-print them one per line
  • footer: optional, suffix format string
  • separator: optional, put between each item of a zone

Note, that you can create as many zones as you like. The plugin does not restrict you to use it only for body and head. Interesting use cases in wiki applications:

  • create a sidebar zone to add widgets
  • create a toolbar zone to add buttons icons

See also VarADDTOZONE

 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding IRS? Send feedback