Protected page

Template:Notice banner

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search


Banners for parodying Wikimedia's fundraising and the like - previously used banners can be seen on the project page.


{{Notice banner
|message = Please read:<br>A rather gay appeal<br>from Wikia representative Sannse
|css=sannseh6
|imgleft=File:Sannse2 banner size.png
|imgright=File:Rug thingy.png
|imgrightsize = 200px
|imgrightpos = top:-55px; right:-70px;
|border = solid 2px #5a544b
|color = #3e2a23
|aside = '''Wikia announcement:'''<br>You're all going to <censored>.
|asidecolor=#efe5d6
}}

Yields:


Usage

General

css = custom css class
color = main colour
colora = other colour
colorb = other colour
bkcolor = background colour
bordercolor = border and close x colour
border = border: css attributes for border
height = box height
content = for custom content and formatting; replaces all of the following
containerother = other css, full syntax

Images

imgright = image on right; set to 'none' to hide default
imgrightsize
imgrightpos = for position, full syntax css, top:...; right:...; etc
imgrightlink
imgleft = image on left; set to 'none' to hide default
imgleftsize
imgleftpos
imgleftlink

Button

button = text label for button
buttonpos = position, full syntax css, top:...; right:...; etc
buttonlink = link, if different from the main/others

Text

message = main message
messageimage = image to use if not using text
messagelink
messagepos = left, center or right
messageoffset = offset margin from indicated side
topoffset = to adjust offset margin from top (only use if visibly wrong)
messagesize = image size or block size for when centred or trying to prevent overflow
messagefontsize
messageweight = set to 'normal' to not bold
messageother = other css, full syntax
submessage = secondary message, probably to go under the main
submessagelink
submessagetopoffset = offset from top/message
submessagefontsize
submessageother = other css, full syntax
aside = aside message
asidelink = aside link
asideposition = css - top:...; right:...; etc
asideheight = height for aside block
asidewidth = width for aside block
asidemargin = margin to offset
asidecolor = colour for aside text
asidefontsize
asidelineheight