#{verbatim}
@args String id, String html, String title, List<String> modules, List<String> apis, String module;
<html>
    <head>
        <title>Play manual - @title</title>
        <link rel="stylesheet" href="@_u(/public/playmanual/manual.css)" type="text/css" media="screen" charset="@_response_encoding">
        <link rel="stylesheet" href="@_u(/public/playmanual/wiki.css)" type="text/css" media="screen" charset="@_response_encoding">
        <script type="text/javascript" src="@_u(/public/playmanual/jquery-1.3.2.min.js)"></script>
        <script type="text/javascript" src="@_u(/public/playmanual/navigation.js)"></script>
    </head>
    <body>
        <div class="wrapper">

            <div id="docSidebar">
                
                <div id="logo">
                    <img src="@_u(/public/playmanual/logo.png)">                
                    <h2 id="version">Play ${play.version}</h2>
                </div>

                @{
                    String s = module;
                    if (null != s) {
                        s = "(" + play.templates.JavaExtensions.capitalizeWords(module) + ")";
                    } else {
                        s = "";
                    }
                }@
                <h2>Browse @s</h2>
                <ul>
                    @if (null != module)
                         <li id="gotoc"><a href="/@@documentation">Documentation home</a></li>
                    }
                    @{
                        if (null != module) {
                            s = play.templates.JavaExtensions.capitalizeWords(module) + "-";
                        } else {
                            s = "";
                        }
                    }@
                    <li id="gotoc"><a href="home">@(s)Table of contents</a></li>
                </ul>
                
                @if (null != modules)
                    <h2>Installed modules</h2>
                    <ul>
                        @for (String module: modules) {
                            <li>
                                <a href="modules/@module/home">@module.capitalizeWords()</a>
                                @if (apis.contains(module)) {
                                    — <a href="/@@api/-@module/index.html">Browse API</a>
                                }
                            </li>
                        }
                    </ul>
                }

                <h2>Contents</h2>
                <div id="toc"></div>

                <h2>Search</h2>
                <p>Get help with google</p>
                <div id="searchBox"><form action="http://www.google.com/cse" id="cse-search-box"><div><input type="hidden" name="cx" value="002614023023983855063:jn1mu_7bof0" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" size="28" style="font-size:14px"/></div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=en"></script></div>

            </div>

            <div id="pageContent">

                <div class="wikistyle">@html</div>

            </div>

        </div>
    </body>
</html>
#{/verbatim}