Difference between revisions of "Background"

From HSYCO
Jump to navigation Jump to search
Line 4: Line 4:
 
== Parameters ==
 
== Parameters ==
 
{{UI Object Parameter (ID)}}
 
{{UI Object Parameter (ID)}}
*'''image''': image file name
+
{{UI Object Parameter (img)}}
  
 
{{Note: IMG Filename}}
 
{{Note: IMG Filename}}

Revision as of 14:03, 21 January 2014

Note  For a description and a complete list of UI Objects, see UI Objects.

Page's background image.

Parameters

  • id: the object's ID, used by UISets

Template:UI Object Parameter (img)

Image files are searched inside the www/<project's name>/img directory first, then inside the www/img directory.
If the filename is set with a UISet, it's possible to load an image from the web by entering the URL, or a path relative to www/<skin's name>/pic by specifying /pic/ followed by the filename

Syntax

(background<!id> <image's filename>)

E.g.

(background!menubackground menubackground.png)

UI Attributes

UI Object Attributes (Image)