Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Designing Character Sheet Layout"

From Roll20 Wiki

Jump to: navigation, search
m (Add section for "Tabs", linking to the CSS Wizardry-article)
(Add section on Images, link to main article)
Line 3: Line 3:
 
This is a general guide to different approaches/methods you can use to create the general layout of your custom character sheets.
 
This is a general guide to different approaches/methods you can use to create the general layout of your custom character sheets.
  
== Layout Types ==
+
= Layout Types =
  
=== Roll20 columns/rows ===
+
== Roll20 columns/rows ==
 
Good for basic layouts, but if you aim for a more complex layout/design, CSS Grid and CSS Flexbox is recommended.
 
Good for basic layouts, but if you aim for a more complex layout/design, CSS Grid and CSS Flexbox is recommended.
  
Line 26: Line 26:
 
</pre>
 
</pre>
  
=== CSS Grid ===
+
== CSS Grid ==
 
[https://css-tricks.com/snippets/css/complete-guide-grid/ CSS Grid guide]
 
[https://css-tricks.com/snippets/css/complete-guide-grid/ CSS Grid guide]
 
Many newer character sheet use CSS Grid for their layout, and is recommended as a  
 
Many newer character sheet use CSS Grid for their layout, and is recommended as a  
  
=== CSS Flexbox ===
+
== CSS Flexbox ==
 
[https://css-tricks.com/snippets/css/a-guide-to-flexbox/ CSS Flexbox guide]
 
[https://css-tricks.com/snippets/css/a-guide-to-flexbox/ CSS Flexbox guide]
  
=== HTML Table ===
+
== HTML Table ==
 
[https://html.com/tables/ HTML table guide]
 
[https://html.com/tables/ HTML table guide]
 
Many older sheet use HTML tables for layout, but it's harder to customize and adjust to looks of it compared to other methods, so it's generally not seen as a good idea for sheet layout.
 
Many older sheet use HTML tables for layout, but it's harder to customize and adjust to looks of it compared to other methods, so it's generally not seen as a good idea for sheet layout.
Line 40: Line 40:
 
Article: [https://www.lifewire.com/dont-use-tables-for-layout-3468941 Why you shouldn't use HTML tabels for layout]
 
Article: [https://www.lifewire.com/dont-use-tables-for-layout-3468941 Why you shouldn't use HTML tabels for layout]
  
== Tabs/Pages ==
+
=Pages =
[[CSS_Wizardry#Tabs|Tabs]]
+
''Example:'' '''[[CSS_Wizardry#Tabs|Tabs]]'''
  
There are two examples on how to implement multiple tabs/pages for character sheet, found in the [[CSS_Wizardry#Tabs|Tabs]]-section of the CSS Wizardy-article. This useful when trying to mimic the paper-version of the sheet of then a character sheet starts to become too long.
+
When trying to mimic the paper-version of the sheet, or the sheet starts to become too long, it's a good idea to split up content into separate tabs/pages, see [[CSS_Wizardry#Tabs|Tabs]].
  
 
The section above also show how you can hide areas with checkboxes, useful for temporally hiding/expanding some section for displaying more info.
 
The section above also show how you can hide areas with checkboxes, useful for temporally hiding/expanding some section for displaying more info.
  
== Sheet Templates ==
+
=Images=
 +
''Main Article:'' '''[[Image use in character sheets]] '''
 +
 
 +
You'll likely want to use images to improve the looks of a sheet, and there are a few example of how to do so, like displaying a logo or having a nice background.
 +
 
 +
= Sheet Templates =
 
There exist a couple of character sheet templates that are intended as a starting point for character sheet creations.
 
There exist a couple of character sheet templates that are intended as a starting point for character sheet creations.
  
Line 55: Line 60:
 
* [https://github.com/joesinghaus/Blades-template Sheet template based on Blades in the Dark] by Jakob
 
* [https://github.com/joesinghaus/Blades-template Sheet template based on Blades in the Dark] by Jakob
  
== See Also ==
+
= See Also =
 
* [[CSS Wizardry]]
 
* [[CSS Wizardry]]
 
* [[Roll Templates|Roll Template Creation]]
 
* [[Roll Templates|Roll Template Creation]]

Revision as of 11:53, 4 April 2020

Main Article: Building Character Sheets

This is a general guide to different approaches/methods you can use to create the general layout of your custom character sheets.

Contents

Layout Types

Roll20 columns/rows

Good for basic layouts, but if you aim for a more complex layout/design, CSS Grid and CSS Flexbox is recommended.

Roll20 provides a few basic classes you can use to organize things into a simple column-based layout. To use them, just create a div with a class of '3colrow', '2colrow', or 'row'. Then inside of that div, create a div for each column with a class of 'col'. For example, to create a 3-column layout, you would could:

<div class='3colrow'>
  <div class='col'>
    <!-- Put the content for the first column here -->
  </div>

  <div class='col'>
    <!-- Second column -->
  </div>

  <div class='col'>
    <!-- Third column -->
  </div>
</div>

CSS Grid

CSS Grid guide Many newer character sheet use CSS Grid for their layout, and is recommended as a

CSS Flexbox

CSS Flexbox guide

HTML Table

HTML table guide Many older sheet use HTML tables for layout, but it's harder to customize and adjust to looks of it compared to other methods, so it's generally not seen as a good idea for sheet layout. Roll20 don't accept new sheet submissions that rely on HTML tables for design, so this option shouldn't be used if you want your sheet published. Old sheet using tables do exist int the Roll20 character sheet repository, but they shouldn't be used as templates for your own designs.

Article: Why you shouldn't use HTML tabels for layout

Pages

Example: Tabs

When trying to mimic the paper-version of the sheet, or the sheet starts to become too long, it's a good idea to split up content into separate tabs/pages, see Tabs.

The section above also show how you can hide areas with checkboxes, useful for temporally hiding/expanding some section for displaying more info.

Images

Main Article: Image use in character sheets

You'll likely want to use images to improve the looks of a sheet, and there are a few example of how to do so, like displaying a logo or having a nice background.

Sheet Templates

There exist a couple of character sheet templates that are intended as a starting point for character sheet creations.

See Also