battlescribe-stylesheets
battlescribe-stylesheets copied to clipboard
XSL Stylesheet to use for Kill Team rosters in Battlescribe
Battlescribe Stylesheet for Kill Team
Preview
By using this stylesheet to export your roster from Battlescribe, you will be able to create a printable document like this
Instructions for Battlescribe users
-
Download the stylesheet from here (right click and 'Save link as...').
-
Create your Kill Team in Battlescribe (Matched Play or Campaign).
-
Export in Battlescribe.
File -> Export roster...
-
Browse for the XSL Stylesheet and select the file you downloaded in step 1.
-
Browse for the Destination File and select a folder where you want to save the file. Name the file; eg. mycampaign.html (note the .html here is important).
-
Click 'Export' then 'Done'.
-
Open the html file in your web browser and print as required.
Instructions for Developers
Requirements
- Node 10 Note: The npm dev-dependencies require Node v10
- wkhtmltopdf version 0.12.5 (with patched qt)
Development Process
-
Clone the repository
git clone https://github.com/DaeronAlagos/battlescribe-stylesheets.git
-
Change to the project folder
cd battlescribe-stylesheets
-
Install the required NPM modules
npm install
-
Create a roster in Battlescribe and save it as a .ros file (not .rosz), to the battlescribe-stylesheets/data folder
-
Build your first distribution file
gulp build
-
Run gulp with browser-sync
gulp --bsfile YOUR_FILE
(don't need to put .ros) -
Edit the files in the src folder and see your changes in the web browser that opened when you started gulp