সদস্য:Psneog/templatewiki/Ambox 2/doc
অৱয়ব
(সদস্য:Psneog/templatewiki/ambox2/docৰ পৰা পুনঃনিৰ্দেশিত)
Empty syntax
[সম্পাদনা কৰক]Either use Ambox_2's parameters:
{{সদস্য:Psneog/templatewiki/Ambox 2 | background= | title= | text= | info= | image_name= }}
or use Template:Ambox's parameters:
{{ambox | image = | border = | type = | info = }}
Description and usage
[সম্পাদনা কৰক]This is a meta-template used to create article management templates. It is an alternative to the traditional ambox style. Unlike the commonly used ambox template, it does not rely on css.
If you wish to replace Template:Ambox and any templates created with it on another wiki, simply replace Template:Ambox on that wiki with this template.
Named parameters
[সম্পাদনা কৰক]Content
[সম্পাদনা কৰক]- |image_name=
- image for use on the left (optional) - Example:Wiki.png
- |text=
- body of the template
- |info=
- list of extra info (optional)
- |title=
- Large bold title at the top of the template (optional)
- |background=
- background color (defaults to blue) - takes the following color names as well as hexadecimal colors
- red
- EF2929 (serious issue)
- orange
- F57900 (important issue)
- yellow
- FCE94F (mild issue)
- green
- 73D216 (something good)
- purple
- CABEED
- blue
- D8E9FC
- grey
- eee
Style
[সম্পাদনা কৰক]The following parameters may be added if you wish to use something other than the defaults
- |text_color=
- takes hexadecimal colors (000 for black, fff for white) - Black by default, white if the background is red
- |width=
- defaults to 90%
- |image_size=
- defaults to 50px
Examples
[সম্পাদনা কৰক]Default
[সম্পাদনা কৰক]{{সদস্য:Psneog/templatewiki/Ambox 2 | text = I am text | info = I am info }}
I am text
I am info |
Red + image
[সম্পাদনা কৰক]{{সদস্য:Psneog/templatewiki/Ambox 2 | image = [[Image:Example.jpg|50px]] | background = red | text = I am text | info = * I am info | style = border:10px black solid; }}
I am text
|
Ambox_2 parameters
[সম্পাদনা কৰক]{{সদস্য:Psneog/templatewiki/Ambox 2 | image_name = Example.jpg | image_size = 25px | background = red | title = I am title | text = I am text | info = I am info | text_color = blue | width = 50% }}
I am title | |
---|---|
I am text
I am info |
Other colors
[সম্পাদনা কৰক]Yellow
[সম্পাদনা কৰক]I am text
|
Green
[সম্পাদনা কৰক]I am text
|
Purple
[সম্পাদনা কৰক]I am text
|
Blue
[সম্পাদনা কৰক]I am text
|
Orange
[সম্পাদনা কৰক]I am text
|
Gray
[সম্পাদনা কৰক]I am text
|