diff options
author | Arquivo Publico de Memoria Coletiva <arquivo@sarava.org> | 2015-07-31 23:38:38 -0300 |
---|---|---|
committer | Arquivo Publico de Memoria Coletiva <arquivo@sarava.org> | 2015-07-31 23:38:38 -0300 |
commit | df4566af59ba8e453d12f27784bbcd4082cfc666 (patch) | |
tree | 6fffdd129c497f550b2d32831b274dc7cebe6792 /ikiwiki/directive/index.html | |
parent | 1fac146001ef2ed20f20fb5adf802e81452879ce (diff) | |
download | arquivo-df4566af59ba8e453d12f27784bbcd4082cfc666.tar.gz arquivo-df4566af59ba8e453d12f27784bbcd4082cfc666.tar.bz2 |
Initial static site generation
Diffstat (limited to 'ikiwiki/directive/index.html')
-rw-r--r-- | ikiwiki/directive/index.html | 186 |
1 files changed, 186 insertions, 0 deletions
diff --git a/ikiwiki/directive/index.html b/ikiwiki/directive/index.html new file mode 100644 index 00000000000..70818256885 --- /dev/null +++ b/ikiwiki/directive/index.html @@ -0,0 +1,186 @@ +<!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="../../">Arquivo Público de Memória Coletiva</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="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=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">Sex 13 Mai 2011 13:06:00 BRT</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">Sex 13 Mai 2011 13:06:00 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> |