Vorlage:Pill: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Moppes (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „{{text|{{{1|A}}}|{{{2|#eee}}}|{{{3|{{{2|#eee}}}}}}|c={{{c|oklch(from {{{2|#eee}}} clamp(0,(l/0.64 - 1)*-infinity,1) 0 h)}}}|s={{{s}}}|f={{{f|Roboto,sans-serif}}}|w=700|wr=nowrap|y=4|x=8|br=99}}<noinclude> == Beispiele (englisch) == {{pill|some text|firebrick}} <code><nowiki>{{pill|some text|firebrick}}</nowiki></code> {{pill|some text|#cf8}} <code><nowiki>{{pill|some text|#cf8}}</nowiki></code> {{pill|some text|#fc8|#cf8}} <code><nowiki>{{pill|some te…“) |
Moppes (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 19: | Zeile 19: | ||
!<code>wikitext</code> | !<code>wikitext</code> | ||
|- | |- | ||
|style="background:#eee;"|[[ | |style="background:#eee;"|[[Datei:Butler.png]] | ||
|{{pill|Butler|#2A2275}} | |{{pill|Butler|#2A2275}} | ||
|style="text-align:left;"|<code><nowiki>{{pill|Butler|#2A2275}}</nowiki></code> | |style="text-align:left;"|<code><nowiki>{{pill|Butler|#2A2275}}</nowiki></code> | ||
|- | |- | ||
|style="background:#eee;"|[[ | |style="background:#eee;"|[[Datei:Valet.png]] | ||
|{{pill|Valet|#249167}} | |{{pill|Valet|#249167}} | ||
|style="text-align:left;"|<code><nowiki>{{pill|Valet|#249167}}</nowiki></code> | |style="text-align:left;"|<code><nowiki>{{pill|Valet|#249167}}</nowiki></code> | ||
|- | |- | ||
|style="background:#eee;"|[[ | |style="background:#eee;"|[[Datei:Lady's Maid.png]] | ||
|{{pill|Lady's Maid|#72116E}} | |{{pill|Lady's Maid|#72116E}} | ||
|style="text-align:left;"|<code><nowiki>{{pill|Lady's Maid|#72116E}}</nowiki></code> | |style="text-align:left;"|<code><nowiki>{{pill|Lady's Maid|#72116E}}</nowiki></code> | ||
|- | |- | ||
|style="background:#eee;"|[[ | |style="background:#eee;"|[[Datei:Housekeeper.png]] | ||
|{{pill|Housekeeper|#E81F35}} | |{{pill|Housekeeper|#E81F35}} | ||
|style="text-align:left;"|<code><nowiki>{{pill|Housekeeper|#E81F35}}</nowiki></code> | |style="text-align:left;"|<code><nowiki>{{pill|Housekeeper|#E81F35}}</nowiki></code> | ||
|- | |- | ||
|style="background:#eee;"|[[ | |style="background:#eee;"|[[Datei:Footman.png]] | ||
|{{pill|Footman|#DFDACD}} | |{{pill|Footman|#DFDACD}} | ||
|style="text-align:left;"|<code><nowiki>{{pill|Footman|#DFDACD}}</nowiki></code> | |style="text-align:left;"|<code><nowiki>{{pill|Footman|#DFDACD}}</nowiki></code> | ||
Version vom 10. Oktober 2025, 20:57 Uhr
A
Beispiele (englisch)
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}}
| |
| Datei:Valet.png | Valet | {{pill|Valet|#249167}}
|
| Datei:Lady's Maid.png | Lady's Maid | {{pill|Lady's Maid|#72116E}}
|
| Datei:Housekeeper.png | Housekeeper | {{pill|Housekeeper|#E81F35}}
|
| Datei:Footman.png | Footman | {{pill|Footman|#DFDACD}}
|
Parameter (englisch)
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.