plugin:wrap
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plugin:wrap [2018-03-30 10:24] – [Toolbar picker] Michaelsy | plugin:wrap [2021-03-10 16:46] – [Widths] juergen-aus-zuendorf | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : anika@selfthinker.org | email : anika@selfthinker.org | ||
type : syntax, action, helper | type : syntax, action, helper | ||
- | lastupdate : 2015-07-19 | + | lastupdate : 2018-04-22 |
- | compatible : 2010-11-07 "Anteater", 2011-05-25 "Rincewind", 2012-01-25 "Angua", 2012-10-13 "Adora Belle", "Weatherwax", 2013-12-08 "Binky", 2014-05-05 "Ponder Stibbons", 2014-09-29 "Hrun", 2015-08-10 "Detritus", 2016-06-26 "Elenor Of Tsort", 2017-02-19+ | + | compatible : Anteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor Of Tsort, |
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
- | tags : annotations, | + | tags : |
downloadurl: | downloadurl: | ||
Line 18: | Line 18: | ||
donationurl: | donationurl: | ||
---- | ---- | ||
+ | |||
===== One plugin to rule them all ===== | ===== One plugin to rule them all ===== | ||
Line 35: | Line 36: | ||
===== Installation ===== | ===== Installation ===== | ||
- | Download | + | Search |
===== Syntax ===== | ===== Syntax ===== | ||
Line 82: | Line 83: | ||
The following classes are currently available: | The following classes are currently available: | ||
- | {{ :plugin:wrap_plugin_example9.png? | + | {{ :plugin:wrap_plugin_example10.png? |
^ class name ^ description/ | ^ class name ^ description/ | ||
Line 90: | Line 91: | ||
| **'' | | **'' | ||
| **'' | | **'' | ||
- | | **'' | + | | **'' |
+ | | **'' | ||
^ __widths__ -- :!: **experimental**, | ^ __widths__ -- :!: **experimental**, | ||
| **'' | | **'' | ||
- | | **'' | + | | **'' |
+ | | **'' | ||
| **'' | | **'' | ||
^ __alignments__ -- similar to [[divalign]], | ^ __alignments__ -- similar to [[divalign]], | ||
Line 129: | Line 132: | ||
| **'' | | **'' | ||
| **'' | | **'' | ||
+ | | **'' | ||
| **'' | | **'' | ||
| **'' | | **'' | ||
| **'' | | **'' | ||
- | |||
- | All tables inside a column or box will always be 100% wide. This makes positioning and sizing tables possible and partly replaces [[tablewidth]]. | ||
=== Known restrictions === | === Known restrictions === | ||
- | * WRAPs won' | + | * WRAPs export |
* Round corners only work in modern browsers (no IE8 and below). | * Round corners only work in modern browsers (no IE8 and below). | ||
* Multiple columns only work in modern browsers (no IE9 and below). | * Multiple columns only work in modern browsers (no IE9 and below). | ||
* Width classes are experimental and only work in modern browsers (no IE8 and below). | * Width classes are experimental and only work in modern browsers (no IE8 and below). | ||
- | * Normal DokuWiki Headlines used to not work and a work-around was added. Now that headlines do work, the work-around is not needed anymore but kept for backwards-compatibility. The following syntax would produce two different kinds of emulated headlines inside any of the columns or boxes/notes: | + | * Normal DokuWiki Headlines used to not work and a work-around was added. Now that headlines do work, the work-around is not needed anymore but kept for backwards-compatibility. It was deprecated in version 2018-04-22 and disabled by default. They can be enabled by using the '' |
* %%//**__Big Underlined Headline__**// | * %%//**__Big Underlined Headline__**// | ||
* %%//**Small Headline**// | * %%//**Small Headline**// | ||
+ | * do not include ~~DISCUSSION~~ within a WRAP noprint block | ||
You might need to adjust a few of the classes to your template' | You might need to adjust a few of the classes to your template' | ||
Line 151: | Line 154: | ||
==== Widths ==== | ==== Widths ==== | ||
- | You can set any valid widths on any uppercase %%< | + | You can set any valid widths on any uppercase %%< |
<WRAP someclass 50% anotherclass> | <WRAP someclass 50% anotherclass> | ||
All except percentages will be reduced to have the maximum width available on smaller screens. | All except percentages will be reduced to have the maximum width available on smaller screens. | ||
- | You can also use the width keywords '' | + | You can also use the width keywords '' |
<WRAP group> | <WRAP group> | ||
<WRAP half column> | <WRAP half column> | ||
Line 161: | Line 164: | ||
</ | </ | ||
will result in two columns next to each other, which will wrap underneath each other on smaller screens and mobile devices. | will result in two columns next to each other, which will wrap underneath each other on smaller screens and mobile devices. | ||
+ | |||
+ | |||
+ | ==== Anchor ==== | ||
+ | |||
+ | To define an anchor, the following syntax applies: | ||
+ | <wrap #ankername /> | ||
+ | |||
+ | The anchor is accessible via: ''# | ||
==== Languages and Text Directions ==== | ==== Languages and Text Directions ==== | ||
Line 178: | Line 189: | ||
You can see a demo of the plugin on [[http:// | You can see a demo of the plugin on [[http:// | ||
- | [[https://fotki.yandex.ru/ | + | [[https://yadi.sk/i/ycbENWFjWEduTA|“Examples” (demo) in Russian]] (for v2011-05-15). [[http:// |
===== Configuration options ===== | ===== Configuration options ===== | ||
^ Option | ^ Option | ||
- | |'' | + | |'' |
- | |'' | + | |'' |
- | |'' | + | |'' |
|'' | |'' | ||
|'' | |'' | ||
|'' | |'' | ||
+ | |'' | ||
===== ODT Support ===== | ===== ODT Support ===== | ||
+ | |||
+ | FIXME There have been more updates to the Wrap as well as the ODT plugin, so more stuff works. The below should be updated with what works and what doesn' | ||
Since version 2015-06-13 the Wrap plugin supports exporting most of its functionality/ | Since version 2015-06-13 the Wrap plugin supports exporting most of its functionality/ | ||
Line 308: | Line 322: | ||
==== Localization ==== | ==== Localization ==== | ||
- | You can help me with translations and [[http:// | + | You can help me with translations and [[https:// |
* [[https:// | * [[https:// | ||
Line 323: | Line 337: | ||
===== See also ===== | ===== See also ===== | ||
- | * [[plugin: | + | * [[.: |
+ | * [[.wrap: | ||
===== Discussion ===== | ===== Discussion ===== | ||
Line 338: | Line 353: | ||
+ | Is it possible to edit the selection in the ' |
plugin/wrap.txt · Last modified: 2024-03-07 08:53 by 223.70.253.246