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 .
×
Create a free account

[Roll Templates] [Custom] Anybody know the HTML Layout and CSS Styling for the default template?

I may be missing it, or be completely derping, but I can't seem to find it? Neither in my search of the forum or my looking at the Roll Templates wiki?
March 23 (8 years ago)
It's on the roll20 github thing for all the character sheets.

SkyCaptainXIII said:

It's on the roll20 github thing for all the character sheets.

Do you know... Where? That's a pretty extensive Git! ^_^
March 23 (8 years ago)
Lithl
Pro
Sheet Author
API Scripter
I don't think the default rolltemplate is actually on git. However, if you look at the source code for the VTT itself, you'll find:
<script type="text/html" id="sheet-rolltemplate-default">
    	<table>
    	<caption>{{name}}</caption>
    	{{#allprops()}}
    		<tr><td>{{key}}</td><td>{{value}}</td>
    	{{/allprops()}}
    	</table>
    </script>
March 23 (8 years ago)

Douglas William Bacon said:

Do you know... Where? That's a pretty extensive Git! ^_^

It's pretty big! https://github.com/Roll20/roll20-character-sheets

Also of major note: https://github.com/Roll20/roll20-api-scripts

Silvyre said:

Douglas William Bacon said:

Do you know... Where? That's a pretty extensive Git! ^_^

It's pretty big! https://github.com/Roll20/roll20-character-sheets

Also of major note: https://github.com/Roll20/roll20-api-scripts
Well... Yeah? That's why I described the Git as extensive! ^_^
Can you point out where the template is, though?
March 23 (8 years ago)
Lithl
Pro
Sheet Author
API Scripter

Douglas William Bacon said:

Well... Yeah? That's why I described the Git as extensive! ^_^
Can you point out where the template is, though?
As I said, I don't believe the default template is in the git repo. However, all templates available to a campaign are in the VTT's HTML source, and the default template is available to every campaign. I posted what appears in the VTT's HTML, above.
March 23 (8 years ago)
John B
Pro
Sheet Author
So there is the default template which is everywhere and the templates specific for a character sheet.  More on the template is https://wiki.roll20.net/Roll_Templates.


So if asking about one on a character sheet go to the git hub do a find for the character sheet your using and look at the html.  Then in the html look for rolltemplate tags.  That way you can uncover all the templates a character sheet has availble to use in your games.