wiki:wrap

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
wiki:wrap [2021/11/25 21:59] – 作成 ともやんwiki:wrap [2022/10/01 02:27] (現在) ともやん
行 1: 行 1:
 from: [[https://www.dokuwiki.org/plugin:wrap|]] from: [[https://www.dokuwiki.org/plugin:wrap|]]
 ====== Wrap Plugin ====== ====== Wrap Plugin ======
 +<code>
 ---- plugin ---- ---- plugin ----
 description: Universal plugin which combines the functionality of many other plugins. Wrap wiki text inside containers (divs or spans) and give them a class (choose from a variety of preset classes), a width and/or a language with its associated text direction. description: Universal plugin which combines the functionality of many other plugins. Wrap wiki text inside containers (divs or spans) and give them a class (choose from a variety of preset classes), a width and/or a language with its associated text direction.
行 19: 行 19:
 donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=11071728 donationurl: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=11071728
 ---- ----
 +</code>
  
 ===== One plugin to rule them all ===== ===== One plugin to rule them all =====
行 351: 行 351:
  
 Example how to add new button into the picker: [[http://webdev.d77.in/downloads/dokuwiki_wrap_prewrap.tar.gz|DokuWiki wrap plugin prewrap patch]]\\ Example how to add new button into the picker: [[http://webdev.d77.in/downloads/dokuwiki_wrap_prewrap.tar.gz|DokuWiki wrap plugin prewrap patch]]\\
-This patch adds button for ''<WRAP prewrap>'' code. --- [[user>denisvs|DenisVS]] //2017-07-11 14:38//+This patch adds button for ''%%<WRAP prewrap>%%'' code. --- [[user>denisvs|DenisVS]] //2017-07-11 14:38//
  
  
行 900: 行 900:
  
 =====How to make space between columns?===== =====How to make space between columns?=====
-I have a wrap layout where I have a <WRAP column 30%> followed by a <WRAP column 60%>, this works OK as far as it goes but the table in the 30% column actually looks much nicer if it's in a 20% column. So I need some way to make a <WRAP column 20%>, then a blank 10% column, then the <WRAP column 60%>. Is there any way of doing this easily?+I have a wrap layout where I have a %%<WRAP column 30%>%% followed by a %%<WRAP column 60%>%%, this works OK as far as it goes but the table in the 30% column actually looks much nicer if it's in a 20% column. So I need some way to make a %%<WRAP column 20%>%%, then a blank 10% column, then the %%<WRAP column 60%>%%. Is there any way of doing this easily?
  
 I tried adding indent but although it sort of worked it's not very good and it seemed to lose the outline round one of my tables.  A way to insert a blank (but space occupying) wrap column would be ideal. I tried adding indent but although it sort of worked it's not very good and it seemed to lose the outline round one of my tables.  A way to insert a blank (but space occupying) wrap column would be ideal.
  
-> If it's only for making the table look different, why don't you add a class around your table? E.g. ''<WRAP narrowtable>...table inside...</WRAP>'' and some CSS which makes the table narrower, e.g. ''.dokuwiki .wrap_narrowtable table { width: 80%; }''. Otherwise you could also add some special column width classes which create a larger margin on the side of the 30% column. --- [[user>ach|Anika Henke]] //2015-05-04 18:03//+> If it's only for making the table look different, why don't you add a class around your table? E.g. ''%%<WRAP narrowtable>%%...table inside...%%</WRAP>%%'' and some CSS which makes the table narrower, e.g. ''.dokuwiki .wrap_narrowtable table { width: 80%; }''. Otherwise you could also add some special column width classes which create a larger margin on the side of the 30% column. --- [[user>ach|Anika Henke]] //2015-05-04 18:03//
  
 ===== config page ala custombuttons? ===== ===== config page ala custombuttons? =====
行 1125: 行 1125:
  
 ===== Responsive float boxes ===== ===== Responsive float boxes =====
-> It seems the float boxes specially when they are used with width attribute are not responsive. Also when you use multiple columns wrap (e.g. <WRAP third column>) they dont adjust themselves in different screens! Please fix it.  --- [[user>atronoush|atronoush]] //2015-10-09 06:30//+> It seems the float boxes specially when they are used with width attribute are not responsive. Also when you use multiple columns wrap (e.g. %%<WRAP third column>%%) they dont adjust themselves in different screens! Please fix it.  --- [[user>atronoush|atronoush]] //2015-10-09 06:30//
  
 >> I cannot reproduce this. Can you please post example syntax that doesn't adjust? --- [[user>ach|Anika Henke]] //2018-03-30 21:06// >> I cannot reproduce this. Can you please post example syntax that doesn't adjust? --- [[user>ach|Anika Henke]] //2018-03-30 21:06//
  • wiki/wrap.1637845158.txt.gz
  • 最終更新: 2021/11/25 21:59
  • by ともやん