A bit of fun with CSIs

Posted by leigerleiger on 1257760128|%A, %e %B %Y, %H:%M

CSIs can be used for almost anything, and could end up entirely replacing the simple action of copy/pasting code!

For example, I've just created a module that you can use which posts the words "Thank you" in large, colourful letters. It will not be added to the CSI modules site because this is just a bit of fun, and not intended to be widely used.

If you want to thank someone — here is a quick way to get your thanks across with minimal effort! Just use this code:

[[include :leiger:module:thankyou]]

There are no attributes for this one (for now, at least)… it's just a really simple CSI!

Known Issue: Does not work from within a page comment, and neither do any other includes.

Preview:




Thank you!



Leave a comment

Ooooh!
James KanjoJames Kanjo 1257766257|%e %b %Y, %H:%M %Z|agohover

It's pretty!


λ James Kanjo | blog | photos | contact

Reply  |  Options
Unfold Ooooh! by James KanjoJames Kanjo, 1257766257|%e %b %Y, %H:%M %Z|agohover
Re: Ooooh!
leigerleiger 1257767230|%e %b %Y, %H:%M %Z|agohover

That's not the word I would have used… but I suppose I can agree with that ;-) There's a problem — if you try to use it you will see it — for some reason the larger text is overwriting any lines of text located before and after it so I had to manually put in lines with an underscore on them to force space to appear:

Preview:

 _
 _

[[include module:thankyou]]

 _
 _

I'll get to fixing it later.

But it just goes to show… if the community were to convert to a forum similar to the NoComment version (once it's complete!), then we could just include the answers to common questions! :D

All replies are actually pages, therefore includes will work.

Last edited on 1257767264|%e %b %Y, %H:%M %Z|agohover By leiger + Show more
Reply  |  Options
Unfold Re: Ooooh! by leigerleiger, 1257767230|%e %b %Y, %H:%M %Z|agohover
Add a New Comment
Page tags: dev thankyou
Please read the Legal Guidelines before using any of my work. In almost all circumstances, you should ask permission first.