Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

[HELP] Creating community sheets?

I can't find the doccumentation on how to upload a sheet to the GIT repository, all I've so far is that that needs to be done in order to create  anew community sheet. What are the terms? what are the steps? what are the pre-requisits? or, where can I find all this information? thanks!
1482643612

Edited 1482643941
vÍnce
Pro
Sheet Author
Hi Raxmo.  Sheets are community supported (other than the D&D 5e OGL sheet)  You use HTML/CSS and some limited javascript(sheet worker scripts) to build your sheet with the Game Settings custom sheet template through the html|CSS|trans and preview console.  The preview is buggy and often isn't a true interpretation on your design.  ;-(  Best to save often and preview your game in the editor.  After you get a sheet to your liking, you can either keep using it as a custom sheet or you can upload to the  roll20 github repository (link below should help... basically you make a free github acct, fork the repository, i use the windows app, some people use command prompts..., download a local copy of the fork that you save your changes to and then upload a pull request to your online fork.  Then you submit a Pull Request to roll20's repo and wait for approval by the repo manager.) Ask more questions as you fall deeper into sheet building.  ;-)  Cheers Here's some links to get you going. Building Character Sheets Beginner's Guide to GitHub
alright, seems pretty simple. It seems that the hardest part will be the actuall creation of the sheet. Now another question I have, how should I provide rules for the sheet? given that it is an entirely new system that I've been creating over the course of a few years now. Is there a way to include the doccumentation natively? or should I just provide a link to a goggle doc or something?
1482693733

Edited 1482694077
Allright, I do have a question about how to properly use roll templates in the custom sheets. There doesn't seem to be any real documentation on this anywhere the documentation on roll templates are a tad confusing... Like, say even if I only want to use the default template through the sheet's roll buttons. how would I do that?
1482709899
vÍnce
Pro
Sheet Author
Create a sheet-guide and/or rules for a completely new system using roll20's help wiki. Everyone has access to the default roll template. Nothing special required, just include &{template:default} in your macro-text. The biggest advantage for creating your own roll templates is that you can control the layout, colors, font, etc. and you can use some basic logic customized to your game not available using the default template. For example, you can hide/show areas of a macro depending if a certain keys are found in the macro-text or only show a critical roll if a crit is rolled. Lots of flexibility is built-into roll templates. After you try your hand at adding roll templates to your sheet, post back specific questions and you get assistance.
1482785442

Edited 1482785851
I get that, it's that I don't know how to implement them within my sheet. I know that I already have access to the default roll template, I just don't understand how to implement them in a sheet roll. Currently, this is just fluff, but I might as well get it down now so I don't have to change a bunch of things later I think. One question I really would like to know is how do I govern the size of an input field? the best I've been able to do so far is simply using text for larger fields and number for numbers that are nice and small, like 3 digits maximum. any way I can change the size of an input field? I think I had an extra helping of stupid there. I think all I need to do is say in a button's value put something like "&{template:default} stuff here" right?
1482794273
Finderski
Pro
Sheet Author
Compendium Curator
Correct
allright, well, the statement that I'd like to know how to govern how big an input field is still a thing.... I really have noooo idea how to do that outside of saying either text or number for size
1482829561
Lithl
Pro
Sheet Author
API Scripter
Raxmo said: allright, well, the statement that I'd like to know how to govern how big an input field is still a thing.... I really have noooo idea how to do that outside of saying either text or number for size You use CSS. For example: <!-- HTML --> <input type="text" class="sheet-example-sm"> <input type="text" class="sheet-example-md"> <input type="text" class="sheet-example-lg"> /* CSS */ .sheet-example-sm { width: 2em; /* 1em is approximately the same width as the letter M in the current font */ } .sheet-example-md { width: 4em; } .sheet-example-lg { width: 8em; } There are lots of tutorials on how to use CSS all over the internet. The one thing you must keep in mind for Roll20 character sheets, though, is that all class names that appear in your HTML (with the exception of the class field used to name a repeating section) gets prefixed with "sheet-" if it's not already there. You don't have  to include the prefix in your HTML, but you must  include it in your CSS. Also, don't ever use an id  attribute in your HTML, because the HTML for all characters in a campaign is on the same page, and ids are supposed to be unique per page. If you include an id in your HTML, as soon as there are two characters in the campaign, the behavior of things referencing the id is not defined. The upshot of this is that you can't leverage the <label> element's for  attribute (although you can still wrap form elements inside a label element), and you can't use CSS's #id selector (which has the best performance).
makes sence, I've been trying to find what's HTML and what's CSS. There also seems to be some roll20 specifics due to the API that kinda messes with some stuff. That and there are the built in classes that work, but really only for the application of quick experimentation. it seems that I need to be a bit better at looking things up. Mainly because I'm horribly inexperienced with HTML and CSS which makes things a little frustrating. Either way, I greatly appreciate you taking your time out of your day to help me out with these things.
1483038764

Edited 1483039498
Michael R.
Sheet Author
Hi Guys, I've got a similar question, forgive me if it's already been answered. I've updated the character sheet for Only War to correct some errors and add some functionality, I've only updated the HTML as necessary, I've followed the instructions as best I can understand but after forking out the original, updating the code and merging the pull request I've no idea what to do now! I'm not a programmer, at this stage I'm not sure what to do and hopefully have my QoL version replace the existing one. <a href="https://github.com/Roll20/roll20-character-sheets/" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/</a>... Here's a link, hope you can help. Cheers
1483044641
Orta
Sheet Author
Translator
Hi Michael, With the Pull request done, you're all set ! The Roll20 team is accepting Pull requests and merging into the main repository once a week, on Tuesday usually. You just have to wait ;)