Difference between revisions of "User:Evon R'al/Sandbox template/doc"

From EVE University Wiki
Jump to: navigation, search
m (creating {{Banner}} documentation)
m (Blank page for next project.)
Tag: Blanking
 
(91 intermediate revisions by 2 users not shown)
Line 1: Line 1:
; Description
 
: This template creates a colored banner with centered text.
 
; Dependencies
 
:: Uses:
 
::: {{T|Co}}
 
:: Used by:
 
:::
 
;Syntax
 
:{{T|Banner|2=color= |3=border= |4=text= |5=content}}
 
:: color - Color of the banner background. If omitted the background color is {{Co|gray|gray}}. 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|#FF0000}}).
 
:: banner - Color of the border of the banner. If omitted the border color is {{Co|red|red}}.
 
:: text - Color of the text in the banner. If omitted the text color is {{Co|white|white}}.
 
:: content - The content of the banner
 
; Sample output
 
: {{Code|<nowiki>{{Banner|This is a banner!}}</nowiki> gives...}} {{:User:Evon R'al/Sandbox template|This is a banner!}}
 
: {{Code|<nowiki>{{Banner|color= yellow|border= red|text= black|This is a yellow banner with a red border and black text !}}</nowiki> gives...}} {{:User:Evon R'al/Sandbox template|color= yellow|border= red|text= black|This is a yellow banner with a red border and black text !}}
 
; References
 
<references />
 
  
 
<includeonly>Any categories for the template itself</includeonly><noinclude>[[Category:Template documentation]]</noinclude>
 

Latest revision as of 12:49, 4 June 2023