User:Ranga/Sandpit
From Snoutslouts
(skins how to) |
|||
Line 2: | Line 2: | ||
[[/MainTest]] | [[/MainTest]] | ||
+ | |||
+ | == Skins == | ||
+ | Source: http://www.siteground.com/tutorials/mediawiki/mediawiki_skins.htm | ||
+ | === Logo === | ||
+ | You can change the Logo of your wiki by altering the $wgLogo variable in /includes/DefaultSettings.php to the name of the image you want to use as a logo. | ||
+ | |||
+ | Important Please note that this logo should be placed in the /skins/common/images/ folder. | ||
+ | |||
+ | === Create MediaWiki Skin === | ||
+ | You can create a skin all by yourself by following the steps provided below: | ||
+ | |||
+ | * Go to the /skins folder within your Mediawiki directory; | ||
+ | |||
+ | * Copy the /monobook directory and rename it with the name of your skin, for example: | ||
+ | mywikiskin; | ||
+ | |||
+ | * Copy the MonoBook.php file and rename it with the name of your skin, for example: | ||
+ | MyWikiSkin.php; | ||
+ | |||
+ | * Edit MyWikiSkin.php and change the class name to SkinMyWikiSkin, for example: | ||
+ | class SkinMyWikiSkin extends SkinTemplate; | ||
+ | |||
+ | * In MyWikiSkin.php, change make the other class to have your skin name together with the word Template, for example: | ||
+ | class MyWikiSkinTemplate extends QuickTemplate; | ||
+ | |||
+ | * In MyWikiSkin.php, make $this->skinname to have a string value of your skin name, for example: | ||
+ | 'mywikiskin'; | ||
+ | |||
+ | * In MyWikiSkin.php, make $this->template to have a string value of your skin name properly capitalised with the word Template, for example: | ||
+ | |||
+ | 'MyWikiSkinTemplate'; | ||
+ | |||
+ | * In MyWikiSkin.php find the following lines and replace monobook with mywikiskin in the path settings for the CSS files: | ||
+ | |||
+ | $out->addStyle( 'mywikiskin/main.css', 'screen' ); | ||
+ | $out->addStyle( 'mywikiskin/IE50Fixes.css', 'screen', 'lt IE 5.5000' ); | ||
+ | $out->addStyle( 'mywikiskin/IE55Fixes.css', 'screen', 'IE 5.5000' ); | ||
+ | $out->addStyle( 'mywikiskin/IE60Fixes.css', 'screen', 'IE 6' ); | ||
+ | $out->addStyle( 'mywikiskin/IE70Fixes.css', 'screen', 'IE 7' ); | ||
+ | $out->addStyle( 'mywikiskin/rtl.css', 'screen', '', 'rtl' ); | ||
+ | |||
+ | * In your /mywikiskin directory edit the image and CSS files; | ||
+ | |||
+ | * Edit and customise MyWikiSkin.php as you please; | ||
+ | |||
+ | * In LocalSettings.php set | ||
+ | $wgDefaultSkin = 'mywikiskin' | ||
+ | |||
+ | |||
+ | You can now enjoy the new skin you have prepared! | ||
+ | |||
== Neil Kerley == | == Neil Kerley == |
Revision as of 23:27, 17 March 2010
First up I need to practice some basic formatting seeing as I have long since forgotten most of the technical stuff.
Contents |
Skins
Source: http://www.siteground.com/tutorials/mediawiki/mediawiki_skins.htm
Logo
You can change the Logo of your wiki by altering the $wgLogo variable in /includes/DefaultSettings.php to the name of the image you want to use as a logo.
Important Please note that this logo should be placed in the /skins/common/images/ folder.
Create MediaWiki Skin
You can create a skin all by yourself by following the steps provided below:
- Go to the /skins folder within your Mediawiki directory;
- Copy the /monobook directory and rename it with the name of your skin, for example:
mywikiskin;
- Copy the MonoBook.php file and rename it with the name of your skin, for example:
MyWikiSkin.php;
- Edit MyWikiSkin.php and change the class name to SkinMyWikiSkin, for example:
class SkinMyWikiSkin extends SkinTemplate;
- In MyWikiSkin.php, change make the other class to have your skin name together with the word Template, for example:
class MyWikiSkinTemplate extends QuickTemplate;
- In MyWikiSkin.php, make $this->skinname to have a string value of your skin name, for example:
'mywikiskin';
- In MyWikiSkin.php, make $this->template to have a string value of your skin name properly capitalised with the word Template, for example:
'MyWikiSkinTemplate';
- In MyWikiSkin.php find the following lines and replace monobook with mywikiskin in the path settings for the CSS files:
$out->addStyle( 'mywikiskin/main.css', 'screen' ); $out->addStyle( 'mywikiskin/IE50Fixes.css', 'screen', 'lt IE 5.5000' ); $out->addStyle( 'mywikiskin/IE55Fixes.css', 'screen', 'IE 5.5000' ); $out->addStyle( 'mywikiskin/IE60Fixes.css', 'screen', 'IE 6' ); $out->addStyle( 'mywikiskin/IE70Fixes.css', 'screen', 'IE 7' ); $out->addStyle( 'mywikiskin/rtl.css', 'screen', , 'rtl' );
- In your /mywikiskin directory edit the image and CSS files;
- Edit and customise MyWikiSkin.php as you please;
- In LocalSettings.php set
$wgDefaultSkin = 'mywikiskin'
You can now enjoy the new skin you have prepared!
Neil Kerley
Born: February 20, 1934 at Barmera, South Australia
Original Team: Barmera Colts Senior Debut: 1952, West Adelaide, SANFL Debut Opponent: West Torrens Debut Stadium: Thebarton Oval |
Playing Teams
West Adelaide(1952-1963)
South Adelaide(1964-1966)
Glenelg (1967-1970)
Coaching Teams
|
Career Highlights
|
Donald Neil Kerley - nicknamed "Knuckles" or "King" - is an iconic figure in South Australian football.
Kerley's South Australian National Football League (SANFL) playing career spanned 1952-1969. He played a total of 260 games for West Adelaide, South Adelaide and Glenelg. He was a successful coach with legendary discipline, but also a shrewd tactician. He coached SANFL premiership sides at West (1961 and 1983), South (1964) and Glenelg (1973), during a 28-season coaching career. He represented South Australia 32 times, winning All-Australian selection in 1961, and went on to coach the State side for 10 seasons. He came to represent the face of South Australian football, especially to Victorians, due to his passion for interstate State of Origin games.
SEASONS
1920's | 1930's | 1940's | 1950's | 1960's | 1970's | 1980's | 1990's | 2000's | 2010's |
---|---|---|---|---|---|---|---|---|---|
1920 | 1930 | 1940 | 1950 | 1960 | 1970 | 1980 | 1990 | 2000 | 2010 |
1921 | 1931 | 1941 | 1951 | 1961 | 1971 | 1981 | 1991 | 2001 | |
1922 | 1932 | 1942 | 1952 | 1962 | 1972 | 1982 | 1992 | 2002 | |
1923 | 1933 | 1943 | 1953 | 1963 | 1973 | 1983 | 1993 | 2003 | |
1924 | 1934 | 1944 | 1954 | 1964 | 1974 | 1984 | 1994 | 2004 | |
1925 | 1935 | 1945 | 1955 | 1965 | 1975 | 1985 | 1995 | 2005 | |
1926 | 1936 | 1946 | 1956 | 1966 | 1976 | 1986 | 1996 | 2006 | |
1927 | 1937 | 1947 | 1957 | 1967 | 1977 | 1987 | 1997 | 2007 | |
1928 | 1938 | 1948 | 1958 | 1968 | 1978 | 1988 | 1998 | 2008 | |
1929 | 1939 | 1949 | 1959 | 1969 | 1979 | 1989 | 1999 | 2009 |