[[div]], [[table]] & [[collapsible]] via Includes
This package provides a simple table opener, which contains a include variables in the class and style attributes. This is useful for using custom-tables inside of the ListPages Module's prependLine.
Instructions
To install this package in your site, create/edit these pages with the following content:
Contains this line | [[include :csi:include:div |class=whatever |style=whatever]] |
---|---|
Contains this line | [[include :csi:include:table |class=whatever |style=whatever]] |
Contains this line | [[include :csi:include:collapsible |show=whatever |hide=whatever |hideLocation=whatever |folded=whatever]] |
Contains this line | [[include :csi:include:close |block=div, table, or collapsible |prepend=whatever]] |
Contains this line | [[include :csi:include:image |class=whatever |style=whatever |link=whatever |alt=whatever |size=whatever |height=whatever |width=whatever]] |
Include files
close | By James Kanjo | 06 May 2014 06:34 |
collapsible | By James Kanjo | 09 May 2010 17:10 |
collapsible-end | By James Kanjo | 06 May 2014 06:05 |
div | By James Kanjo | 09 May 2010 16:41 |
div-end | By James Kanjo | 06 May 2014 06:01 |
image | By James Kanjo | 09 May 2010 18:54 |
table | By James Kanjo | 02 May 2010 12:22 |
table-end | By James Kanjo | 06 May 2014 06:05 |
Comments: 3
page revision: 6, last edited: 06 May 2014 06:37
Can you point us to some examples where we can see this in use?
Community Admin
Hi Ed!
Sorry I didn't see your question 4 years ago!
One example of where this is in use, is on this very site: package:_template
This is also in use on a lot of pages of mine, including some Wikidot applications I've made.
However, using the backlinks feature on the individual includes shows "No pages directly include this page".
This is because the ListPages modules are including the CSIs through a prependLine or appendLine function, and Wikidot can't detect this. If Wikidot can't detect it, the backlinks show no includes (even though they are being included).
So yes, this is highly useful for overcoming the limitation of using only a single line of code within ListPages's "prependLine" and "appendLine" values.
Cheers!
λ James Kanjo
Blog | Wikidot Expert | λ and Proud
Web Developer | HTML | CSS | JavaScript
A delayed response is better than no response at all :)
Got quite a few emails about you updating this, and decided to check what it was all about.
I remember this CSI site being created. Hard to believe how much time has passed!
~ Shane (Wikidot Community Admin - Volunteer)
Wikidot: Wikidot Editor, Official Docs
Other: YouTube (gaming, primarily Minecraft)