Extension:PetalBoard

From Petal Crashers Wiki

Revision as of 18:09, 1 November 2020 by Zircean (talk | contribs) (Created page with "The PetalBoard extension, written by Zircean, renders embedded Petal Crash boards onto the page. For example, it turns: <code><nowiki> <petalboard width="...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The PetalBoard extension, written by Zircean, renders embedded Petal Crash boards onto the page. For example, it turns:

<petalboard width="5" height="3">,,,,g;,,y3,,g;r,,,,r</petalboard>

into:

g
y3g
rr

Rows are separated by semicolons ; and columns are separated by commas ,. There is additionally a size attribute that can be set to small, medium, or large (medium is the default). Valid petal names are b, g, p, r, and y for the colored petals, optionally suffixed by 1-8 to specify petals that have not yet spawned in. Garbage can be used with x and optionally suffixed by 1-4 for the pending states.