<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>tags</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" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="./index.html">ikiwiki</a>/ </span> <span class="title"> tags </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p>While ikiwiki supports hierarchically categorising pages by creating <a href="./ikiwiki/subpage.html">SubPages</a>, that's often not flexible enough, and it can also be useful to tag pages in various non-hierarchical ways.</p> <p>Since this is a wiki, tagging is just a form of linking. The general rule is that all tags are links, but not all links are tags. So a tag is a special link that ikiwiki knows is intended to be used as a tag.</p> <p>Generally you will tag a page without putting a visible link on it. The <a href="./plugins/tag.html">tag plugin</a> allows you to do so, like this:</p> <pre><code>[[!tag mytag othertag thirdtag]] </code></pre> <p>You can also tag a page with a visible link:</p> <pre><code>[[!taglink mytag]] </code></pre> <p>This tag will be displayed just like a regular <a href="./ikiwiki/wikilink.html">WikiLink</a>.</p> <p>One way to use these tags is to create a <a href="./blog.html">blog</a> of pages that have a particular set of tags. Or just look at the <a href="./backlinks.html">BackLinks</a> to a tag page to see all the pages that are tagged with it. <a href="./plugins.html">Plugins</a> can be written to do anything else with tags that you might desire.</p> <p>Once you have tags, you can use the <a href="./plugins/pagestats.html">pagestats</a>, <a href="./plugins/inline.html">inline</a> or <a href="./plugins/map.html">map</a> plugins to generate tag clouds and lists.</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div id="backlinks"> Links: <a href="./features.html">features</a> <a href="./news/ikiwiki_version_2.0.html">news/ikiwiki version 2.0</a> <a href="./roadmap.html">roadmap</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>