ਫਰਮਾ:Color box striped/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਅਜ਼ਾਦ ਗਿਆਨਕੋਸ਼ ਤੋਂ

Usage[ਸੋਧੋ]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for 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.
Example
Green
Stripe color2
Stripe color of the box
ਮੂਲ ਰੂਪ
white
Example
blue
Text3
Sets the text
Example
Loren ipsum
Text color4
Sets the text color
ਮੂਲ ਰੂਪ
Either black or white or background color or stripe color if exists; whichever has greater contrast.
Example
red
Stripe widthstripe
Sets the width of the stripe.
ਮੂਲ ਰੂਪ
1
Example
2
Border colorborder
Sets the color of the border around the box.
ਮੂਲ ਰੂਪ
black
Example
#FF0
Stripe degreesdegrees
Sets the degrees of the stripes.
ਮੂਲ ਰੂਪ
-45
Example
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[ਸੋਧੋ]

Template Description Example
{{Color box}} Color box size with black borders and text color. Standard size.   or  ORANGE 
{{Color box striped}} Striped color box. Standard size.     
{{RouteBox}} Borderless color box with text color and wikilinks.  ORANGE 
{{Colorbull}} Colored bullet with wikilinks.
{{Legend inline}} Color box size with black borders. Standard size.   
{{Color sample}} Color box size with black borders. Smaller size.
{{Swatch inline}} orange
{{Background color}} orange
{{Rail color box}} A version with more display options. Part of Module:Adjacent stations ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "Taipei Metro color" does not exist।, ਲੂਆ ਗ਼ਲਤੀ: expandTemplate: template "San Diego Trolley color" does not exist।
{{Diagonal split color box}} Color box split diagonally. Standard size.
   
   

Supporting template[ਸੋਧੋ]

See also[ਸੋਧੋ]