# LOCALE translation of basewiki pages for ikiwiki. # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the ikiwiki package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ikiwiki basewiki 2.62.1\n" "POT-Creation-Date: 2009-05-25 23:07+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit" #. type: Plain text #: directive.mdwn:1 ikiwiki.mdwn:1 ikiwiki/blog.mdwn:1 ikiwiki/directive.mdwn:1 ikiwiki/formatting.mdwn:2 ikiwiki/markdown.mdwn:1 ikiwiki/openid.mdwn:2 ikiwiki/pagespec.mdwn:1 ikiwiki/pagespec/attachment.mdwn:1 ikiwiki/preprocessordirective.mdwn:2 ikiwiki/searching.mdwn:1 ikiwiki/subpage.mdwn:1 ikiwiki/subpage/linkingrules.mdwn:1 ikiwiki/wikilink.mdwn:1 templates.mdwn:1 #, no-wrap msgid "[[!meta robots=\"noindex, follow\"]]\n" msgstr "" #. type: Plain text #: directive.mdwn:4 ikiwiki/directive.mdwn:4 msgid "" "Directives are similar to a [[ikiwiki/WikiLink]] in form, except they begin " "with `!` and may contain parameters. The general form is:" msgstr "" #. type: Plain text #: directive.mdwn:6 ikiwiki/directive.mdwn:6 #, no-wrap msgid "\t\\[[!directive param=\"value\" param=\"value\"]]\n" msgstr "" #. type: Plain text #: directive.mdwn:9 ikiwiki/directive.mdwn:9 msgid "" "This gets expanded before the rest of the page is processed, and can be used " "to transform the page in various ways." msgstr "" #. type: Plain text #: directive.mdwn:12 ikiwiki/directive.mdwn:12 msgid "" "The quotes around values can be omitted if the value is a simple word. " "Also, some directives may use parameters without values, for example:" msgstr "" #. type: Plain text #: directive.mdwn:14 ikiwiki/directive.mdwn:14 #, no-wrap msgid "\t\\[[!tag foo]]\n" msgstr "" #. type: Plain text #: directive.mdwn:17 ikiwiki/directive.mdwn:17 msgid "" "A directive does not need to all be on one line, it can be wrapped to " "multiple lines if you like:" msgstr "" #. type: Plain text #: directive.mdwn:20 ikiwiki/directive.mdwn:20 #, no-wrap msgid "" "\t\\[[!directive foo=\"baldersnatch\"\n" "\tbar=\"supercalifragilisticexpialidocious\" baz=11]]\n" msgstr "" #. type: Plain text #: directive.mdwn:24 ikiwiki/directive.mdwn:24 msgid "" "Also, multiple lines of *quoted* text can be used for a value. To allow " "quote marks inside the quoted text, delimit the block of text with " "triple-quotes:" msgstr "" #. type: Plain text #: directive.mdwn:25 ikiwiki/directive.mdwn:25 #, no-wrap msgid "\t\\[[!directive text=\"\"\"\n" msgstr "" #. type: Bullet: ' 1. ' #: directive.mdwn:29 ikiwiki/directive.mdwn:29 msgid "\"foo\"" msgstr "" #. type: Bullet: ' 2. ' #: directive.mdwn:29 ikiwiki/directive.mdwn:29 msgid "\"bar\"" msgstr "" #. type: Bullet: ' 3. ' #: directive.mdwn:29 ikiwiki/directive.mdwn:29 msgid "\"baz\"" msgstr "" #. type: Plain text #: directive.mdwn:40 ikiwiki/directive.mdwn:40 msgid "" "ikiwiki also has an older syntax for directives, which requires a space in " "directives to distinguish them from [[wikilinks|ikiwiki/wikilink]]. This " "syntax has several disadvantages: it requires a space after directives with " "no parameters (such as `\\[[pagecount ]]`), and it prohibits spaces in " "[[wikilinks|ikiwiki/wikilink]]. ikiwiki now provides the `!`-prefixed " "syntax shown above as the preferred alternative. However, ikiwiki still " "supports wikis using the older syntax, if the `prefix_directives` option is " "not enabled. For backward compatibility with existing wikis, this option " "currently defaults to off, so ikiwiki supports the old syntax." msgstr "" #. type: Plain text #: directive.mdwn:41 ikiwiki/directive.mdwn:41 ikiwiki/formatting.mdwn:103 #, no-wrap msgid "[[!if test=\"enabled(listdirectives)\" then=\"\"\"\n" msgstr "" #. type: Plain text #: directive.mdwn:43 ikiwiki/directive.mdwn:43 msgid "Here is a list of currently available directives in this wiki:" msgstr "" #. type: Plain text #: directive.mdwn:44 ikiwiki/directive.mdwn:44 #, no-wrap msgid "[[!listdirectives ]]\n" msgstr "" #. type: Plain text #: ikiwiki.mdwn:6 #, no-wrap msgid "" "This wiki is powered by [ikiwiki](http://ikiwiki.info/).\n" "[[!if test=\"enabled(version)\"\n" " then=\"(Currently running version [[!version ]].)\"\n" "]]\n" msgstr "" #. type: Plain text #: ikiwiki.mdwn:8 msgid "Some documentation on using ikiwiki:" msgstr "" #. type: Bullet: '* ' #: ikiwiki.mdwn:16 msgid "[[ikiwiki/formatting]]" msgstr "" #. type: Bullet: '* ' #: ikiwiki.mdwn:16 msgid "[[ikiwiki/wikilink]]" msgstr "" #. type: Bullet: '* ' #: ikiwiki.mdwn:16 msgid "[[ikiwiki/subpage]]" msgstr "" #. type: Bullet: '* ' #: ikiwiki.mdwn:16 msgid "[[ikiwiki/pagespec]]" msgstr "" #. type: Bullet: '* ' #: ikiwiki.mdwn:16 msgid "[[ikiwiki/directive]]" msgstr "" #. type: Bullet: '* ' #: ikiwiki.mdwn:16 msgid "[[ikiwiki/markdown]]" msgstr "" #. type: Bullet: '* ' #: ikiwiki.mdwn:16 msgid "[[ikiwiki/openid]]" msgstr "" #. type: Bullet: '* ' #: ikiwiki.mdwn:16 msgid "[[ikiwiki/searching]]" msgstr "" #. type: Plain text #: ikiwiki/blog.mdwn:6 msgid "" "This page has been removed from ikiwiki's basewiki. For documentation about " "creating a blog with ikiwiki, see the documentation of the [[!iki " "ikiwiki/directive/inline desc=inline]] directive." msgstr "" #. type: Plain text #: ikiwiki/blog.mdwn:8 msgid "" "Please update your links, as this redirection page will be removed in a " "future ikiwiki release." msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:1 #, no-wrap msgid "[[!meta title=\"Formatting wiki pages\"]]\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:7 msgid "" "Text on this wiki is, by default, written in a form very close to how you " "might write text for an email message. This style of text formatting is " "called [[MarkDown]], and it works like this:" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:9 msgid "Leave blank lines between paragraphs." msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:12 msgid "" "You can \\**emphasise*\\* or \\*\\***strongly emphasise**\\*\\* text by " "placing it in single or double asterisks." msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:14 msgid "To create a list, start each line with an asterisk:" msgstr "" #. type: Bullet: '* ' #: ikiwiki/formatting.mdwn:17 msgid "\"* this is my list\"" msgstr "" #. type: Bullet: '* ' #: ikiwiki/formatting.mdwn:17 msgid "\"* another item\"" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:20 msgid "" "To make a numbered list, start each line with a number (any number will do) " "followed by a period:" msgstr "" #. type: Bullet: '1. ' #: ikiwiki/formatting.mdwn:24 msgid "\"1. first line\"" msgstr "" #. type: Bullet: '2. ' #: ikiwiki/formatting.mdwn:24 msgid "\"2. second line\"" msgstr "" #. type: Bullet: '2. ' #: ikiwiki/formatting.mdwn:24 msgid "\"2. third line\"" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:28 msgid "" "To create a header, start a line with one or more `#` characters followed by " "a space and the header text. The number of `#` characters controls the size " "of the header:" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:29 #, no-wrap msgid "# # h1\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:30 #, no-wrap msgid "## ## h2\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:31 #, no-wrap msgid "### ### h3\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:32 #, no-wrap msgid "#### #### h4\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:33 #, no-wrap msgid "##### ##### h5\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:34 #, no-wrap msgid "###### ###### h6\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:38 msgid "" "To create a horizontal rule, just write three or more dashes or stars on " "their own line:" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:39 ikiwiki/formatting.mdwn:55 index.mdwn:5 sandbox.mdwn:3 #, no-wrap msgid "----\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:42 #, no-wrap msgid "To quote someone, prefix the quote with \">\":\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:45 #, no-wrap msgid "" "> To be or not to be,\n" "> that is the question.\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:47 msgid "To write a code block, indent each line with a tab or 4 spaces:" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:50 #, no-wrap msgid "" "\t10 PRINT \"Hello, world!\"\n" "\t20 GOTO 10\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:54 #, no-wrap msgid "" "To link to an url or email address, you can just put the\n" "url in angle brackets: <>, or you can use the\n" "form \\[link text\\]\\(url\\)\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:59 msgid "" "In addition to basic html formatting using [[MarkDown]], this wiki lets you " "use the following additional features:" msgstr "" #. type: Bullet: '* ' #: ikiwiki/formatting.mdwn:62 msgid "" "To link to another page on the wiki, place the page's name inside double " "square brackets. So you would use `\\[[WikiLink]]` to link to [[WikiLink]]." msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:63 #, no-wrap msgid "[[!if test=\"enabled(smiley) and smileys\" then=\"\"\"\n" msgstr "" #. type: Bullet: '* ' #: ikiwiki/formatting.mdwn:65 msgid "Insert [[smileys]] and some other useful symbols. :-)" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:67 #, no-wrap msgid "[[!if test=\"enabled(shortcut) and shortcuts\" then=\"\"\"\n" msgstr "" #. type: Bullet: '* ' #: ikiwiki/formatting.mdwn:69 msgid "Use [[shortcuts]] to link to common resources." msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:71 #, no-wrap msgid "\t\\[[!wikipedia War\\_of\\_1812]]\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:73 #, no-wrap msgid "[[!if test=\"enabled(template) and templates\" then=\"\"\"\n" msgstr "" #. type: Bullet: '* ' #: ikiwiki/formatting.mdwn:76 msgid "" "Create and fill out [[templates]] for repeated chunks of parameterized wiki " "text." msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:80 #, no-wrap msgid "" "* Insert various [[directives|directive]] onto a page to perform useful\n" " actions.\n" "[[!if test=\"enabled(toc) or enabled(meta) or enabled(inline)\" " "then=\"\"\"\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:82 #, no-wrap msgid " For example, you can:\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:84 #, no-wrap msgid "[[!if test=\"enabled(toc)\" then=\"\"\"\n" msgstr "" #. type: Bullet: ' * ' #: ikiwiki/formatting.mdwn:86 msgid "Add a table of contents to a page:" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:88 #, no-wrap msgid "\t\\[[!toc]]\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:91 recentchanges.mdwn:1 #, no-wrap msgid "[[!if test=\"enabled(meta)\" then=\"\"\"\n" msgstr "" #. type: Bullet: ' * ' #: ikiwiki/formatting.mdwn:93 msgid "Change the title of a page:" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:95 #, no-wrap msgid "\t\\[[!meta title=\"full page title\"]]\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:97 #, no-wrap msgid "[[!if test=\"enabled(inline)\" then=\"\"\"\n" msgstr "" #. type: Bullet: ' * ' #: ikiwiki/formatting.mdwn:99 msgid "Create a blog by inlining a set of pages:" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:101 #, no-wrap msgid "\t\\[[!inline pages=\"blog/*\"]]\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:105 #, no-wrap msgid " Full list of [[directives|directive]] enabled for this wiki:\n" msgstr "" #. type: Plain text #: ikiwiki/formatting.mdwn:105 #, no-wrap msgid " [[!listdirectives ]]\n" msgstr "" #. type: Plain text #: ikiwiki/markdown.mdwn:5 msgid "" "[Markdown](http://daringfireball.net/projects/markdown/) is a minimal " "markup language that resembles plain text as used in email messages. It is " "the markup language used by this wiki by default." msgstr "" #. type: Plain text #: ikiwiki/markdown.mdwn:10 msgid "" "For documentation about the markdown syntax, see [[formatting]] and " "[Markdown: syntax](http://daringfireball.net/projects/markdown/syntax). A " "[markdown mode](http://jblevins.org/projects/markdown-mode/) for emacs can " "help in editing." msgstr "" #. type: Plain text #: ikiwiki/markdown.mdwn:13 msgid "" "Note that [[WikiLinks|WikiLink]] and [[directives|directive]] are not part " "of the markdown syntax, and are the only bit of markup that this wiki " "handles internally." msgstr "" #. type: Plain text #: ikiwiki/openid.mdwn:1 #, no-wrap msgid "[[!meta title=\"OpenID\"]]\n" msgstr "" #. type: Plain text #: ikiwiki/openid.mdwn:7 #, no-wrap msgid "" "[[!if test=\"enabled(openid)\"\n" " then=\"This wiki has OpenID **enabled**.\"\n" " else=\"This wiki has OpenID **disabled**.\"]]\n" msgstr "" #. type: Plain text #: ikiwiki/openid.mdwn:11 msgid "" "[OpenID](http://openid.net) is a decentralized authentication mechanism that " "allows you to have one login that you can use on a growing number of " "websites." msgstr "" #. type: Plain text #: ikiwiki/openid.mdwn:13 msgid "To sign up for an OpenID, visit one of the following identity providers:" msgstr "" #. type: Bullet: '* ' #: ikiwiki/openid.mdwn:20 msgid "[MyOpenID](https://www.myopenid.com/)" msgstr "" #. type: Bullet: '* ' #: ikiwiki/openid.mdwn:20 msgid "[GetOpenID](https://getopenid.com/)" msgstr "" #. type: Bullet: '* ' #: ikiwiki/openid.mdwn:20 msgid "[Videntity](http://videntity.org/)" msgstr "" #. type: Bullet: '* ' #: ikiwiki/openid.mdwn:20 msgid "[LiveJournal](http://www.livejournal.com/openid/)" msgstr "" #. type: Bullet: '* ' #: ikiwiki/openid.mdwn:20 msgid "[TrustBearer](https://openid.trustbearer.com/)" msgstr "" #. type: Bullet: '* ' #: ikiwiki/openid.mdwn:20 msgid "" "or any of the [many others out " "there](http://openiddirectory.com/openid-providers-c-1.html)." msgstr "" #. type: Plain text #: ikiwiki/openid.mdwn:22 #, no-wrap msgid "" "Your OpenID is the URL that you are given when you sign up.\n" "[[!if test=\"enabled(openid)\" then=\"\"\"\n" msgstr "" #. type: Plain text #: ikiwiki/openid.mdwn:26 msgid "" "To sign in to this wiki using OpenID, just enter it in the OpenID field in " "the signin form. You do not need to give this wiki a password or go through " "any registration process when using OpenID." msgstr "" #. type: Plain text #: ikiwiki/openid.mdwn:28 #, no-wrap msgid "---\n" msgstr "" #. type: Plain text #: ikiwiki/openid.mdwn:32 msgid "" "It's also possible to make a page in the wiki usable as an OpenID url, by " "delegating it to an openid server. Here's an example of how to do that:" msgstr "" #. type: Plain text #: ikiwiki/openid.mdwn:34 #, no-wrap msgid "" "\t\\[[!meta openid=\"http://yourid.myopenid.com/\"\n" "\t server=\"http://www.myopenid.com/server\"]]\n" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:6 msgid "" "To select a set of pages, such as pages that are locked, pages whose commit " "emails you want subscribe to, or pages to combine into a blog, the wiki uses " "a PageSpec. This is an expression that matches a set of pages." msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:9 msgid "" "The simplest PageSpec is a simple list of pages. For example, this matches " "any of the three listed pages:" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:11 #, no-wrap msgid "\tfoo or bar or baz\n" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:17 msgid "" "More often you will want to match any pages that have a particular thing in " "their name. You can do this using a glob pattern. \"`*`\" stands for any " "part of a page name, and \"`?`\" for any single letter of a page name. So " "this matches all pages about music, and any [[SubPage]]s of the SandBox, but " "does not match the SandBox itself:" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:19 #, no-wrap msgid "\t*music* or SandBox/*\n" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:22 msgid "" "You can also prefix an item with \"`!`\" to skip pages that match it. So to " "match all pages except for Discussion pages and the SandBox:" msgstr "" #. type: Bullet: ' * ' #: ikiwiki/pagespec.mdwn:24 msgid "and !SandBox and !*/Discussion" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:26 msgid "" "Some more elaborate limits can be added to what matches using these " "functions:" msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "\"`link(page)`\" - match only pages that link to a given page (or glob)" msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "\"`backlink(page)`\" - match only pages that a given page links to" msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "\"`creation_month(month)`\" - match only pages created on the given month" msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "\"`creation_day(mday)`\" - or day of the month" msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "\"`creation_year(year)`\" - or year" msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "" "\"`created_after(page)`\" - match only pages created after the given page " "was created" msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "" "\"`created_before(page)`\" - match only pages created before the given page " "was created" msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "" "\"`glob(someglob)`\" - match pages that match the given glob. Just writing " "the glob by itself is actually a shorthand for this function." msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "" "\"`internal(glob)`\" - like `glob()`, but matches even internal-use pages " "that globs do not usually match." msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "" "\"`title(glob)`\", \"`author(glob)`\", \"`authorurl(glob)`\", " "\"`license(glob)`\", \"`copyright(glob)`\" - match pages that have the given " "metadata, matching the specified glob." msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "" "\"`user(username)`\" - tests whether a modification is being made by a user " "with the specified username. If openid is enabled, an openid can also be put " "here." msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "" "\"`admin()`\" - tests whether a modification is being made by one of the " "wiki admins." msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec.mdwn:50 msgid "" "\"`ip(address)`\" - tests whether a modification is being made from the " "specified IP address." msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:53 msgid "" "For example, to match all pages in a blog that link to the page about music " "and were written in 2005:" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:55 #, no-wrap msgid "\tblog/* and link(music) and creation_year(2005)\n" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:61 msgid "" "Note the use of \"and\" in the above example, that means that only pages " "that match each of the three expressions match the whole. Use \"and\" when " "you want to combine expression like that; \"or\" when it's enough for a page " "to match one expression. Note that it doesn't make sense to say \"index and " "SandBox\", since no page can match both expressions." msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:65 msgid "" "More complex expressions can also be created, by using parentheses for " "grouping. For example, to match pages in a blog that are tagged with either " "of two tags, use:" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:67 #, no-wrap msgid "\tblog/* and (link(tag/foo) or link(tag/bar))\n" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:73 msgid "" "Note that page names in PageSpecs are matched against the absolute filenames " "of the pages in the wiki, so a pagespec \"foo\" used on page \"a/b\" will " "not match a page named \"a/foo\" or \"a/b/foo\". To match relative to the " "directory of the page containing the pagespec, you can use \"./\". For " "example, \"./foo\" on page \"a/b\" matches page \"a/foo\"." msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:74 #, no-wrap msgid "## Old syntax\n" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:78 msgid "" "The old PageSpec syntax was called a \"GlobList\", and worked differently in " "two ways:" msgstr "" #. type: Bullet: '1. ' #: ikiwiki/pagespec.mdwn:83 msgid "" "\"and\" and \"or\" were not used; any page matching any item from the list " "matched." msgstr "" #. type: Bullet: '2. ' #: ikiwiki/pagespec.mdwn:83 msgid "" "If an item was prefixed with \"`!`\", then no page matching that item " "matched, even if it matched an earlier list item." msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:86 msgid "" "For example, here is the old way to match all pages except for the SandBox " "and Discussion pages:" msgstr "" #. type: Bullet: ' * ' #: ikiwiki/pagespec.mdwn:88 msgid "!SandBox !*/Discussion" msgstr "" #. type: Plain text #: ikiwiki/pagespec.mdwn:91 msgid "" "Using this old syntax is still supported. However, the old syntax is " "deprecated and will be removed at some point, and using the new syntax is " "recommended." msgstr "" #. type: Plain text #: ikiwiki/pagespec/attachment.mdwn:5 #, no-wrap msgid "" "[[!if test=\"enabled(attachment)\"\n" " then=\"This wiki has attachments **enabled**.\"\n" " else=\"This wiki has attachments **disabled**.\"]]\n" msgstr "" #. type: Plain text #: ikiwiki/pagespec/attachment.mdwn:9 msgid "" "If attachments are enabled, the wiki admin can control what types of " "attachments will be accepted, via the `allowed_attachments` configuration " "setting." msgstr "" #. type: Plain text #: ikiwiki/pagespec/attachment.mdwn:13 msgid "" "For example, to limit arbitrary files to 50 kilobytes, but allow larger mp3 " "files to be uploaded by joey into a specific directory, and check all " "attachments for virii, something like this could be used:" msgstr "" #. type: Plain text #: ikiwiki/pagespec/attachment.mdwn:15 #, no-wrap msgid "" "\tvirusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) " "and maxsize(15mb)) or (!ispage() and maxsize(50kb)))\n" msgstr "" #. type: Plain text #: ikiwiki/pagespec/attachment.mdwn:18 msgid "" "The regular [[ikiwiki/PageSpec]] syntax is expanded with the following " "additional tests:" msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec/attachment.mdwn:22 msgid "" "\"`maxsize(size)`\" - Tests whether the attachment is no larger than the " "specified size. The size defaults to being in bytes, but \"kb\", \"mb\", " "\"gb\" etc can be used to specify the units." msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec/attachment.mdwn:25 msgid "" "\"`minsize(size)`\" - Tests whether the attachment is no smaller than the " "specified size." msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec/attachment.mdwn:29 msgid "" "\"`ispage()`\" - Tests whether the attachment will be treated by ikiwiki as " "a wiki page. (Ie, if it has an extension of \".mdwn\", or of any other " "enabled page format)." msgstr "" #. type: Plain text #: ikiwiki/pagespec/attachment.mdwn:33 #, no-wrap msgid "" " So, if you don't want to allow wiki pages to be uploaded as attachments,\n" " use `!ispage()` ; if you only want to allow wiki pages to be uploaded\n" " as attachments, use `ispage()`.\n" msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec/attachment.mdwn:36 msgid "" "\"`mimetype(foo/bar)`\" - This checks the MIME type of the attachment. You " "can include a glob in the type, for example `mimetype(image/*)`." msgstr "" #. type: Bullet: '* ' #: ikiwiki/pagespec/attachment.mdwn:37 msgid "\"`virusfree()`\" - Checks the attachment with an antiviral program." msgstr "" #. type: Plain text #: ikiwiki/preprocessordirective.mdwn:1 #, no-wrap msgid "[[!meta redir=ikiwiki/directive delay=10]]\n" msgstr "" #. type: Plain text #: ikiwiki/preprocessordirective.mdwn:7 msgid "" "This page has moved to [[ikiwiki/directive|ikiwiki/directive]]. Please " "update your links, as this redirection page will be removed in a future " "ikiwiki release." msgstr "" #. type: Plain text #: ikiwiki/searching.mdwn:6 #, no-wrap msgid "" "[[!if test=\"enabled(search)\"\n" "then=\"This wiki has searching **enabled**.\"\n" "else=\"This wiki has searching **disabled**.\"]]\n" msgstr "" #. type: Plain text #: ikiwiki/searching.mdwn:10 msgid "" "If searching is enabled, you can enter search terms in the search field, as " "you'd expect. There are a few special things you can do to constuct more " "powerful searches." msgstr "" #. type: Bullet: '* ' #: ikiwiki/searching.mdwn:20 msgid "To match a phrase, enclose it in double quotes." msgstr "" #. type: Bullet: '* ' #: ikiwiki/searching.mdwn:20 msgid "`AND` can be used to search for documents containing two expressions." msgstr "" #. type: Bullet: '* ' #: ikiwiki/searching.mdwn:20 msgid "" "`OR` can be used to search for documents containing either one of two " "expressions." msgstr "" #. type: Bullet: '* ' #: ikiwiki/searching.mdwn:20 msgid "" "Parentheses can be used to build up complicated search expressions. For " "example, \"(foo AND bar) OR (me AND you)\"" msgstr "" #. type: Bullet: '* ' #: ikiwiki/searching.mdwn:20 msgid "" "Prefix a search term with \"-\" to avoid it from appearing in the results. " "For example, \"-discussion\" will omit \"discussion\"." msgstr "" #. type: Bullet: '* ' #: ikiwiki/searching.mdwn:20 msgid "To search for a page with a given title, use \"title:foo\"." msgstr "" #. type: Bullet: '* ' #: ikiwiki/searching.mdwn:20 msgid "To search for pages that contain a \"bar\" link, use \"link:bar\"." msgstr "" #. type: Plain text #: ikiwiki/subpage.mdwn:6 msgid "" "ikiwiki supports placing pages in a directory hierarchy. For example, this " "page, [[SubPage]] has some related pages placed under it, like " "[[SubPage/LinkingRules]]. This is a useful way to add some order to your " "wiki rather than just having a great big directory full of pages." msgstr "" #. type: Plain text #: ikiwiki/subpage.mdwn:11 msgid "" "To add a SubPage, just make a subdirectory and put pages in it. For example, " "this page is SubPage.mdwn in this wiki's source, and there is also a SubPage " "subdirectory, which contains SubPage/LinkingRules.mdwn. Subpages can be " "nested as deeply as you'd like." msgstr "" #. type: Plain text #: ikiwiki/subpage.mdwn:12 msgid "Linking to and from a SubPage is explained in [[LinkingRules]]." msgstr "" #. type: Plain text #: ikiwiki/subpage/linkingrules.mdwn:6 msgid "" "To link to or from a [[SubPage]], you can normally use a regular " "[[WikiLink]] that does not contain the name of the parent directory of the " "[[SubPage]]. Ikiwiki descends the directory hierarchy looking for a page " "that matches your link." msgstr "" #. type: Plain text #: ikiwiki/subpage/linkingrules.mdwn:10 msgid "" "For example, if FooBar/SubPage links to \"OtherPage\", ikiwiki will first " "prefer pointing the link to FooBar/SubPage/OtherPage if it exists, next to " "FooBar/OtherPage and finally to OtherPage in the root of the wiki." msgstr "" #. type: Plain text #: ikiwiki/subpage/linkingrules.mdwn:16 msgid "" "Note that this means that if a link on FooBar/SomePage to \"OtherPage\" " "currently links to OtherPage, in the root of the wiki, and FooBar/OtherPage " "is created, the link will _change_ to point to FooBar/OtherPage. On the " "other hand, a link from BazBar to \"OtherPage\" would be unchanged by this " "creation of a [[SubPage]] of FooBar." msgstr "" #. type: Plain text #: ikiwiki/subpage/linkingrules.mdwn:20 msgid "" "You can also specify a link that contains a directory name, like " "\"FooBar/OtherPage\" to more exactly specify what page to link to. This is " "the only way to link to an unrelated [[SubPage]]." msgstr "" #. type: Plain text #: ikiwiki/subpage/linkingrules.mdwn:23 msgid "" "You can use this to, for example, to link from BazBar to \"FooBar/SubPage\", " "or from BazBar/SubPage to \"FooBar/SubPage\"." msgstr "" #. type: Plain text #: ikiwiki/subpage/linkingrules.mdwn:29 msgid "" "You can also use \"/\" at the start of a link, to specify exactly which page " "to link to, when there are multiple pages with similar names and the link " "goes to the wrong page by default. For example, linking from " "\"FooBar/SubPage\" to \"/OtherPage\" will link to the \"OtherPage\" in the " "root of the wiki, even if there is a \"FooBar/OtherPage\"." msgstr "" #. type: Plain text #: ikiwiki/subpage/linkingrules.mdwn:33 msgid "" "Also, if the wiki is configured with a userdir, you can link to pages within " "the userdir without specifying a path to them. This is to allow for easy " "linking to a user's page in the userdir, to sign a comment. These links are " "checked for last of all." msgstr "" #. type: Plain text #: ikiwiki/wikilink.mdwn:5 msgid "" "WikiLinks provide easy linking between pages of the wiki. To create a " "[[WikiLink]], just put the name of the page to link to in double brackets. " "For example `\\[[WikiLink]]`." msgstr "" #. type: Plain text #: ikiwiki/wikilink.mdwn:8 msgid "" "If you ever need to write something like `\\[[WikiLink]]` without creating a " "wikilink, just prefix it with a `\\`, like `\\\\[[WikiLink]]`." msgstr "" #. type: Plain text #: ikiwiki/wikilink.mdwn:11 msgid "" "There are some special [[SubPage/LinkingRules]] that come into play when " "linking between [[SubPages|SubPage]]." msgstr "" #. type: Plain text #: ikiwiki/wikilink.mdwn:14 msgid "" "Also, if the file linked to by a WikiLink looks like an image, it will be " "displayed inline on the page." msgstr "" #. type: Plain text #: ikiwiki/wikilink.mdwn:18 msgid "" "WikiLinks are matched with page names in a case-insensitive manner, so you " "don't need to worry about getting the case the same, and can capitalise " "links at the start of a sentence, and so on." msgstr "" #. type: Plain text #: ikiwiki/wikilink.mdwn:22 msgid "" "It's also possible to write a WikiLink that uses something other than the " "page name as the link text. For example `\\[[foo_bar|SandBox]]` links to the " "SandBox page, but the link will appear like this: [[foo_bar|SandBox]]." msgstr "" #. type: Plain text #: ikiwiki/wikilink.mdwn:25 msgid "" "To link to an anchor inside a page, you can use something like " "`\\[[WikiLink#foo]]`" msgstr "" #. type: Plain text #: ikiwiki/wikilink.mdwn:26 #, no-wrap msgid "## Directives and WikiLinks\n" msgstr "" #. type: Plain text #: ikiwiki/wikilink.mdwn:36 msgid "" "ikiwiki has two syntaxes for [[directives|directive]]. The older syntax " "used spaces to distinguish between directives and wikilinks; as a result, " "with that syntax in use, you cannot use spaces in WikiLinks, and must " "replace spaces with underscores. The newer syntax, enabled with the " "`prefix_directives` option in an ikiwiki setup file, prefixes directives " "with `!`, and thus does not prevent links with spaces. Future versions of " "ikiwiki will turn this option on by default." msgstr "" #. type: Plain text #: index.mdwn:2 msgid "Welcome to your new wiki." msgstr "" #. type: Plain text #: index.mdwn:4 msgid "All wikis are supposed to have a [[SandBox]], so this one does too." msgstr "" #. type: Plain text #: index.mdwn:7 msgid "This wiki is powered by [ikiwiki](http://ikiwiki.info/)." msgstr "" #. type: Plain text #: recentchanges.mdwn:2 #, no-wrap msgid "[[!meta title=\"RecentChanges\"]]\n" msgstr "" #. type: Plain text #: recentchanges.mdwn:5 msgid "Recent changes to this wiki:" msgstr "" #. type: Plain text #: recentchanges.mdwn:7 #, no-wrap msgid "" "[[!inline pages=\"internal(recentchanges/change_*) and !*/Discussion\" \n" "template=recentchanges show=0]]\n" msgstr "" #. type: Plain text #: sandbox.mdwn:2 msgid "This is the SandBox, a page anyone can edit to learn how to use the wiki." msgstr "" #. type: Plain text #: sandbox.mdwn:6 msgid "Here's a paragraph." msgstr "" #. type: Plain text #: sandbox.mdwn:8 msgid "Here's another one with *emphasised* text." msgstr "" #. type: Plain text #: sandbox.mdwn:9 #, no-wrap msgid "# Header\n" msgstr "" #. type: Plain text #: sandbox.mdwn:11 #, no-wrap msgid "## Subheader\n" msgstr "" #. type: Plain text #: sandbox.mdwn:20 #, no-wrap msgid "" "> This is a blockquote.\n" ">\n" "> This is the first level of quoting.\n" ">\n" "> > This is nested blockquote.\n" ">\n" "> Back to the first level.\n" msgstr "" #. type: Plain text #: sandbox.mdwn:22 msgid "Numbered list" msgstr "" #. type: Bullet: '1. ' #: sandbox.mdwn:26 msgid "First item." msgstr "" #. type: Bullet: '1. ' #: sandbox.mdwn:26 msgid "Another." msgstr "" #. type: Bullet: '1. ' #: sandbox.mdwn:26 msgid "And another.." msgstr "" #. type: Plain text #: sandbox.mdwn:28 msgid "Bulleted list" msgstr "" #. type: Bullet: '* ' #: sandbox.mdwn:31 msgid "*item*" msgstr "" #. type: Bullet: '* ' #: sandbox.mdwn:31 msgid "item" msgstr "" #. type: Plain text #: sandbox.mdwn:32 msgid "[[ikiwiki/WikiLink]]" msgstr "" #. type: Plain text #: shortcuts.mdwn:4 #, no-wrap msgid "" "[[!if test=\"enabled(shortcut)\"\n" " then=\"This wiki has shortcuts **enabled**.\"\n" " else=\"This wiki has shortcuts **disabled**.\"]]\n" msgstr "" #. type: Plain text #: shortcuts.mdwn:6 msgid "Some examples of using shortcuts include:" msgstr "" #. type: Plain text #: shortcuts.mdwn:11 #, no-wrap msgid "" "\t\\[[!google foo]]\n" "\t\\[[!wikipedia War_of_1812]]\n" "\t\\[[!debbug 12345]]\n" "\tCheck the \\[[!cia ikiwiki desc=\"CIA page for %s\"]].\n" msgstr "" #. type: Plain text #: shortcuts.mdwn:13 msgid "This page controls what shortcut links the wiki supports." msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=google url=\"http://www.google.com/search?q=%s\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=archive url=\"http://web.archive.org/*/%S\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=gmap url=\"http://maps.google.com/maps?q=%s\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=gmsg url=\"http://groups.google.com/groups?selm=%s\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=wikipedia url=\"http://en.wikipedia.org/wiki/%s\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=wikitravel url=\"http://wikitravel.org/en/%s\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=wiktionary url=\"http://en.wiktionary.org/wiki/%s\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=debbug url=\"http://bugs.debian.org/%s\" desc=\"bug #%s\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "" "[[!shortcut name=deblist url=\"http://lists.debian.org/debian-%s\" " "desc=\"debian-%s@lists.debian.org\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=debpkg url=\"http://packages.debian.org/%s\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=debpkgsid url=\"http://packages.debian.org/sid/%s\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=debpts url=\"http://packages.qa.debian.org/%s\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "[[!shortcut name=debmsg url=\"http://lists.debian.org/msgid-search/%s\"]]" msgstr "" #. type: Bullet: '* ' #: shortcuts.mdwn:62 msgid "" "[[!shortcut name=debrt " "url=\"https://rt.debian.org/Ticket/Display.html?id=%s\"]]" msgstr "" #. type: Plain text #: shortcuts.mdwn:62 #, no-wrap msgid "" "* [[!shortcut name=debss url=\"http://snapshot.debian.net/package/%s\"]]\n" " * Usage: `\\[[!debss package]]`, `\\[[!debss package#version]]`, or " "`\\[[!debss package/version]]`. See http://snapshot.debian.net for " "details.\n" "* [[!shortcut name=debwiki url=\"http://wiki.debian.org/%s\"]]\n" "* [[!shortcut name=fdobug " "url=\"https://bugs.freedesktop.org/show_bug.cgi?id=%s\" " "desc=\"freedesktop.org bug #%s\"]]\n" "* [[!shortcut name=fdolist " "url=\"http://lists.freedesktop.org/mailman/listinfo/%s\" " "desc=\"%s@lists.freedesktop.org\"]]\n" "* [[!shortcut name=gnomebug " "url=\"http://bugzilla.gnome.org/show_bug.cgi?id=%s\" desc=\"GNOME bug " "#%s\"]]\n" "* [[!shortcut name=linuxbug " "url=\"http://bugzilla.kernel.org/show_bug.cgi?id=%s\" desc=\"Linux bug " "#%s\"]]\n" "* [[!shortcut name=mozbug " "url=\"https://bugzilla.mozilla.org/show_bug.cgi?id=%s\" desc=\"Mozilla bug " "#%s\"]]\n" "* [[!shortcut name=gnulist url=\"http://lists.gnu.org/mailman/listinfo/%s\" " "desc=\"%s@gnu.org\"]]\n" "* [[!shortcut name=marcmsg url=\"http://marc.info/?i=%s\"]]\n" "* [[!shortcut name=marclist url=\"http://marc.info/?l=%s\"]]\n" "* [[!shortcut name=gmane url=\"http://dir.gmane.org/gmane.%s\" " "desc=\"gmane.%s\"]]\n" "* [[!shortcut name=gmanemsg url=\"http://mid.gmane.org/%s\"]]\n" "* [[!shortcut name=cpan " "url=\"http://search.cpan.org/search?mode=dist&query=%s\"]]\n" "* [[!shortcut name=ctan " "url=\"http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s\"]]\n" "* [[!shortcut name=hoogle url=\"http://haskell.org/hoogle/?q=%s\"]]\n" "* [[!shortcut name=iki url=\"http://ikiwiki.info/%S/\"]]\n" "* [[!shortcut name=ljuser url=\"http://%s.livejournal.com/\"]]\n" "* [[!shortcut name=rfc url=\"http://www.ietf.org/rfc/rfc%s.txt\" desc=\"RFC " "%s\"]]\n" "* [[!shortcut name=c2 url=\"http://c2.com/cgi/wiki?%s\"]]\n" "* [[!shortcut name=meatballwiki " "url=\"http://www.usemod.com/cgi-bin/mb.pl?%s\"]]\n" "* [[!shortcut name=emacswiki " "url=\"http://www.emacswiki.org/cgi-bin/wiki/%s\"]]\n" "* [[!shortcut name=haskellwiki url=\"http://haskell.org/haskellwiki/%s\"]]\n" "* [[!shortcut name=dict " "url=\"http://www.dict.org/bin/Dict?Form=Dict1&Strategy=*&Database=*&Query=%s\"]]\n" "* [[!shortcut name=imdb url=\"http://imdb.com/find?q=%s\"]]\n" "* [[!shortcut name=gpg " "url=\"http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s\"]]\n" "* [[!shortcut name=perldoc " "url=\"http://perldoc.perl.org/search.html?q=%s\"]]\n" "* [[!shortcut name=whois " "url=\"http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain\"]]\n" "* [[!shortcut name=cve " "url=\"http://cve.mitre.org/cgi-bin/cvename.cgi?name=%s\"]]\n" "* [[!shortcut name=cia url=\"http://cia.vc/stats/project/%s\"]]\n" "* [[!shortcut name=ciauser url=\"http://cia.vc/stats/user/%s\"]]\n" "* [[!shortcut name=flickr url=\"http://www.flickr.com/photos/%s\"]]\n" "* [[!shortcut name=man url=\"http://linux.die.net/man/%s\"]]\n" "* [[!shortcut name=ohloh url=\"http://www.ohloh.net/projects/%s\"]]\n" msgstr "" #. type: Plain text #: shortcuts.mdwn:68 msgid "" "To add a new shortcut, use the `shortcut` [[ikiwiki/directive]]. In the url, " "\"%s\" is replaced with the text passed to the named shortcut, after " "url-encoding it, and '%S' is replaced with the raw, non-encoded text. The " "optional `desc` parameter controls the description of the link." msgstr "" #. type: Plain text #: shortcuts.mdwn:73 msgid "" "Remember that the `name` you give the shortcut will become a new " "[[ikiwiki/directive]]. Avoid using a `name` that conflicts with an existing " "directive. These directives also accept a `desc` parameter that will " "override the one provided at definition time." msgstr "" #. type: Plain text #: shortcuts.mdwn:77 msgid "" "If you come up with a shortcut that you think others might find useful, " "consider contributing it to the [shortcuts page on the ikiwiki " "ikiwiki](http://ikiwiki.info/shortcuts/), so that future versions of ikiwiki " "will include your shortcut in the standard underlay." msgstr "" #. type: Plain text #: templates.mdwn:6 #, no-wrap msgid "" "[[!if test=\"enabled(template)\"\n" "then=\"This wiki has templates **enabled**.\"\n" "else=\"This wiki has templates **disabled**.\"\n" "]]\n" msgstr "" #. type: Plain text #: templates.mdwn:9 msgid "" "Templates are files that can be filled out and inserted into pages in the " "wiki." msgstr "" #. type: Plain text #: templates.mdwn:10 #, no-wrap msgid "[[!if test=\"enabled(template) and enabled(inline)\" then=\"\"\"\n" msgstr "" #. type: Plain text #: templates.mdwn:14 msgid "These templates are available for inclusion onto other pages in this wiki:" msgstr "" #. type: Plain text #: templates.mdwn:17 #, no-wrap msgid "" "[[!inline pages=\"templates/* and !*/discussion\" feeds=no archive=yes\n" "sort=title template=titlepage]]\n" msgstr "" #. type: Plain text #: templates.mdwn:19 #, no-wrap msgid "## Using a template\n" msgstr "" #. type: Plain text #: templates.mdwn:22 msgid "Using a template works like this:" msgstr "" #. type: Plain text #: templates.mdwn:24 #, no-wrap msgid "" "\t\\[[!template id=note text=\"\"\"Here is the text to insert into my " "note.\"\"\"]]\n" msgstr "" #. type: Plain text #: templates.mdwn:27 msgid "" "This fills out the [[note]] template, filling in the `text` field with the " "specified value, and inserts the result into the page." msgstr "" #. type: Plain text #: templates.mdwn:32 msgid "" "Generally, a value can include any markup that would be allowed in the wiki " "page outside the template. Triple-quoting the value even allows quotes to be " "included in it. Combined with multi-line quoted values, this allows for " "large chunks of marked up text to be embedded into a template:" msgstr "" #. type: Plain text #: templates.mdwn:33 #, no-wrap msgid "" " \\[[!template id=foo name=\"Sally\" color=\"green\" age=8 " "notes=\"\"\"\n" msgstr "" #. type: Bullet: ' * ' #: templates.mdwn:37 msgid "\\[[Charley]]'s sister." msgstr "" #. type: Bullet: ' * ' #: templates.mdwn:37 msgid "\"I want to be an astronaut when I grow up.\"" msgstr "" #. type: Bullet: ' * ' #: templates.mdwn:37 msgid "Really 8 and a half." msgstr "" #. type: Plain text #: templates.mdwn:39 #, no-wrap msgid "## Creating a template\n" msgstr "" #. type: Plain text #: templates.mdwn:45 msgid "" "To create a template, simply add a template directive to a page, and the " "page will provide a link that can be used to create the template. The " "template is a regular wiki page, located in the `templates/` subdirectory " "inside the source directory of the wiki." msgstr "" #. type: Plain text #: templates.mdwn:50 msgid "" "The template uses the syntax used by the [[!cpan HTML::Template]] perl " "module, which allows for some fairly complex things to be done. Consult its " "documentation for the full syntax, but all you really need to know are a few " "things:" msgstr "" #. type: Bullet: '* ' #: templates.mdwn:62 msgid "" "Each parameter you pass to the template directive will generate a template " "variable. There are also some pre-defined variables like PAGE and BASENAME." msgstr "" #. type: Bullet: '* ' #: templates.mdwn:62 msgid "" "To insert the value of a variable, use ``. Wiki markup in " "the value will first be converted to html." msgstr "" #. type: Bullet: '* ' #: templates.mdwn:62 msgid "" "To insert the raw value of a variable, with wiki markup not yet converted to " "html, use ``." msgstr "" #. type: Bullet: '* ' #: templates.mdwn:62 msgid "" "To make a block of text conditional on a variable being set use `text`." msgstr "" #. type: Bullet: '* ' #: templates.mdwn:62 msgid "" "To use one block of text if a variable is set and a second if it's not, use " "`textother text`" msgstr "" #. type: Plain text #: templates.mdwn:64 msgid "Here's a sample template:" msgstr "" #. type: Plain text #: templates.mdwn:78 #, no-wrap msgid "" " \n" " Name: \\[[]]
\n" " Age:
\n" " \n" " Favorite color:
\n" " \n" " No favorite color.
\n" "
\n" " \n" "
\n" " \n" "
\n" "
\n" msgstr "" #. type: Plain text #: templates.mdwn:83 msgid "" "The filled out template will be formatted the same as the rest of the page " "that contains it, so you can include WikiLinks and all other forms of wiki " "markup in the template. Note though that such WikiLinks will not show up as " "backlinks to the page that uses the template." msgstr "" #. type: Plain text #: templates.mdwn:87 msgid "" "Note the use of \"raw_name\" inside the [[ikiwiki/WikiLink]] generator. This " "ensures that if the name contains something that might be mistaken for wiki " "markup, it's not converted to html before being processed as a " "[[ikiwiki/WikiLink]]." msgstr "" #. type: Plain text #: templates/note.mdwn:11 #, no-wrap msgid "" "
\n" "\n" "
\n" "\n" "Use this template to insert a note into a page. The note will be styled to\n" "float to the right of other text on the page. This template has one\n" "parameter:\n" "
    \n" "
  • `text` - the text to display in the note\n" "
\n" "
\n" msgstr "" #. type: Plain text #: templates/popup.mdwn:16 #, no-wrap msgid "" "\n" "Use this template to create a popup window that is displayed when the " "mouse\n" "is over part of the page. This template has two parameters:\n" "
    \n" "
  • `mouseover` - This is the text or other content that triggers the\n" "popup.\n" "
  • `popup` - This should be the content of the popup window. It can be\n" "anything, even images or a whole little wiki page, but should not be too\n" "large for good usability.\n" "
\n" "Note that browsers that do not support the CSS will display the popup\n" "inline in the page, inside square brackets.\n" "
\n" "\n" "[]\n" "\n" msgstr ""