"name" or%BR% theme="name" |
Select a rendering theme |
focus="any text" |
Focus list on a bullet with specified text |
depth="2" |
Remove bullets with an indent greater then the depth. The depth is relative to the highlighted bullet in case focus is specified |
**\***
bullets
- Start with level one
- Increase indentation only one level at a time
- `Like this`
- Decreasing indentation many levels at a time is OK
- Wrap long text with continuation lines, the Plugin does not do that for you%BR% `Align continuation lines with leading spaces like this`
- You can specify an icon for a bullet of render type **tree** or **icon**:
- Attach the icon to this Plugin topic, e.g. `myicon.gif`, or
- Use one of the existing icons: ![globe.gif](http://www.dementia.org/twiki//view/globe.gif) `globe.gif`, ![home.gif](http://www.dementia.org/twiki//view/home.gif) `home.gif`, ![virtualhome.gif](http://www.dementia.org/twiki//view/virtualhome.gif) `virtualhome.gif`, ![group.gif](http://www.dementia.org/twiki//view/group.gif) `group.gif`, ![persons.gif](http://www.dementia.org/twiki//view/persons.gif) `persons.gif`, ![virtualpersons.gif](http://www.dementia.org/twiki//view/virtualpersons.gif) `virtualpersons.gif`, ![person.gif](http://www.dementia.org/twiki//view/person.gif) `person.gif`, ![virtualperson.gif](http://www.dementia.org/twiki//view/virtualperson.gif) `virtualperson.gif`, ![email.gif](http://www.dementia.org/twiki//view/email.gif) `email.gif`, ![trend.gif](http://www.dementia.org/twiki//view/trend.gif) `trend.gif`, ![folder.gif](http://www.dementia.org/twiki//view/folder.gif) `folder.gif`, ![folders.gif](http://www.dementia.org/twiki//view/folders.gif) `folders.gif`, ![file.gif](http://www.dementia.org/twiki//view/file.gif) `file.gif`, ![files.gif](http://www.dementia.org/twiki//view/files.gif) `files.gif`, ![doc.gif](http://www.dementia.org/twiki//view/doc.gif) `doc.gif`, ![image.gif](http://www.dementia.org/twiki//view/image.gif) `image.gif`, ![pdf.gif](http://www.dementia.org/twiki//view/pdf.gif) `pdf.gif`, ![ppt.gif](http://www.dementia.org/twiki//view/ppt.gif) `ppt.gif`, ![sound.gif](http://www.dementia.org/twiki//view/sound.gif) `sound.gif`, ![xls.gif](http://www.dementia.org/twiki//view/xls.gif) `xls.gif`, ![zip.gif](http://www.dementia.org/twiki//view/zip.gif) `zip.gif`, ![see.gif](http://www.dementia.org/twiki//view/see.gif) `see.gif`
- Refer to an attached icon at the beginning of the bullet with:
- `icon:myicon Followed by normal bullet text`
- Any [[TWikiDocGraphics]] icon can be used as well:
- `%ICON{name}% Followed by normal bullet text`
## Examples
You type: | You get: (simulated) | You get: (if installed) | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
%RENDERLIST{"thread"}% * one * one.a * one.a.x * one.b * one.b.x continue * one.b.y * icon:person Tim * icon:person Mico * two * three |
|
%RENDERLIST{"thread"}%
|
||||||||||||||||||||||||||||||||||||||||
%RENDERLIST{"org"}% * one * one.a * one.a.x * one.b * one.b.x continue * one.b.y * icon:person Tim * icon:person Mico * two * three |
|
%RENDERLIST{"org"}%
|
||||||||||||||||||||||||||||||||||||||||
%RENDERLIST{ "org" focus="one.b" }% * one * one.a * one.a.x * one.b * one.b.x continue * one.b.y * icon:person Tim * icon:person Mico * two * three |
|
%RENDERLIST{ "org" focus="one.b" }%
|
**%<plugin>\_<setting>%**
, i.e. **%RENDERPLUGIN\_SHORTDESCRIPTION%**
- One line description, is shown in the [[TextFormattingRules]] topic:
- Set SHORTDESCRIPTION = Render bullet lists in a variety of formats
- Debug plugin: (See output in `data/debug.txt`)
- Set DEBUG = 0
- Themes are named `**%TOPIC%.zip**
in your twiki installation directory. Content: File: | Description: |
---|---|
data/TWiki/%TOPIC%.txt |
Plugin topic |
data/TWiki/%TOPIC%.txt,v |
Plugin topic repository |
lib/TWiki/Plugins/%TOPIC%.pm |
Plugin Perl module |
pub/TWiki/%TOPIC%/*.gif |
Image files for themes |
Plugin Author: | TWiki:Main/PeterThoeny |
Copyright: | © 2006, Peter Thoeny |
License: | GPL (GNU General Public License) |
Plugin Version: | 23 Sep 2006 (V1.034) |
Change History: | |
23 Sep 2006: | Support for img tag and image URL after icon: (suggested by TWiki:Main.JanFilipsky); support for [[TWiki/TWikiDocGraphics]] icons, such as %ICON{folder}% instead of icon:folder ; added files.gif and folders.gif (contributed by TWiki:Main.SteveHobbs) |
25 Apr 2006: | SVN sync, Cairo + Dakar compatibility |
14 Apr 2006: | TWikiRelease04x00 compatibility update |
21 Nov 2004: | Added benchmarks (no code changes) |
21 Mar 2004: | Internal change: Fixed unofficial function call |
01 Mar 2004: | Added FILE_THEME and folder/file icons |
29 Dec 2003: | Fixed rendering issue if focus bullet contains icon:name ; added TREND_THEME |
16 Dec 2003: | Specify icons with icon:name syntax |
11 Dec 2003: | Added focus and depth parameters |
05 Dec 2003: | Fixed rendering issue with IE; added EMAIL_THEME |
02 Dec 2003: | Initial version |
CPAN Dependencies: | none |
Other Dependencies: | none |
Perl Version: | 5.005 |
TWiki:Plugins/Benchmark: | [[TWiki/GoodStyle]] 97%, [[TWiki/FormattedSearch]] 98%, [[Main/RenderListPlugin]] 93% |
Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% |
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev |
Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Appraisal |