Difference between revisions of "MediaWiki:Banner"
From MadaCamp
CampMaster (talk | contribs) |
CampMaster (talk | contribs) |
||
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]] | + | [[File:Baobab_Avenue_banner.png|style="border:1px solid green;"]] |
− | |||
[[File:Anakao_banner.png]] | [[File:Anakao_banner.png]] | ||
− | |||
[[File:Sakalava_Bay_banner.png]] | [[File:Sakalava_Bay_banner.png]] | ||
− | |||
[[File:Morondava_banner.png]] | [[File:Morondava_banner.png]] | ||
− | |||
[[File:Safari_Vezo_banner.jpg]] | [[File:Safari_Vezo_banner.jpg]] | ||
− | |||
[[File:Peter_Pan_banner.png]] | [[File:Peter_Pan_banner.png]] | ||
− | The set up procedure for adding new banners is: | + | The set up procedure for adding new banners is simple: |
* Create image in [http://www.gimp.org GIMP] 147x85 | * Create image in [http://www.gimp.org GIMP] 147x85 |
Revision as of 08:47, 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)