Difference between revisions of "Template:Banner/doc"

From EVE University Wiki
Jump to: navigation, search
m (Add dependency)
m (Add dependency)
Line 8: Line 8:
 
::: {{T|Deprecated}}
 
::: {{T|Deprecated}}
 
::: {{T|Merge}}
 
::: {{T|Merge}}
 +
::: {{T|Move}}
 
;Syntax
 
;Syntax
 
:{{T|Banner|2=color= |3=border= |4=text= |5=content}}
 
:{{T|Banner|2=color= |3=border= |4=text= |5=content}}

Revision as of 16:51, 23 October 2021

Description
This template creates a colored banner with centered text.
Dependencies
Uses:
{{Co}}
Used by:
{{Cleanup}}
{{Deprecated}}
{{Merge}}
{{Move}}
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).
banner - Color of the border of the banner. If omitted 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= yellow|border= red|text= black|This is a yellow banner with a red border and black text !}} gives...
This is a yellow banner with a red border and black text !
References