Difference between revisions of "Repeating Section"
From Roll20 Wiki
Andreas J. (Talk | contribs) m (change from redirect to transclusion) |
Andreas J. (Talk | contribs) m |
||
Line 17: | Line 17: | ||
<noinclude> | <noinclude> | ||
+ | ==Macro== | ||
+ | {{main|Macros#Referencing Repeating Attributes}} | ||
+ | |||
+ | <pre> | ||
+ | @{selected|repeating_items_$1_itembonus} // refer second item by index | ||
+ | @{selected|repeating_items_-KC0zCLum1Rq3V5wssyE_itembonus} //reference by RowID | ||
+ | </pre> | ||
+ | |||
==Sheet Coding== | ==Sheet Coding== | ||
</noinclude> | </noinclude> |
Revision as of 15:39, 10 December 2021
Page Updated: 2021-12-10 |
Main Page: Character Sheet
Using
Some of the features of Repeating Sections do not work when the Character Sheet is in a separate window. |
In addition to fields, your character sheet may feature one or more repeating section , where you can dynamically change a list by adding/reordering/removing entries to them.
How the Repeating sections buttons look many vary between character sheets for different systems, but this is how the buttons usually look:
- Add: Click on the &-button in the bottom-left corner of the repeating section to add a new entry.
- Modify: Click the ( "Modify/Lock"-button to enable deleting existing entries, or reorganizing them.
- Reorder: Press and hold the ≡-symbol of a specific row, and then drag it up- or downwards to change it's position. (left side)
- Delete: Press the #-icon of of a specific row, to delete it. You get no warning, so it's deleted right away. (right side)
- When you're done deleting/re-ordering things, click on the )(bottom right) to exit the edit mode for the rep section
Macro
Main Page: Macros#Referencing Repeating Attributes
@{selected|repeating_items_$1_itembonus} // refer second item by index @{selected|repeating_items_-KC0zCLum1Rq3V5wssyE_itembonus} //reference by RowID
Sheet Coding
For info on coding rep sections for character sheets, see: BCS/Repeating Section
Sheetworkers involving repeated sections may end up more complicated than ones mode for regular sections.