diff options
Diffstat (limited to 'share/templater/ikiwiki/files/www/ikiwiki/directive/index.html')
-rw-r--r-- | share/templater/ikiwiki/files/www/ikiwiki/directive/index.html | 187 |
1 files changed, 0 insertions, 187 deletions
diff --git a/share/templater/ikiwiki/files/www/ikiwiki/directive/index.html b/share/templater/ikiwiki/files/www/ikiwiki/directive/index.html deleted file mode 100644 index 79ebcdd..0000000 --- a/share/templater/ikiwiki/files/www/ikiwiki/directive/index.html +++ /dev/null @@ -1,187 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - -<head> -<meta name="viewport" content="width=device-width, initial-scale=1.0" /> - -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<title>directive</title> - -<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css" type="text/css" /> -<link rel="stylesheet" href="../../bootstrap/css/bootstrap-responsive.min.css" /> - -<link rel="stylesheet" href="../../local.css" type="text/css" /> - - - - -<meta name="robots" content="noindex, follow" /> -<style type="text/css"> -@media (max-width: 979px) { - .navbar-fixed-top { - position: fixed; - margin-left: 0px; - margin-right: 0px; - } -} -</style> -</head> -<body> - -<div class="container"> - - <div class="row-fluid"> - <div class="span12"> - <h1></h1> - - <ul class="breadcrumb"> - - <li><a href="../../">Templates</a> <span class="divider">/</span> </li> - - <li><a href="../">ikiwiki</a> <span class="divider">/</span> </li> - - <li>directive</li> - <li><span class="divider">|</span> <a href="/timeline">Timeline</a></li> - <li><span class="divider">|</span> <a href="/timeline">Sitemap</a></li> - <li><span class="divider">|</span> <a href="https://git.fluxo.info/templates/log/ikiwiki/directive.mdwn">History</a></li> - <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> - </ul> - </div> - </div> - - <div class="page row-fluid"> - - <div> - <div class="pageheader"> - <div class="header"> - <h1> - directive - - </h1> - - </div> - - </div> - - <div id="pagebody"> - - <div id="content"> - <p class="pagedate"> - <strong>Posted <span class="date">Qua 11 Jan 2017 16:18:52 -02</span></strong> - </p> - <p>Directives are similar to a <a href="../wikilink/">WikiLink</a> in form, except they -begin with <code>!</code> and may contain parameters. The general form is:</p> - -<pre><code>[[!directive param="value" param="value"]] -</code></pre> - -<p>This gets expanded before the rest of the page is processed, and can be used -to transform the page in various ways.</p> - -<p>The quotes around values can be omitted if the value is a simple word. -Also, some directives may use parameters without values, for example:</p> - -<pre><code>[[!tag foo]] -</code></pre> - -<p>A directive does not need to all be on one line, it can be -wrapped to multiple lines if you like:</p> - -<pre><code>[[!directive foo="baldersnatch" -bar="supercalifragilisticexpialidocious" baz=11]] -</code></pre> - -<p>Also, multiple lines of <em>quoted</em> text can be used for a value. -To allow quote marks inside the quoted text, delimit the block -of text with triple-double-quotes or triple-single-quotes:</p> - -<pre><code>[[!directive text=""" -1. "foo" -2. "bar" -3. "baz" -""" othertext=''' -1. 'quux' -2. "foo" -''']] -</code></pre> - -<p>If you want to put text with triple quotes into a parameter value, you can -use perl-style here-doc syntax, even nesting it like this:</p> - -<pre><code>[[!directive text=<<OUTER -[[!otherdirective <<INNER -inner text -INNER]] -outer text -OUTER]] -</code></pre> - -<p>ikiwiki also has an older syntax for directives, which requires a space in -directives to distinguish them from <a href="../wikilink/">wikilinks</a>. This -syntax has several disadvantages: it requires a space after directives with -no parameters (such as <code>[[pagecount ]]</code>), and it prohibits spaces in -<a href="../wikilink/">wikilinks</a>. ikiwiki now provides the <code>!</code>-prefixed -syntax shown above as default. However, ikiwiki still supports wikis using -the older syntax, if the <code>prefix_directives</code> option is disabled.</p> - - </div> - - <hr /> - - - - - - </div> - - <div id="footer" class="pagefooter"> - - <div id="pageinfo"> - - - - - <div id="backlinks"> - Links: - - <a href="../formatting/">formatting</a> - - <a href="../">ikiwiki</a> - - <a href="../markdown/">markdown</a> - - <a href="../pagespec/sorting/">pagespec/sorting</a> - - <a href="../../shortcuts/">shortcuts</a> - - - </div> - - - - - - - <!--<div class="pagedate"> - Last edited <span class="date">Qua 11 Jan 2017 16:18:52 -02</span> - </div> --> - - </div> - - - <!-- from Templates --> - </div> - - </div> - - <div class="span4"> - - - - </div> - - </div> -</div> - -</body> -</html> |