1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2011-05-05 20:04+0300\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
21 "The `if` directive is supplied by the [[!iki plugins/conditional "
22 "desc=conditional]] plugin."
27 "With this directive, you can make text be conditionally displayed on a "
34 "\t\\[[!if test=\"enabled(smiley)\"\n"
35 "\t then=\"The smiley plugin is enabled :-)\"\n"
36 "\t else=\"No smiley plugin here..\"]]\n"
41 "If the specified `test` succeeds, the `then` text will be displayed, "
42 "otherwise the `else` text will be displayed. The `else` part is optional."
47 "The `then` and `else` values can include any markup that would be allowed in "
48 "the wiki page outside the template. Triple-quoting the values even allows "
49 "quotes to be included."
54 "The `test` is a [[ikiwiki/PageSpec]]; if it matches any page in the wiki "
55 "then it succeeds. So you can do things like testing for the existence of a "
56 "page or pages, testing to see if any pages were created in a given month, "
62 "If you want the [[ikiwiki/PageSpec]] to only match against the page that "
63 "contains the conditional, rather than matching against all pages in the "
64 "wiki, set the \"all\" parameter to \"no\"."
69 "In an `if` directive, the regular [[ikiwiki/PageSpec]] syntax is expanded "
70 "with the following additional tests:"
74 msgid "enabled(plugin)"
79 msgid " Tests whether the specified plugin is enabled.\n"
83 msgid "sourcepage(glob)"
89 " Tests whether the glob matches the name of the page that contains the\n"
94 msgid "destpage(glob)"
100 " Tests whether the glob matches the name of the page that is being built.\n"
101 " That might be different than the name of the page that contains the\n"
102 " conditional, if it's being inlined into another page.\n"
105 #. type: Bullet: '* '
112 " Tests whether the page is being included onto another page, for example\n"
113 " via [[inline]] or [[map]]. Note that pages inserted into other pages\n"
114 " via [[template]] are not matched here.\n"
119 msgid "[[!meta robots=\"noindex, follow\"]]\n"