Difference between revisions of "MediaWiki:Banner"

From MadaCamp
Jump to: navigation, search
Line 1: Line 1:
 
'''The banners displayed here appear in the left column below the navigations items on all pages of the wiki in a random order and therafter alternate every 15 seconds:'''
 
'''The banners displayed here appear in the left column below the navigations items on all pages of the wiki in a random order and therafter alternate every 15 seconds:'''
  
[[File:Baobab_Avenue_banner.png|style="border:1px solid green;"]]
+
<gallery widths="147" perrow="3">
[[File:Anakao_banner.png]]
+
File:Baobab_Avenue_banner.png
[[File:Sakalava_Bay_banner.png]]
+
File:Anakao_banner.png
[[File:Morondava_banner.png]]
+
File:Sakalava_Bay_banner.png
[[File:Safari_Vezo_banner.jpg]]
+
File:Morondava_banner.png
[[File:Peter_Pan_banner.png]]
+
File:Safari_Vezo_banner.jpg
 +
File:Peter_Pan_banner.png
 +
</gallery>
 +
 
  
 
The set up procedure for adding new banners is simple:
 
The set up procedure for adding new banners is simple:

Revision as of 09:05, 19 April 2011

The banners displayed here appear in the left column below the navigations items on all pages of the wiki in a random order and therafter alternate every 15 seconds:


The set up procedure for adding new banners is simple:

  • Create image in GIMP 147x85
  • 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)