From Mageia wiki
Other languages Deutsch ; English ; español ; français ; Nederlands ; português ; português brasileiro ; |
This page is a template. It does not contain information about Mageia, but should be used to present other templates. Avoid experimenting with this template, as you may ruin all pages using this template. If you want to create, modify and test a new template, edit the code on your personal page. When your work is up to your expectations, you can create the template page. You can also visit this page to create your local wiki. You are free to express your opinion about this template. |
About this template
Because span tags do not work in a template, this template must be used inside other templates to format the text according to the parameters you choose. There are five named parameters that you can use in any order.
- The options are as follows:
- color:represents a color.
- colors can be named red, green, bleu, yellow, violet or in hexa #ff0000, #00ff00, #0000ff, #ffff00, #ee82ee ...
- background:the background-color CSS property sets the background color of an element.
- colors can be named red, green, bleu, yellow, violet or in hexa #ff0000, #00ff00, #0000ff, #ffff00, #ee82ee ...
- transform:The text-transform CSS property specifies how to capitalize an element's text.
- It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
- capitalize, uppercase, lowercase
- weight:The font-weight CSS property sets the weight (or boldness) of the font.
- The weights available depend on the font-family that is currently set.
- normal, bold
- style:The font-style CSS property sets whether a font should be styled.
- normal, italic, or oblique
Syntax:
{{format text|your text=This template adds a space specifically designed to display an item.|color= #97D423|background= red|transform= capitalize|weight= bold|style=italic}} |
The message will look like this:
with all the parameters