Difference between revisions of "MediaWiki:Banner"

From MadaCamp
Jump to: navigation, search
Line 19: Line 19:
 
File:Hotel_Carlton_banner_01.jpg|Leads to [[Hotel Carlton]]
 
File:Hotel_Carlton_banner_01.jpg|Leads to [[Hotel Carlton]]
 
File:Ambohimanga_banner_01.jpg|Leads to [[Ambohimanga]]
 
File:Ambohimanga_banner_01.jpg|Leads to [[Ambohimanga]]
File:Isalo_National_Park_banner_01.jpg|Leads to [[Isalo]]
+
File:Isalo_National_Park_banner_01.jpg|Leads to [[Isalo National Park]]
File:Isalo_National_Park_banner_02.jpg|Leads to [[Isalo]]
+
File:Isalo_National_Park_banner_02.jpg|Leads to [[Isalo National Park]]
File:Isalo_National_Park_banner_03.jpg|Leads to [[Isalo]]
+
File:Isalo_National_Park_banner_03.jpg|Leads to [[Isalo National Park]]
 
</gallery>
 
</gallery>
  

Revision as of 18:08, 18 October 2012

These banners appear in the left column on all pages of the MadaCamp site in a random order and change every 15 seconds:

Creating and 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. Line-spacing -4.0 if multiple lines are used. Position center and 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)