This is a documentation for Board Game Arena: play board games online !

Template:Pentagon

From Board Game Arena
Jump to navigation Jump to search

Parameters

Id
Name
Default
Example
Result
Description
alt
Tooltip
empty
{{pentagon|alt=resource}}
Optional: provide a text tooltip.
s
Size
36
{{pentagon|s=50}}
Optional: size of pentagon in px units.
b
Background
linear-gradient(…)
{{pentagon|b=green}}
Optional: set a CSS background color or gradient.
1
Text value
empty
{{pentagon|A}}
A
Optional: set a text value.
tc
Text color
automatic black/white
{{pentagon|A|tc=lime}}
A
Optional: text color as a CSS color value.
ts
Text size
1rem (16px)
{{pentagon|A|ts=24px}}
A
Optional: text size as a CSS length.
r
Rotate clockwise
0
{{pentagon|r=1}}
Optional: rotate the pentagon in units of 36° clockwise.