Plantilla:Color box striped/ús
Aparença
Aquesta és una subpàgina de documentació per a la Plantilla:Color box striped Té la informació d'ús, les categories i qualsevol altre contingut que no forma part essencial del codi de la plantilla. |
Descripció
[modifica]Sintaxi
[modifica]{{color box striped|color|stripe color|text|text color|stripe = |border = |degrees = }}
Adds a rectangular color box striped.
- Colors are most commonly specified as either a color keyword or as the hexadecimal triplet representing an RGB combination. See the article web colors for details.
- If specified, the text is centered within the box.
Paràmetre | Descripció | Tipus | Estat | |
---|---|---|---|---|
Color | 1 | Background color of the box.
| Cadena | obligatori |
Stripe color | 2 | Stripe color of the box
| Cadena | suggerit |
Text | 3 | Sets the text
| Cadena | opcional |
Text color | 4 | Sets the text color
| Cadena | opcional |
Stripe width | stripe | Sets the width of the stripe.
| Nombre | opcional |
Border color | border | Sets the color of the border around the box.
| Cadena | opcional |
Stripe degrees | degrees | Sets the degrees of the stripes.
| Nombre | opcional |
Format: inline
Test of raw TemplateData output:
Adds a rectangular color box striped. Colors are most commonly specified as either a color keyword or as the hexadecimal triplet representing an RGB combination. See the article web colors for details.If specified, the text is centered within the box.
Paràmetre | Descripció | Tipus | Estat | |
---|---|---|---|---|
Color | 1 | Background color of the box.
| Cadena | obligatori |
Stripe color | 2 | Stripe color of the box
| Cadena | suggerit |
Text | 3 | Sets the text
| Cadena | opcional |
Text color | 4 | Sets the text color
| Cadena | opcional |
Stripe width | stripe | Sets the width of the stripe.
| Nombre | opcional |
Border color | border | Sets the color of the border around the box.
| Cadena | opcional |
Stripe degrees | degrees | Sets the degrees of the stripes.
| Nombre | opcional |
Efecte visual | Markup |
---|---|
{{color box striped|Green}}
| |
{{color box striped|Yellow|Green}}
| |
{{color box striped|Blue|Green|degrees=180}}
| |
{{color box striped|Blue|Red|striped =2}}
| |
Using X11 color names | {{color box striped|SteelBlue|Gold|'''Using X11 color names'''}}
|
Using RGB hex triplets | {{color box striped|#012345|#FEDCBA|''Using RGB hex triplet''}}
|
Red | {{color box striped|Gray|Yellow|Red|#f00|border=#f00}}
|
bordercolor like wikitable | {{color box striped|purple||bordercolor like wikitable|border=#A2A9B1}}
|