Difference between revisions of "Template:Banner/doc"

From EVE University Wiki
Jump to: navigation, search
m (Minor formatting)
m (Change formatting.)
Line 2: Line 2:
 
: This template creates a colored banner with centered text.
 
: This template creates a colored banner with centered text.
 
; Dependencies
 
; Dependencies
:: Uses:
+
: Uses:
::: {{T|Co}}
+
:: {{T|Co}}
:: Used by:
+
: Used by:
::: {{T|Cleanup}}
+
:: {{T|Cleanup}}
::: {{T|Deletion}}
+
:: {{T|Deletion}}
::: {{T|Deprecated}}
+
:: {{T|Deprecated}}
::: {{T|Merge}}
+
:: {{T|Merge}}
::: {{T|Mission stub}}
+
:: {{T|Mission stub}}
::: {{T|Move}}
+
:: {{T|Move}}
::: {{T|NPOV}}
+
:: {{T|NPOV}}
::: {{T|Past content}}
+
:: {{T|Past content}}
::: {{T|Stub}}
+
:: {{T|Stub}}
::: {{T|Survival copy}}
+
:: {{T|Survival copy}}
::: {{T|Update}}
+
:: {{T|Update}}
::: {{T|Work in progress}}
+
:: {{T|Work in progress}}
 
;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 11:49, 31 March 2022

Description
This template creates a colored banner with centered text.
Dependencies
Uses:
{{Co}}
Used by:
{{Cleanup}}
{{Deletion}}
{{Deprecated}}
{{Merge}}
{{Mission stub}}
{{Move}}
{{NPOV}}
{{Past content}}
{{Stub}}
{{Survival copy}}
{{Update}}
{{Work in progress}}
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 light salmon banner with a blue border and black text !
References