User:Matthew Yeager/RenderBoard

RenderBoard
Explanation:
 * RenderBoard is a user script I wrote which allows for game boards (only chess right now) to be generated easily from various methods. On top of that, this will allow the chess project members to maintain standardized templates for all pages.

How to use:
 * simply go to User:Your Name/monobook.js and include the line importScript('User:Matthew_Yeager/renderboard.js');. After that simply bypass your cache and you will be able to see a button in the top right of your screen. This button, "render game board" will appear next to the "log out" button. Once you enter your game selection and method of input, click "submit query" and the generated code will appear in the "results" box for you to copy and paste onto your page.

Features:
 * Supported Chess Variants:
 * 5x5 Blank (22x22px)
 * 5x5x5 Raumschach (22x22px)
 * 6x6 Blank (22x22px)
 * 8x8 Standard (26x26px)
 * 8x8 Standard Small (22x22px)
 * 8x8 Chaturanga (uncheckered)(26x26px)
 * 8x8 Mutation (colored squares) (26x26px)
 * 8x8x2 Bughouse (22x22px)
 * 8x8x2 Alice Chess (22x22px)
 * 8x10 Casablanca (10 columns) (26x26px)
 * 10x10 Omega (22x22px)


 * Methods of Input
 * Starting Position Checkbox (when checked will render standard starting setup)
 * Position String Input (The normal rd|nd|bd|qd and so on)
 * FEN String. FEN Input is available for all variants except those that are on multiple boards. If you are entering FEN on a board with 10 rows and would like to represent the entire row as blank you have to enter '91/' instead of '10/'

Research ability to add:
 * Template:Goban
 * Template:Goban 5x5
 * Template:Goban 7x11
 * Template:Goban 9x9
 * Template:Tanbo 9x9 Position
 * Template:Reversi_diagram
 * Template:Reversi_diagram_small
 * Template:Five Field Kono diagram

The plans are to move this out to offer most everygame the ability to standardize their templates with the assistance of RenderBoard. If you know a game that would like to use this, please let me know !!! Likewise, any questions, suggestions or comments are more then welcomed!