This is a documentation for Board Game Arena: play board games online !
Template:Pill: Difference between revisions
Jump to navigation
Jump to search
Sammy McSam (talk | contribs) m (l / 0.64) |
Sammy McSam (talk | contribs) |
||
| Line 98: | Line 98: | ||
</div> | </div> | ||
[[Category:TextTemplates]] | |||
[[Category:WikiTemplates]] | [[Category:WikiTemplates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 00:17, 23 May 2025
A
Examples
some text
{{pill|some text|firebrick}}
some text
{{pill|some text|#cf8}}
some text
{{pill|some text|bg1=#fc8|bg2=#cf8}}
Gamehelpobsession
| Meeple | Name | wikitext
|
|---|---|---|
| Butler | {{pill|Butler|#2A2275}}
| |
| Valet | {{pill|Valet|#249167}}
| |
| Lady's Maid | {{pill|Lady's Maid|#72116E}}
| |
| Housekeeper | {{pill|Housekeeper|#E81F35}}
| |
| Footman | {{pill|Footman|#DFDACD}}
|
Parameters
Id
Name
Default
Example
Result
Description
1
text
A{{pill|some text}}some text
Required: content.
2
background
#eee (light grey){{pill|some text|green}}some text
Optional: background color as a CSS color value.
ctext color
automatic black/white
{{pill|c=green|some text}}some text
Optional: text color as a CSS color value.
ssize
unchanged
{{pill|s=1.3|some text}}some text
ffont
Roboto,Arial,sans-serif
{{pill|f=cursive|some text}}some text
Optional: font name as a CSS font-family value.
bg1background
start color
start color
transparent
{{text|bg1=lightgreen|some text}}some text
Optional: background start color as a CSS color value.
bg2background
stop color
stop color
transparent
{{text|bg2=lightgreen|some text}}some text
Optional: background stop color as a CSS color value.
bgdbackground
direction
direction
0 (🡆){{text|bgd=80|bg1=lightgrey|some text}}some text
Optional: background direction in degrees.