Difference between revisions of "MediaWiki:Banner"

From MadaCamp
Jump to: navigation, search
Line 13: Line 13:
 
The set-up procedure for adding new banners:
 
The set-up procedure for adding new banners:
  
* Create image in [http://www.gimp.org GIMP] 147x85
+
* Create an 147x85 pixels image in [http://www.gimp.org GIMP]
 
* [[File:Banner_template.xcf]]
 
* [[File:Banner_template.xcf]]
 
* Paste in background
 
* Paste in background

Revision as of 17:12, 18 May 2011

The banners displayed below appear in the left column on all pages of the MadaCamp site in a random order and thereafter alternate every 15 seconds:


The set-up procedure for adding new banners:

  • Create an 147x85 pixels image in GIMP
  • File:Banner template.xcf
  • Paste in background
  • Select all
  • Select -> Rounded Rectangle -> Radius (12%)
  • Unselect top-left, bottom-left and right.
  • Copy background
  • Paste new layer
  • Add text or move text on top. Sans Bold 13 / hinting and antialiasing. Position 6 pixels down if on top and 4 pixels up if on bottom.
  • Save as xcf/png/jpeg/gif
  • Add png, jpg or gif to to array in MediaWiki:Common.js (image/link-target/preload)