AAPG Wiki:Main Page

From AAPG Wiki
Jump to navigation Jump to search

The Main Page layout is controlled by two things:

If you want to change the content of the page (except for the banner image), edit Main Page. If you want to change how the page looks, edit MediaWiki:Common.css.

Changing the banner image

To change the banner image, you will need a large image with not too many colours, low saturation or low brightness. It's easy to tweak text colour, link colour, etc if needed. It should be about the same size as the current one: AAPG_Wiki_banner_Mar2014_large.jpg

Note that the link to the image is the full URL to the actual image file, not the wiki link to the File: page. This is important. Example:

http://wiki.aapg.org/images/3/3e/AAPG_Wiki_banner_Mar2014_large.jpg

Changing the gallery images

This code originally came from an example by Nathan Rohler at DWUser.com.

To change the images, you only need to edit the code on Main Page. The images should be square and at least 400px by 400px. For photographs, JPEGs will strike the best balance between filesize (speed) and quality. For line art or other 'flat' images, use PNG for best results.

Note that the links to the images are the full URLs to the actual image file, not the wiki link to the File: page. This is important. Example:

http://wiki.aapg.org/images/f/f1/MainPage_PinedaleFieldLandRig.jpg

Changing the text style

Most of the text is styled by the CSS in MediaWiki:Common.css. For rapid iteration, you can override it with styles in the page, but this is not a good long-term solution.