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) No edit summary |
Sammy McSam (talk | contribs) |
||
| Line 87: | Line 87: | ||
[[Category:TextTemplates]] | [[Category:TextTemplates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 21:15, 1 July 2025
A
Examples
some text
{{pill|some text|firebrick}}
some text
{{pill|some text|#cf8}}
some text
{{pill|some text|#fc8|#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.
3
background
end color
end color
transparent
{{pill|some text|white|lightgreen}}some text
Optional: background end color as a CSS color value.
ctext color
automatic black/white
{{pill|some text|c=green}}some text
Optional: text color as a CSS color value.
ssize
unchanged
{{pill|some text|s=1.3}}some text
Optional: text size in em units (
1em = unchanged size).ffont
Roboto,Arial,sans-serif
{{pill|some text|f=cursive}}some text
Optional: font name as a CSS font-family value.