| Both sides previous revision Previous revision Next revision | Previous revision |
| wiki:plugins:wrap [2010/07/15 21:42] – becker | wiki:plugins:wrap [2012/03/29 09:10] (current) – external edit 127.0.0.1 |
|---|
| ====== Wrap Plugin ====== | ====== Wrap Plugin ====== |
| | http://www.dokuwiki.org/plugin:wrap |
| |
| ---- plugin ---- | ---- plugin ---- |
| |
| ^class name^description/notes^ | ^class name^description/notes^ |
| ^__columns__ -- similar to [[http://www.dokuwiki.org/plugin:columns]], [[http://www.dokuwiki.org/plugin:side_note]], [[http://www.dokuwiki.org/plugin:styler]], [[http://www.dokuwiki.org/plugin:tip]]^^ | ^__columns__ -- similar to [[http://www.dokuwiki.org/plugin:columns|columns]], [[http://www.dokuwiki.org/plugin:side_note|side_note]], [[http://www.dokuwiki.org/plugin:styler|styler]], [[http://www.dokuwiki.org/plugin:tip|tip]]^^ |
| |**''column''** | same as ''left'' in LTR languages and same as ''right'' in RTL languages| | |**''column''** | same as ''left'' in LTR languages and same as ''right'' in RTL languages| |
| |**''left''** | same as ''column'', will let you float your container on the left | | |**''left''** | same as ''column'', will let you float your container on the left | |
| |**''right''** | will let the container float right | | |**''right''** | will let the container float right | |
| |**''center''** | will position the container in the horizontal center of the page | | |**''center''** | will position the container in the horizontal center of the page | |
| ^__alignments__ -- similar to [[http://www.dokuwiki.org/plugin:divalign]], [[http://www.dokuwiki.org/plugin:columns]], [[http://www.dokuwiki.org/plugin:styler]] -- :!: don't work with spans, i.e. lowercase ''%%<wrap>%%''s!^^ | ^__alignments__ -- similar to [[http://www.dokuwiki.org/plugin:divalign|divalign]], [[http://www.dokuwiki.org/plugin:columns|columns]], [[http://www.dokuwiki.org/plugin:styler|styler]] -- :!: don't work with spans, i.e. lowercase ''%%<wrap>%%''s!^^ |
| |**''leftalign''** | aligns text on the left | | |**''leftalign''** | aligns text on the left | |
| |**''rightalign''** | aligns text on the right | | |**''rightalign''** | aligns text on the right | |
| |**''centeralign''** | centers the text | | |**''centeralign''** | centers the text | |
| |**''justify''** | justifies the text | | |**''justify''** | justifies the text | |
| ^__boxes and notes__ -- similar to [[http://www.dokuwiki.org/plugin:box]], [[http://www.dokuwiki.org/plugin:note]], [[http://www.dokuwiki.org/plugin:tip]]^^ | ^__boxes and notes__ -- similar to [[http://www.dokuwiki.org/plugin:box|box]], [[http://www.dokuwiki.org/plugin:note|note]], [[http://www.dokuwiki.org/plugin:tip|tip]]^^ |
| |**''box''** | creates a box around the container (uses colours from ''style.ini'') | | |**''box''** | creates a box around the container (uses colours from ''style.ini'') | |
| |**''info''** (was ''information'' in first version)| creates a blue box with an info icon | | |**''info''** (was ''information'' in first version)| creates a blue box with an info icon | |
| |**''notice''** | creates a blue notice safety note | | |**''notice''** | creates a blue notice safety note | |
| |**''safety''** | creates a green safety note | | |**''safety''** | creates a green safety note | |
| ^__marks__ -- similar to [[http://www.dokuwiki.org/plugin:hilited]], [[http://www.dokuwiki.org/plugin:emphasis]], [[http://www.dokuwiki.org/plugin:important_paragraf]], [[http://www.dokuwiki.org/plugin:important_text]]^^ | ^__marks__ -- similar to [[http://www.dokuwiki.org/plugin:hilited|hilited]], [[http://www.dokuwiki.org/plugin:emphasis|emphasis]], [[http://www.dokuwiki.org/plugin:important_paragraf|important_paragraf]], [[http://www.dokuwiki.org/plugin:important_text|important_text]]^^ |
| |**''hi''** | marks text as highlighted | | |**''hi''** | marks text as highlighted | |
| |**''lo''** | marks text as less significant | | |**''lo''** | marks text as less significant | |
| |**''em''** | marks text as especially emphasised | | |**''em''** | marks text as especially emphasised | |
| ^__typography__ (not recommended) -- similar to [[http://www.dokuwiki.org/plugin:typography]], [[http://www.dokuwiki.org/plugin:styler]], [[http://www.dokuwiki.org/plugin:color]], [[http://www.dokuwiki.org/plugin:fontcolor]], [[http://www.dokuwiki.org/plugin:highlight]], [[http://www.dokuwiki.org/plugin:fontsize]], [[http://www.dokuwiki.org/plugin:fontsize2]], [[http://www.dokuwiki.org/plugin:fontfamily]]^^ | ^__typography__ (not recommended) -- similar to [[http://www.dokuwiki.org/plugin:typography|typography]], [[http://www.dokuwiki.org/plugin:styler|styler]], [[http://www.dokuwiki.org/plugin:color|color]], [[http://www.dokuwiki.org/plugin:fontcolor|fontcolor]], [[http://www.dokuwiki.org/plugin:highlight|hilight]], [[http://www.dokuwiki.org/plugin:fontsize|fontsize]], [[http://www.dokuwiki.org/plugin:fontsize2|fontsize2]], [[http://www.dokuwiki.org/plugin:fontfamily|fontfamily]]^^ |
| |''sansserif'', ''serif'', ''monospace'' | changes the font family | | |''sansserif'', ''serif'', ''monospace'' | changes the font family | |
| |''bigger'', ''muchbigger'', ''smaller'' | changes the font size | | |''bigger'', ''muchbigger'', ''smaller'' | changes the font size | |
| |''bgred'', ''bggreen'', ''bgblue'', ''bgcyan'', ''bgviolet'', ''bgyellow'', ''bggrey'', ''bgwhite'', ''bgblack'' | changes the background colour| | |''bgred'', ''bggreen'', ''bgblue'', ''bgcyan'', ''bgviolet'', ''bgyellow'', ''bggrey'', ''bgwhite'', ''bgblack'' | changes the background colour| |
| ^__miscellaneous__^^ | ^__miscellaneous__^^ |
| |**''clear''** | similar to [[http://www.dokuwiki.org/plugin:clearfloat]], should preferably be used with divs, i.e. uppercase ''%%<WRAP>%%''s | | |**''clear''** | similar to [[http://www.dokuwiki.org/plugin:clearfloat|clearfloat]], should preferably be used with divs, i.e. uppercase ''%%<WRAP>%%''s | |
| |**''hide''** | hides the text per CSS (the text will still appear in the source code, in non-modern browsers and is searchable) | | |**''hide''** | hides the text per CSS (the text will still appear in the source code, in non-modern browsers and is searchable) | |
| |**''noprint''** | displays text on the screen, but not in print, similar to [[http://www.dokuwiki.org/plugin:noprint]] | | |**''noprint''** | displays text on the screen, but not in print, similar to [[http://www.dokuwiki.org/plugin:noprint]] | |
| |**''prewrap''** | wraps text inside pre-formatted code blocks, similar to [[http://www.dokuwiki.org/plugin:wpre]] | | |**''prewrap''** | wraps text inside pre-formatted code blocks, similar to [[http://www.dokuwiki.org/plugin:wpre]] | |
| |
| All tables inside a column or box will always be 100% wide. This makes positioning and sizing tables possible and partly replaces [[http://www.dokuwiki.org/plugin:tablewidth]]. | All tables inside a column or box will always be 100% wide. This makes positioning and sizing tables possible and partly replaces [[http://www.dokuwiki.org/plugin:tablewidth|pagewidth]]. |
| |
| === Known restrictions === | === Known restrictions === |