Insert Boilerplate Stub Explanation

by DavePreston

This is the simplest action imaginable, but I find it useful and I hope someone else does, too.

<?php
    /**
    * stubtext.php
    * Insert stub explanation text.
    *
    * Usage {{stubtext}}
    * (no parameters)
    *
    * DavePreston (www.davepreston.me.uk)
    */

    echo $this->Format('>>===Note===This page is a [[Stub]] - you can help make this Wiki more useful by adding information to it. Just click on the "Edit page" link at the bottom left of the page or double-click on the page text. (You will have to [[UserSettings | Register]] as a member first.)>>');
?>


You may need to make minor changes to reflect a different page layout and/or delete the requirement to register, or whatever, but it does save a bit of time and provide a nice consistency of layout.


CategoryUserContributions
Comments
Comment by BrianKoontz
2006-10-08 09:53:03
We need to gather all these little actions together into a "best of" collection!

I'm a big fan of little actions that do one thing and one thing well. They should be painless to install (preferably from an admin dashboard) and easy to find. Thanks for the contribution, and keep them coming!
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki