MoinMoin - Frame Parser

This parser is used to align enclosed wiki markup or split wiki markup in boxes or just to draw a box around some wiki markup.

Syntax

{{{
#!Frame align=align,thick=thick,style=style,color=color,
        background=background,background_image=background_image,background_repeat=background_repeat,
        position=position,width=width,padding=padding,
        margin=margin,text_align=text_align,text_font_size=text_font_size,
        text_color=text_color
        wiki markup
}}}

Parameters

align:      one of ['left', 'right', 'center', 'justify', 'float:left','float:right', 'clear' or 'clear:both',
                    'clear:left', 'clear:right']
            default: left

thick:      one of ['thin', 'medium','thick'] or any value with a unit of px
            default: thin

style:      one of ['none','hidden', 'dotted', 'dashed', 'solid', 'double',
                    'groove', 'ridge', 'inset',  'outset']
            default: solid

color:      each color which could be verified by web.Color(str(name))
            default: black

background: each color which could be verified by web.Color(str(name))
            default: transparent

background_image: the name of an attachment
                  default: ''

background_repeat: one of ['repeat', 'repeat-x', 'repeat-y', 'no-repeat']
                   default: no-repeat

position:   one of ['static','absolute','relative','fixed','inherit']
            default: relative

width:      a value with the unit %
            default: 'auto'

padding:    up to four values with a unit of ['pt', 'pc','in', 'mm', 'cm', 'px', 'em', 'ex']
            (All values must use the same unit of measure; separate values with a space)
            default: 0

margin:     has to be up to four values with a unit of ['pt', 'pc','in', 'mm', 'cm', 'px', 'em', 'ex']
            (All values must use the same unit of measure; separate values with a space)
            default: 0

text_align: one of ['left', 'right', 'center', 'justify']
            default: left

text_font_size: one of ['xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large',
                        'smaller', 'larger'] or each value of a unit of ['pt', 'pc','in', 'mm', 'cm',
                        'px', 'em', 'ex', '%']
                default: ''

text_color: each which could be verified by web.Color(str(name))
            default: black

div_type: one of ['id', 'class']
          default: '' needs to be used together with div_name

div_name: one of  ['header', 'locationline', 'pageline', 'footer', 'sidepanel', 'pagebottom']
          extend this to your own styles
          default: '' needs to be used together with div_type


wiki markup: could any wiki markup

(For more details on the parameters, check the FAQ page.)

MoinMoin: ParserMarket/Frame/ReleaseNotes (last edited 2008-01-24 15:03:17 by FedericoLorenzi)