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

Шаблон:Pentagon

Матеріал з Board Game Arena
Версія від 12:32, 15 серпня 2026, створена Illia yarosh (обговорення | внесок) (Створена сторінка: <span title="{{{alt|}}}" style="display:inline-grid;place-items:center;width:{{{s|36}}}px;aspect-ratio:1;rotate:calc({{{r|0}}}*36deg);clip-path:polygon(50% 0,97.55% 34.55%,79.39% 90.45%,20.61% 90.45%,2.45% 34.55%);background:{{{b|linear-gradient(30deg in oklch shorter hue,#57b8b8,#5976cc,#7f4edc,#861dd1,#b7339f)}}};color:{{{tc|oklch(from {{{b|#7f4edc}}} clamp(0,(l/.64 - 1)*-infinity,1) 0 h)}}};font-family:Roboto,Arial,sans-serif;font-weight:700;font-size:{...)
(різн.) ← Попередня версія | Поточна версія (різн.) | Новіша версія → (різн.)
Перейти до навігації Перейти до пошуку

​

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.