Pojdi na vsebino

Predloga:Color box striped/dok

Iz Wikipedije, proste enciklopedije

Predloga:For-text

Usage

[uredi kodo]
To je dokumentacija TemplateData za predlogo, ki jo uporabljajo Vizualni urejevalnik in druga orodja; glejte mesečno poročilo o uporabi parametrov za to predlogo.

TemplateData za Color box striped

{{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.
Color1
Background color of the box.
Zgled
Green
Stripe color2
Stripe color of the box
Privzeto
white
Zgled
blue
Text3
Sets the text
Zgled
Loren ipsum
Text color4
Sets the text color
Privzeto
Either black or white or background color or stripe color if exists; whichever has greater contrast.
Zgled
red
Stripe widthstripe
Sets the width of the stripe.
Privzeto
1
Zgled
2
Border colorborder
Sets the color of the border around the box.
Privzeto
black
Zgled
#FF0
Stripe degreesdegrees
Sets the degrees of the stripes.
Privzeto
-45
Zgled
180
Examples
Visual effect 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}}

Variants

[uredi kodo]

Predloga:Color box templates

Supporting template

[uredi kodo]

See also

[uredi kodo]