This is one way to create a library of common icons, accessible through user-defined TWikiVariables set in WebPreferences, or in TWikiPreferences for site-wide use.
There are other approaches as well: the TWiki:Plugins/TopicVarsPlugin lets you set variables in any topic, not just in WebPreferences, for use in the same. The TWiki:Plugins/SmiliesPlugin
, using a different short hand then
%VARIABLES%
. may be worth checking out for extended use.
In this example, TWikiDocGraphics - this topic - acts as the icon library. Graphics are uploaded and displayed. Then, the paths are set in TWikiPreferences for site-wide access. You can also create individual library pages in each web. And you don't have to restrict yourself to graphics: Prefernces Variables can include text and links to any type of file.
-- PeterThoeny - 14 Apr 2002
-- MikeMannix - 16 May 2002
I | Attachment | History | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|---|
![]() |
arrowright.gif | r1 | manage | 0.1 K | 2002-04-14 - 07:18 | UnknownUser | Red arrow to right |
![]() |
choice-yes.gif | r2 r1 | manage | 0.1 K | 2002-05-16 - 06:58 | UnknownUser | Green checkmark - DONE |
![]() |
help.gif | r1 | manage | 0.1 K | 2001-09-28 - 00:40 | UnknownUser | Help |
![]() |
new.gif | r1 | manage | 0.2 K | 2002-04-14 - 07:17 | UnknownUser | New |
![]() |
pencil.gif | r1 | manage | 0.2 K | 2002-04-14 - 07:17 | UnknownUser | Pencil |
![]() |
starred.gif | r1 | manage | 0.1 K | 2002-04-14 - 07:18 | UnknownUser | Star |
![]() |
tip.gif | r2 r1 | manage | 0.1 K | 2001-12-03 - 06:15 | UnknownUser | Tip |
![]() |
updated.gif | r1 | manage | 0.3 K | 2002-04-14 - 07:17 | UnknownUser | Updated |
![]() |
warning.gif | r1 | manage | 0.1 K | 2001-09-28 - 00:41 | UnknownUser | Warning |