HTML
Splash!
PostScript
  
Template Toolkit Examples: Splash! Library: Icons

  text
icon
button  

Icons

The splash/icon template generates an image tag to display one of the Splash icons in a particular colour.

Source #1:
    [% INCLUDE splash/icon img='dot' %]
    	   
Output #1:

Source #2:
    [% INCLUDE splash/icon
        FOREACH img = ['left', 'up', 'right', 'down']
    %]
    	   
Output #2:

Source #3:
    [%  WRAPPER splash/box bgcol='grey75' border=1 pad=8;
    	INCLUDE splash/icon
    	    col = 'marine'
    	FOREACH img = [ 'ring', 'ringdot', 'dot' ];
        END;
    %]
    	   	   
Output #3:

Source #4:
    [%  INCLUDE splash/icon
        FOREACH [ { col = 'red75',   img = 'minus'   },
                  { col = 'green75', img = 'plus'    },
                  { col = 'blue75',  img = 'diamond' },
                  { col = 'aqua',    img = 'negbox'  },
                  { col = 'marine',  img = 'posbox'  },
                  { col = 'lilac',   img = 'box'     } ]
    %]
    	   	   
Output #4:

Source #5:
    [% PROCESS splash/homelink %]
    
Output #5:

Source #6:
    [% PROCESS splash/ttdotorg %]
Output #6:
    Template Toolkit

Source #7:
    [% PROCESS splash/ttpower %]
Output #7:
    Powered by Template Toolkit