Test page
Written by: vinter
Testing the compendium
This is a test page to see how the compendium works.
Test
Header 1
Test 2
Header 2
Test 3
Header 3
Testing spells
Full Moon should be grabbed from the spell list
in Starweaver's Weft we specify the spell id
450356 is just an id, at the moment it will not work since the id is treated as a name
Testing checkboxes
This is a checkbox. When it is clicked it should toggle the checkbox.
If we omit the id the icon should be broken
If we omit the spellId the icon should be hidden
If we omit the name it should be fetched from wowhead
If we specify defaultCheck it should be checked when the page loads
If we put multiple checkboxes together they should be grouped with a grid layout
If we specify radio then when that checkbox is checked the other checkboxes with the same radio should uncheck
All checkboxes with the same id should share the same state
Conditional elements
A line that starts with [*name]
should be wrapped in a conditional element.
A conditional element should is associated with a checkbox that has an id equal to name
If a checkbox is checked, the conditional element should be shown.
If a checkbox is not checked, the conditional element should be hidden.
You can add a ~ after the * to invert the logic, so the conditional element is shown when the checkbox is not checked.
A conditional element can be used to show a spell.
Multiple conditional elements can be controlled by the same checkbox.


Conditional elements can be placed inside a list
And they should not break the list indentation