<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>pagetemplate</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../../style.css" type="text/css" /> <link rel="stylesheet" href="../../local.css" type="text/css" /> <meta name="robots" content="noindex, follow" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../../index.html">ikiwiki</a>/ <a href="../../ikiwiki.html">ikiwiki</a>/ <a href="../directive.html">directive</a>/ </span> <span class="title"> pagetemplate </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p>The <code>pagetemplate</code> directive is supplied by the <a href="http://ikiwiki.info/plugins/pagetemplate/">pagetemplate</a> plugin.</p> <p>This directive allows a page to be displayed using a different <a href="../../templates.html">template</a> than the default <code>page.tmpl</code> template.</p> <p>The page text is inserted into the template, so the template controls the overall look and feel of the wiki page. This is in contrast to the <a href="./template.html">template</a> directive, which allows inserting templates <em>into</em> the body of a page.</p> <pre><code>[[!pagetemplate template="my_fancy.tmpl"]] </code></pre> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div id="backlinks"> Links: <a href="../../plugins/pagetemplate.html">plugins/pagetemplate</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>