Πρότυπο:Banner
Από Γνωσιακή Βάση Υπηρεσιών και Διαδικασιών του Δημοσίου Τομέα
Αναθεώρηση ως προς 16:47, 11 Ιουνίου 2015 από τον Dkalo (Συζήτηση | συνεισφορές) (Εισήχθη 1 αναθεώρηση)
Χρήση
Γενικά
- 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
Εικόνες
- 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 = text label for button
- buttonpos = position, full syntax css, top:...; right:...; etc
- buttonlink = link, if different from the main/others
Κείμενο
- 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
- submessagesize
- 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