Difference between revisions of "Template:Banner/doc"

From EVE University Wiki
Jump to: navigation, search
m (Update to code change. Typo)
m (Add dependencies)
Line 11: Line 11:
 
::: {{T|Mission stub}}
 
::: {{T|Mission stub}}
 
::: {{T|Move}}
 
::: {{T|Move}}
 +
::: {{T|NPOV}}
 +
::: {{T|Past content}}
 
::: {{T|Stub}}
 
::: {{T|Stub}}
 
::: {{T|Survival copy}}
 
::: {{T|Survival copy}}
 
::: {{T|Update}}
 
::: {{T|Update}}
 +
::: {{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}}
Line 22: Line 25:
 
; Sample output
 
; Sample output
 
: {{Code|<nowiki>{{Banner|This is a banner!}}</nowiki> gives...}} {{Banner|This is a banner!}}
 
: {{Code|<nowiki>{{Banner|This is a banner!}}</nowiki> gives...}} {{Banner|This is a banner!}}
: {{Code|<nowiki>{{Banner|color= LightSalmon|border= blue|text= #000000|This is a light salmon banner with a blue border and black text !}}</nowiki> gives...}} {{Banner|color= LightSalmon|border= blue|text= #000000|This is a yellow banner with a blue border and black text !}}
+
: {{Code|<nowiki>{{Banner|color= LightSalmon|border= blue|text= #000000|This is a light salmon banner with a blue border and black text !}}</nowiki> gives...}} {{Banner|color= LightSalmon|border= blue|text= #000000|This is a light salmon banner with a blue border and black text !}}
 
; References
 
; References
 
<references />
 
<references />
  
 
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 12:06, 25 October 2021

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