Difference between revisions of "MediaWiki:Banner"

From MadaCamp
Jump to: navigation, search
 
(45 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''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:'''
+
'''These banners appear in the left column on all pages of the MadaCamp site in a random order and change every 15 seconds:'''
  
 
<gallery widths="147" perrow="3">
 
<gallery widths="147" perrow="3">
File:Baobab_Avenue_banner.png
+
File:La_Casa_en_Falafy_banner_02.jpg|Leads to [[La Casa en Falafy]]
File:Anakao_banner.png
+
File:La_Casa_en_Falafy_banner_01.jpg|Leads to [[La Casa en Falafy]]
File:Sakalava_Bay_banner.png
+
File:Floribis_banner_06.jpg|Leads to [[Floribis]]
File:Morondava_banner.png
+
File:HomeoPharma_banner_01.png|Leads to [[HomeoPharma]]
File:Safari_Vezo_banner.jpg
+
File:PALA_banner_01.png|Leads to [[PALA]]
File:Peter_Pan_banner.png
+
File:Croc_Farm_banner_01.jpg|Leads to [[Croc Farm]]
 +
File:Travel_Exchange_banner_01.png|Leads to [[Travel Exchange]]
 +
File:Namako_banner_01.jpg|Leads to [[Namako]]
 +
File:Baobab_Avenue_banner.png|Leads to [[Baobab Avenue]]
 +
File:Anakao_banner.png|Leads to [[Anakao]]
 +
File:Sakalava_Bay_banner.png|Leads to [[Sakalava Bay]]
 +
File:Morondava_banner.png|Leads to [[Morondava]]
 +
File:Safari_Vezo_banner.jpg|Leads to [[Safari Vezo]]
 +
File:Peter_Pan_banner.png|Leads to [[Peter Pan]]
 +
File:Diego_Suarez_banner.jpg|Leads to [[Diego Suarez]]
 +
File:Ankarana_National_Park_banner_01.jpg|Leads to [[Ankarana National Park]]
 +
File:Ankarana_National_Park_banner_02.jpg|Leads to [[Ankarana National Park]]
 +
File:Ankarana_National_Park_banner_03.jpg|Leads to [[Ankarana National Park]]
 +
File:Ankarana_National_Park_banner_04.jpg|Leads to [[Ankarana National Park]]
 +
File:Ankarafantsika_National_Park_banner_01.jpg|Leads to [[Ankarafantsika National Park]]
 +
File:Sambirano_banner_01.jpg|Leads to [[Sambirano]]
 +
File:Tana_Jacaranda_banner_01.jpg|Leads to [[Tana Jacaranda]]
 +
File:Hotel_Carlton_banner_01.jpg|Leads to [[Hotel Carlton]]
 +
File:Ambohimanga_banner_01.jpg|Leads to [[Ambohimanga]]
 +
File:Isalo_National_Park_banner_01.jpg|Leads to [[Isalo National Park]]
 +
File:Isalo_National_Park_banner_02.jpg|Leads to [[Isalo National Park]]
 +
File:Isalo_National_Park_banner_03.jpg|Leads to [[Isalo National Park]]
 +
File:Isalo_National_Park_banner_04.jpg|Leads to [[Isalo National Park]]
 +
File:Antsirabe_banner_01.jpg|Leads to [[Antsirabe]]
 +
File:Chez_Haga_banner_01.jpg|Leads to [[Chez Haga]]
 +
File:Le_Lagon_Blanc_banner_01.gif|Leads to [[Le Lagon Blanc]]
 
</gallery>
 
</gallery>
  
 +
Creating and adding new banners:
  
The set-up procedure for adding new banners:
+
* Create an 147x85 pixels image in [http://www.gimp.org GIMP]
 
 
* Create image in [http://www.gimp.org GIMP] 147x85
 
 
* [[File:Banner_template.xcf]]
 
* [[File:Banner_template.xcf]]
 
* Paste in background
 
* Paste in background
Line 21: Line 45:
 
* Copy background  
 
* Copy background  
 
* Paste new layer
 
* 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.
+
* Add text or move text on top. Sans Bold 13 / hinting and antialiasing. Line-spacing -4.0 if multiple lines are used (not in Gimp 2.8.x). Position center and 6 pixels down if on top and 4 pixels up if on bottom.
 
* Save as xcf/png/jpeg/gif
 
* Save as xcf/png/jpeg/gif
 
* Add png, jpg or gif to to array in [[MediaWiki:Common.js]] (image/link-target/preload)
 
* Add png, jpg or gif to to array in [[MediaWiki:Common.js]] (image/link-target/preload)
 +
* Clicks are recorded in http://www.madacamp.com/admin/madacamp.com/redirect.txt one p/line in format target|IP|date|HTTP_REFERER: clicked on page|HTTP_USER_AGENT: browser type

Latest revision as of 09:36, 29 January 2014

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 (not in Gimp 2.8.x). 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)
  • Clicks are recorded in http://www.madacamp.com/admin/madacamp.com/redirect.txt one p/line in format target|IP|date|HTTP_REFERER: clicked on page|HTTP_USER_AGENT: browser type