User:Numa Numa/monobook.css
From Homestar Runner Wiki
< User:Numa Numa(Difference between revisions)
Cow Puncher (Talk | contribs) (New page: /* Link to the template */ - →change the logo: #p-logo a { background: url(http://www.hrwiki.org/images/c/c9/Homestarpedia.png) 1% 2% no-repeat !...) |
Cow Puncher (Talk | contribs) |
||
| Line 1: | Line 1: | ||
| - | /* | + | + /* NOT MY OWN WORK. MADE BY OTHER USERS. */ |
| - | + | + /* <nowiki> */ | |
| - | + | + | |
| - | + | + /* Thanks to http://en.wikipedia.org/wiki/User:Trilobite/Tools for the below tweaks! */ | |
| - | + | + | |
| - | + | + window.onload = Main; | |
| - | + | + function Main() { | |
| - | + | + addtoolboxlinks(); | |
| - | + | + LivePreviewInstall(); | |
| - | + | + morelinks(); | |
| - | + | + } | |
| - | + | + | |
| - | + | + /* Adds some useful links to the "toolbox" on the sidebar. */ | |
| - | + | + | |
| - | + | + function addlilink(tabs, url, name, id) { | |
| - | + | + var na = document.createElement('a'); | |
| - | + | + na.href = url; | |
| - | + | + na.id = id; | |
| - | + | + na.appendChild(document.createTextNode(name)); | |
| - | + | + var li = document.createElement('li'); | |
| - | + | + li.appendChild(na); | |
| - | + | + tabs.appendChild(li); | |
| - | + | + return li; | |
| - | + | + } | |
| - | + | + | |
| - | + | + /* I don't mind if the following section is copied. */ | |
| - | + | + function addtoolboxlinks() { | |
| - | + | + var tb = document.getElementById('p-tb').getElementsByTagName('ul')[0]; | |
| - | + | + addlilink(tb, 'http://s13.invisionfree.com/Fanstuff/', 'Forum',''); | |
| - | + | + addlilink(tb, '/index.php/User:Super Sonic X/Sig', 'Edit Signature', ''); | |
| - | + | + addlilink(tb, 'http://fanstuff.hrwiki.org/index.php/User:Super Sonic X/Sig', 'Edit HRFWiki Signature', ''); | |
| - | + | + addlilink(tb, 'http://fanstuff.hrwiki.org/index.php/SSXMails', 'SSXMails', ''); | |
| - | + | + addlilink(tb, 'http://fanstuff.hrwiki.org/index.php/Stuff With Class', 'Stuff With Class', ''); | |
| - | + | + addlilink(tb, 'http://fanstuff.hrwiki.org/index.php/Homestar Adventure Game DX!', 'Homestar Adventure Game DX!', ''); | |
| - | + | + addlilink(tb, 'http://fanstuff.hrwiki.org/index.php/User:Super Sonic X/Simpsons:H&R', 'Simpsons: Hit & Run Guide', ''); | |
| - | + | + addlilink(tb, 'http://www.homestarrunner.com', 'Homestar Runner.com', ''); | |
| - | + | + } | |
| - | + | + | |
| - | + | + /* Adds "LivePreview" [http://en.wikipedia.org/wiki/User:Pilaf/Live_Preview]. */ | |
| - | + | + | |
| - | + | + wpUserName = 'Super Sonic X'; | |
| - | + | + wpShowImages = true; | |
| - | + | + document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Pilaf/livepreview.js&action=raw&ctype=text/javascript&dontcountme=s"></script>'); | |
| - | + | + | |
| - | + | + /* </nowiki> */ | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
Current revision as of 02:37, 6 September 2007
+ /* NOT MY OWN WORK. MADE BY OTHER USERS. */
+ /* <nowiki> */
+
+ /* Thanks to http://en.wikipedia.org/wiki/User:Trilobite/Tools for the below tweaks! */
+
+ window.onload = Main;
+ function Main() {
+ addtoolboxlinks();
+ LivePreviewInstall();
+ morelinks();
+ }
+
+ /* Adds some useful links to the "toolbox" on the sidebar. */
+
+ function addlilink(tabs, url, name, id) {
+ var na = document.createElement('a');
+ na.href = url;
+ na.id = id;
+ na.appendChild(document.createTextNode(name));
+ var li = document.createElement('li');
+ li.appendChild(na);
+ tabs.appendChild(li);
+ return li;
+ }
+
+ /* I don't mind if the following section is copied. */
+ function addtoolboxlinks() {
+ var tb = document.getElementById('p-tb').getElementsByTagName('ul')[0];
+ addlilink(tb, 'http://s13.invisionfree.com/Fanstuff/', 'Forum','');
+ addlilink(tb, '/index.php/User:Super Sonic X/Sig', 'Edit Signature', '');
+ addlilink(tb, 'http://fanstuff.hrwiki.org/index.php/User:Super Sonic X/Sig', 'Edit HRFWiki Signature', '');
+ addlilink(tb, 'http://fanstuff.hrwiki.org/index.php/SSXMails', 'SSXMails', '');
+ addlilink(tb, 'http://fanstuff.hrwiki.org/index.php/Stuff With Class', 'Stuff With Class', '');
+ addlilink(tb, 'http://fanstuff.hrwiki.org/index.php/Homestar Adventure Game DX!', 'Homestar Adventure Game DX!', '');
+ addlilink(tb, 'http://fanstuff.hrwiki.org/index.php/User:Super Sonic X/Simpsons:H&R', 'Simpsons: Hit & Run Guide', '');
+ addlilink(tb, 'http://www.homestarrunner.com', 'Homestar Runner.com', '');
+ }
+
+ /* Adds "LivePreview" [http://en.wikipedia.org/wiki/User:Pilaf/Live_Preview]. */
+
+ wpUserName = 'Super Sonic X';
+ wpShowImages = true;
+ document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Pilaf/livepreview.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
+
+ /* </nowiki> */
