TWiki Documentation Graphics

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 than %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 TWiki.TWikiPreferences#DocGraphics for site-wide access. You can also create individual library pages in each web. And you don't have to restrict yourself to graphics: Preferences Variables can include text and links to any type of file.

  • help.gif Help
  • tip.gif Tip / Idea
  • warning.gif Warning / Important
  • pencil.gif Refactor / Edit
  • choice-yes.gif Done
  • updated.gif Updated
  • new.gif New
  • starred.gif Highlight (positive)
  • arrowright.gif Moved to...
  • viewtopic.gif View topic
  • edittopic.gif Edit topic
  • newtopic.gif New topic
  • searchtopic.gif Search topic
  • printtopic.gif Print topic
  • attachfile.gif Attach file
  • pdf.gif

-- PeterThoeny - 17 Jan 2003
-- MikeMannix - 16 May 2002

Navigation

%IFSKINSTATETHEN{searchbox="pos2"}%

%FISKINSTATE%
%MYSIDEBAR%

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