User:Tennessee Ernie Ford/monobook.js

From Guild Wars Wiki
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');

addButton( '/images/7/7f/Copper_Zaishen_Coin.png', 'Small tags', '<small>', '</small>', '<small>small</small>', 'mw-editbutton-smallTags' );
addButton( '/images/b/b7/Silver_Zaishen_Coin.png', 'Color tags', '<span style="color:purple;">', '</span>', '<span style="color:purple;">purple</span>', 'mw-editbutton-SpanPurple' );
addButton( '/images/2/26/Gold_Zaishen_Coin.png', 'STDT', '{| {{STDT|Silver}} |- style="background:lightgray;"', '', '{| {{STDT|Silver}} |- style="background:lightgray;"', 'mw-editbutton-STDT' );
<!-- Ratings buttons by Armond -->
addButton( '/skins/common/images/button_bold.png', 'Rating table', '{{<!--Subst:-->User:Armond/RatingTable|', '}}', 'Table|any', 'mw-editbutton-rating-table' );
addButton( '/skins/common/images/button_italic.png', 'Rating row', '{{User:Armond/RatingRow|', '}}', 'Skill name|Rating|Explanation|Skill type|Conditional rating', 'mw-editbutton-rating-row' );
addButton( 'http://wiki.guildwars.com/images/d/d7/User_Armond_Button_I.png', 'Rating I (0-4)', '{{User:Armond/Rating|I|', '}}', 'Bad stuff', 'mw-editbutton-rating-I' );
addButton( 'http://wiki.guildwars.com/images/7/7f/User_Armond_Button_II.png', 'Rating II (5-6)', '{{User:Armond/Rating|II|', '}}', 'Decent stuff', 'mw-editbutton-rating-II' );
addButton( 'http://wiki.guildwars.com/images/a/a3/User_Armond_Button_III.png', 'Rating III (7-8)', '{{User:Armond/Rating|III|', '}}', 'Good stuff', 'mw-editbutton-rating-III' );
addButton( 'http://wiki.guildwars.com/images/9/9d/User_Armond_Button_IV.png', 'Rating IV (9)', '{{User:Armond/Rating|IV|', '}}', 'Excellent stuff', 'mw-editbutton-rating-IV' );
addButton( 'http://wiki.guildwars.com/images/a/a4/User_Armond_Button_V.png', 'Rating V (10)', '{{User:Armond/Rating|V|', '}}', 'Mandatory stuff', 'mw-editbutton-rating-V' );