More actions
m Update dependencies. |
update doc for template changes. |
||
| Line 20: | Line 20: | ||
;Syntax | ;Syntax | ||
:{{T|Banner|2=color= color|3=border= color|4=text= color|5=content}} | :{{T|Banner|2=color= color|3=border= color|4=text= color|5=content}} | ||
:: '''color''' - Color of the banner background. If omitted the background color is | :: '''color''' - Color of the banner background. If omitted the background color is transparent. Colors can be given either by color name<ref>https://www.w3schools.com/cssref/css_colors.asp [2021-10-23]</ref> (e.g. {{Co|red|red}} or {{Co|green|green}}) or values<ref>https://www.w3schools.com/cssref/css_colors_legal.asp [2021-10-23]</ref> (like {{Co|#0000FF|#0000FF}}). | ||
:: '''border''' - Color of the border of the banner. If omitted and "color" is given then the border is the same color as the background. If color is also omitted then the border color is {{Co|red|red}}. | :: '''border''' - Color of the border of the banner. If omitted and "color" is given then the border is the same color as the background. If color is also omitted then the border color is {{Co|red|red}}. | ||
:: '''text''' - Color of the text in the banner. If omitted the text color is | :: '''text''' - Color of the text in the banner. If omitted the text color is inherited from the parent container. | ||
:: '''content''' - The content of the banner | :: '''content''' - The content of the banner | ||