DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:wrap:extensions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
plugin:wrap:extensions [2019-08-25 06:32]
Aleksandr [Poems]
plugin:wrap:extensions [2019-08-25 18:34] (current)
Aleksandr
Line 5: Line 5:
 These are some extensions to the [[..|Wrap Plugin]] created by users. Add these to your template’s screen.css. These are some extensions to the [[..|Wrap Plugin]] created by users. Add these to your template’s screen.css.
  
-\\ +
-\\+
 ===== Padding ===== ===== Padding =====
  
Line 32: Line 31:
 Usage: ''​%%<​div vert_space></​div>​%%'' ​ Usage: ''​%%<​div vert_space></​div>​%%'' ​
  
-\\ 
-\\ 
 ===== HTML5 columns ===== ===== HTML5 columns =====
  
Line 65: Line 62:
 </​code>​ </​code>​
  
-\\ 
-\\ 
 ===== Full width images ===== ===== Full width images =====
  
Line 83: Line 78:
  
  
-\\ 
-\\ 
 ===== Evenly spaced boxes ===== ===== Evenly spaced boxes =====
 +
 Create multiple wrap boxes of equal height, spaced evenly across the page. This is less error-prone and better looking than using x%, left/right, half or third or quarter. It won't work in IE 9 or lower. ​  --- [[user>​zioth|zioth]] //​2018-11-08//​ Create multiple wrap boxes of equal height, spaced evenly across the page. This is less error-prone and better looking than using x%, left/right, half or third or quarter. It won't work in IE 9 or lower. ​  --- [[user>​zioth|zioth]] //​2018-11-08//​
  
Line 108: Line 102:
     <div box>​Box3</​div>​     <div box>​Box3</​div>​
   </​div>​   </​div>​
-\\ 
-\\ 
  
 ===== Content Nice Boxes ===== ===== Content Nice Boxes =====
 +
 **[[http://​deseng.ryerson.ca/​dokuwiki/​wiki:​content_blocks_with_wrap|Examples]]** **[[http://​deseng.ryerson.ca/​dokuwiki/​wiki:​content_blocks_with_wrap|Examples]]**
  
Line 229: Line 222:
  
 --- [[user>​florious|florious]] //​2019-03-19 15:09// --- [[user>​florious|florious]] //​2019-03-19 15:09//
- 
-\\ 
-\\ 
  
 ===== Change format of any ordered list ===== ===== Change format of any ordered list =====
Line 315: Line 305:
 </​file>​ </​file>​
  
-\\ 
-\\ 
 ===== Simpler boxes ===== ===== Simpler boxes =====
  
Line 422: Line 410:
 ===== Replace the Note Plugin ===== ===== Replace the Note Plugin =====
  
-If you want the wrap plugin to handle the syntax of the [[plugin:​note|Note Plugin]], then add this file in the syntax directory of the wrap plugin (''​lib/​plugins/​wrap/​syntax/''​). When you're done, you can remove the note plugin. ''<​note>​...</​note>''​ will be handled by the wrap plugin. There is no need to rewrite your pages.+If you want the wrap plugin to handle the syntax of the [[plugin:​note|Note Plugin]], then add this file in the syntax directory of the wrap plugin (''​lib/​plugins/​wrap/​syntax/''​). When you're done, you can remove the note plugin. ''​%%<​note>​...</​note>​%%''​ will be handled by the wrap plugin. There is no need to rewrite your pages.
  
 <code php syntax/​divnote.php>​ <code php syntax/​divnote.php>​
Line 489: Line 477:
 } }
 </​code>​ </​code>​
 +
 Bonus --- if [[plugin:​icons]] installed Bonus --- if [[plugin:​icons]] installed
 +
 <code css> <code css>
 span.wrap_poem:​before ​ span.wrap_poem:​before ​
Line 502: Line 492:
  
   * [[plugin:​data:​list_of_employees|DokuWiki usecase: List of employees]]   * [[plugin:​data:​list_of_employees|DokuWiki usecase: List of employees]]
 +
plugin/wrap/extensions.txt · Last modified: 2019-08-25 18:34 by Aleksandr