[pmwiki-users] Edit template to use for documenting a new skin?
tamouse mailing lists
tamouse.lists at gmail.com
Mon Sep 17 22:19:06 CDT 2012
On Mon, Sep 17, 2012 at 10:08 PM, Ian MacGregor <ardchoille42 at gmail.com> wrote:
> I always include only the basics in the .tmpl file and the rest in a wiki
> page. Here is what I usually put in the .tmpl file, minus the html and
> div/span bits:
>
> $WikiTitle | {$Group} / {$Title} $ActionTitle
> <!--HTMLHeader-->
> <!--PageHeaderFmt-->
> <a href='{$ScriptUrl}'>$WikiTitle</a>
> <a href='{$ScriptUrl}/$[{$SiteGroup}/Search]'>$[Search]</a>:
> <!--/PageHeaderFmt-->
> <!--PageLeftFmt-->
> <!--wiki:{$Group}.SideBar {$SiteGroup}.SideBar-->
> <!--/PageLeftFmt-->
> <!--PageActionFmt-->
> <!--wiki:{$Group}.PageActions {$SiteGroup}.PageActions-->
> <!--PageTitleFmt-->
> <a href='{$ScriptUrl}/{$Group}'>{$Group}</a> / {$Title}
> <!--PageText-->
> <!--PageFooterFmt-->
> $[Page last modified on {$LastModified}]
> <!--HTMLFooter-->
>
> I use the SkinChange recipe on my site and have several skins. The other
> skins might miss some features if I put too much into the .tmpl or CSS
> files.
Just for comparison's sake, here's what the current MouseSkin template
looks like:
https://gitorious.org/pmwikistuff/mouse-skin/blobs/master/skin.tmpl
More information about the pmwiki-users
mailing list