Wiki source for StubText


Show raw source

====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)
<?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
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki