This is a documentation for Board Game Arena: play board games online !
Шаблон:Тэкст
Перайсці да навігацыі
Перайсці да пошуку
A
Прыклады
Inside this blue text template you can nest other red, bold, bigger, yellow highlight, orange to green gradient, circled text templates or any other customised combination!
{{Тэкст|c=blue|Inside this blue text template you can nest other {{Тэкст|red|c=red}}, {{Тэкст|bold|w=bold}}, {{Тэкст|bigger|s=1.4}}, {{Тэкст|yellow highlight|yellow}}, {{Тэкст|orange to green gradient|#fc8|#cf8}}, {{Тэкст|circled|bc=red|br=1|x=4}} text templates or any other customised combination!}}
Шаблон:Pill
{{pill|pill background|green}}
Шаблон:Code
{{code|red color code}}
Парамэтры
Тэкст
Id
Name
Default
Example
Result
Description
1
text
A{{Тэкст|some text}}some text
Required: content.
ccolor
unchanged
{{Тэкст|some text|c=green}}some text
Optional: text color as a CSS color value.
ssize
unchanged
{{Тэкст|some text|s=1.5}}some text
Optional: relative text size in em units (
1em = unchanged size).wweight
unchanged
{{Тэкст|some text|w=bold}}some text
Optional: text weight as a CSS Шаблон:Code value.
iitalic
unchanged
{{Тэкст|some text|i=italic}}some text
Optional: text style as a CSS Шаблон:Code value.
ffont
unchanged
{{Тэкст|some text|f=cursive}}some text
Optional: font name as a CSS Шаблон:Code value.
ocoutline color
transparent
{{Тэкст|some text|c=transparent|oc=green}}some text
Optional: text outline color as a CSS color value.
owoutline weight
0.5{{Тэкст|some text|c=transparent|oc=grey|ow=1}}some text
Optional: text outline weight in px units.
wrwrap
wrap{{Тэкст|some text|wr=nowrap}}some text
Optional: prevent line breaks.
Фон & рамка
Id
Name
Default
Example
Result
Description
2
background
transparent
{{Тэкст|some text|lightgreen}}some text
Optional: background color as a CSS color value.
3
background
end color
end color
transparent
{{Тэкст|some text|transparent|lightgreen}}some text
Optional: background stop color as a CSS color value.
bcborder color
transparent
{{Тэкст|some text|bc=green}}some text
Optional: border color as a CSS color value.
bwborder weight
1{{Тэкст|some text|bc=grey|bw=4}}some text
Optional: border weight in px units.
bsborder style
solid{{Тэкст|some text|bc=grey|bs=dashed}}some text
Optional: border style as a CSS Шаблон:Code value.
brborder radius
0
{{Тэкст|some text|bc=grey|x=4|br=1}}some text
xhorizontal spacing
0
{{Тэкст|some text|bc=grey|x=8}}some text
Optional: horizontal spacing in px units.
yvertical spacing
0
{{Тэкст|some text|bc=grey|y=8}}some text
Optional: vertical spacing in px units.