Difference between revisions of "MediaWiki:Banner"
From MadaCamp
CampMaster (talk | contribs) |
CampMaster (talk | contribs) |
||
Line 1: | Line 1: | ||
'''These banners appear below the toolbox in the left column on all pages of the MadaCamp site in a random order and thereafter alternate every 15 seconds:''' | '''These banners appear below the toolbox in the left column on all pages of the MadaCamp site in a random order and thereafter alternate every 15 seconds:''' | ||
+ | <!-- | ||
[[File:Namako_banner_01.jpg|link=Namako]] | [[File:Namako_banner_01.jpg|link=Namako]] | ||
[[File:Baobab_Avenue_banner.png|link=Baobab_Avenue]] | [[File:Baobab_Avenue_banner.png|link=Baobab_Avenue]] | ||
Line 14: | Line 15: | ||
[[File:Ankarana_National_Park_banner_04.jpg|link=Ankarana_National_Park]] | [[File:Ankarana_National_Park_banner_04.jpg|link=Ankarana_National_Park]] | ||
[[File:Ankarafantsika_National_Park_banner_01.jpg|link=Ankarafantsika_National_Park]] | [[File:Ankarafantsika_National_Park_banner_01.jpg|link=Ankarafantsika_National_Park]] | ||
+ | --> | ||
− | |||
− | |||
<gallery widths="147" perrow="3"> | <gallery widths="147" perrow="3"> | ||
File:Namako_banner_01.jpg | File:Namako_banner_01.jpg | ||
Line 32: | Line 32: | ||
File:Ankarafantsika_National_Park_banner_01.jpg | File:Ankarafantsika_National_Park_banner_01.jpg | ||
</gallery> | </gallery> | ||
− | |||
− | |||
Creating and adding new banners: | Creating and adding new banners: | ||
Line 48: | Line 46: | ||
* 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) | ||
− |
Revision as of 22:04, 18 March 2012
These banners appear below the toolbox in the left column on all pages of the MadaCamp site in a random order and thereafter alternate 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)