Template:Banner/doc

From EVE University Wiki
< Template:Banner
Revision as of 08:58, 25 October 2021 by Evon R'al (talk | contribs) (Update to code change. Typo)
Jump to: navigation, search
Description
This template creates a colored banner with centered text.
Dependencies
Uses:
{{Co}}
Used by:
{{Cleanup}}
{{Deletion}}
{{Deprecated}}
{{Merge}}
{{Mission stub}}
{{Move}}
{{Stub}}
{{Survival copy}}
{{Update}}
Syntax
{{Banner|<color=>|<border=>|<text=>|<content>}}
color - Color of the banner background. If omitted the background color is dimgray. Colors can be given either by color name[1] (e.g. red or green) or values[2] (like #FF0000).
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 red.
text - Color of the text in the banner. If omitted the text color is white.
content - The content of the banner
Sample output
{{Banner|This is a banner!}} gives...
This is a banner!
{{Banner|color= LightSalmon|border= blue|text= #000000|This is a light salmon banner with a blue border and black text !}} gives...
This is a yellow banner with a blue border and black text !
References