Jump to content

کينډۍ:رنګپټه

د ويکيپېډيا، وړیا پوهنغونډ له خوا
Documentation icon کينډۍ لاسوند

Produces a colored bar that may then be decorated with text and/or an icon.
Example:
{{Colored bar|title=This is just an example.|title-color=green|link=Cat|style = text-align: center; font-size:20px;|background=#abcdef|icon=smile.svg}} Redirectکينډۍ:رنګپټه

A template that produces a coloured bar spanning the width of the page; may have text.

Template parameters[TemplateData مهارول]

ParameterڅرگندونهTypeدريځ
title-background-colortitle-background-color

no description

ناجوتoptional
background-colorbackground-color

no description

ناجوتoptional
Background Colorbackground

Controls the background color of the entire bar. Use HTML color names, hex color code, or HSL/HSLA.

بېلگه
#AAAFFF, peru, hsla(68, 61%, 47%, 1)
ناجوتoptional
stylestyle

Additional CSS to format.

بېلگه
font-family: Arial; text-align: center;
ناجوتoptional
iconicon

Adds a small image to the left of the text. Type the image name without an Image: or File: prefix.

بېلگه
Example.png
دوتنهoptional
linklink

Creates a link in the title text.

ناجوتoptional
Text Colortitle-color

The color you want the text in the bar to be.

بېلگه
#F4C430, green
ناجوتoptional
Texttitle

The text you want to appear in the bar, displays in bold text.

بېلگه
Cats are nice!
ناجوتoptional