summaryrefslogtreecommitdiff
path: root/po/directives.pot
blob: feb6d752d9d5fe00276f1700da99c4e731e70e4d (plain)
  1. # LOCALE translation of directives pages for ikiwiki.
  2. # Copyright (C) YEAR Free Software Foundation, Inc.
  3. # This file is distributed under the same license as the ikiwiki package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: ikiwiki directives 2.62.1\n"
  10. "POT-Creation-Date: 2008-10-23 03:35+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"
  14. "MIME-Version: 1.0\n"
  15. "Content-Type: text/plain; charset=utf-8\n"
  16. "Content-Transfer-Encoding: 8bit"
  17. # type: Plain text
  18. #: ikiwiki/directive/aggregate.mdwn:4
  19. msgid ""
  20. "The `aggregate` directive is supplied by the [[!iki plugins/aggregate "
  21. "desc=aggregate]] plugin. This plugin requires extra setup, specifically, a "
  22. "cron job. See the plugin's documentation for details."
  23. msgstr ""
  24. # type: Plain text
  25. #: ikiwiki/directive/aggregate.mdwn:7
  26. msgid ""
  27. "This directive allows content from other feeds to be aggregated into the "
  28. "wiki. Aggregate a feed as follows:"
  29. msgstr ""
  30. # type: Plain text
  31. #: ikiwiki/directive/aggregate.mdwn:11
  32. #, no-wrap
  33. msgid ""
  34. "\t\\[[!aggregate name=\"example blog\" dir=\"example\"\n"
  35. "\tfeedurl=\"http://example.com/index.rss\"\n"
  36. "\turl=\"http://example.com/\" updateinterval=\"15\"]]\n"
  37. msgstr ""
  38. # type: Plain text
  39. #: ikiwiki/directive/aggregate.mdwn:16
  40. msgid ""
  41. "That example aggregates posts from the specified RSS feed, updating no more "
  42. "frequently than once every 15 minutes (though possibly less frequently, if "
  43. "the cron job runs less frequently than that), and puts a page per post under "
  44. "the example/ directory in the wiki."
  45. msgstr ""
  46. # type: Plain text
  47. #: ikiwiki/directive/aggregate.mdwn:19
  48. msgid ""
  49. "You can then use ikiwiki's [[inline]] directive to create a blog of one or "
  50. "more aggregated feeds. For example:"
  51. msgstr ""
  52. # type: Plain text
  53. #: ikiwiki/directive/aggregate.mdwn:21
  54. #, no-wrap
  55. msgid "\t\\[[!inline pages=\"internal(example/*)\"]]\n"
  56. msgstr ""
  57. # type: Plain text
  58. #: ikiwiki/directive/aggregate.mdwn:22 ikiwiki/directive/calendar.mdwn:26 ikiwiki/directive/img.mdwn:8 ikiwiki/directive/inline.mdwn:41 ikiwiki/directive/table.mdwn:32
  59. #, no-wrap
  60. msgid "## usage\n"
  61. msgstr ""
  62. # type: Plain text
  63. #: ikiwiki/directive/aggregate.mdwn:26
  64. msgid ""
  65. "Here are descriptions of all the supported parameters to the `aggregate` "
  66. "directive:"
  67. msgstr ""
  68. # type: Bullet: '* '
  69. #: ikiwiki/directive/aggregate.mdwn:47
  70. msgid "`name` - A name for the feed. Each feed must have a unique name. Required."
  71. msgstr ""
  72. # type: Bullet: '* '
  73. #: ikiwiki/directive/aggregate.mdwn:47
  74. msgid ""
  75. "`url` - The url to the web page for the feed that's being aggregated. "
  76. "Required."
  77. msgstr ""
  78. # type: Bullet: '* '
  79. #: ikiwiki/directive/aggregate.mdwn:47
  80. msgid ""
  81. "`dir` - The directory in the wiki where pages should be saved. Optional, if "
  82. "not specified, the directory is based on the name of the feed."
  83. msgstr ""
  84. # type: Bullet: '* '
  85. #: ikiwiki/directive/aggregate.mdwn:47
  86. msgid ""
  87. "`feedurl` - The url to the feed. Optional, if it's not specified ikiwiki "
  88. "will look for feeds on the `url`. RSS and atom feeds are supported."
  89. msgstr ""
  90. # type: Bullet: '* '
  91. #: ikiwiki/directive/aggregate.mdwn:47
  92. msgid ""
  93. "`updateinterval` - How often to check for new posts, in minutes. Default is "
  94. "15 minutes."
  95. msgstr ""
  96. # type: Bullet: '* '
  97. #: ikiwiki/directive/aggregate.mdwn:47
  98. msgid ""
  99. "`expireage` - Expire old items from this feed if they are older than a "
  100. "specified number of days. Default is to never expire on age."
  101. msgstr ""
  102. # type: Bullet: '* '
  103. #: ikiwiki/directive/aggregate.mdwn:47
  104. msgid ""
  105. "`expirecount` - Expire old items from this feed if there are more than the "
  106. "specified number total. Oldest items will be expired first. Default is to "
  107. "never expire on count."
  108. msgstr ""
  109. # type: Bullet: '* '
  110. #: ikiwiki/directive/aggregate.mdwn:47
  111. msgid ""
  112. "`tag` - A tag to tag each post from the feed with. A good tag to use is the "
  113. "name of the feed. Can be repeated multiple times. The [[tag]] plugin must be "
  114. "enabled for this to work."
  115. msgstr ""
  116. # type: Bullet: '* '
  117. #: ikiwiki/directive/aggregate.mdwn:47
  118. msgid ""
  119. "`template` - Template to use for creating the aggregated pages. Defaults to "
  120. "aggregatepost."
  121. msgstr ""
  122. # type: Plain text
  123. #: ikiwiki/directive/aggregate.mdwn:51
  124. msgid ""
  125. "Note that even if you are using subversion or another revision control "
  126. "system, pages created by aggregation will *not* be checked into revision "
  127. "control."
  128. msgstr ""
  129. # type: Plain text
  130. #: ikiwiki/directive/aggregate.mdwn:52 ikiwiki/directive/brokenlinks.mdwn:14 ikiwiki/directive/calendar.mdwn:46 ikiwiki/directive/color.mdwn:25 ikiwiki/directive/copy.mdwn:3 ikiwiki/directive/cut.mdwn:3 ikiwiki/directive/cutpaste.mdwn:50 ikiwiki/directive/edittemplate.mdwn:36 ikiwiki/directive/fortune.mdwn:8 ikiwiki/directive/graph.mdwn:23 ikiwiki/directive/haiku.mdwn:15 ikiwiki/directive/if.mdwn:48 ikiwiki/directive/img.mdwn:38 ikiwiki/directive/inline.mdwn:106 ikiwiki/directive/linkmap.mdwn:24 ikiwiki/directive/listdirectives.mdwn:20 ikiwiki/directive/map.mdwn:19 ikiwiki/directive/meta.mdwn:147 ikiwiki/directive/more.mdwn:16 ikiwiki/directive/orphans.mdwn:15 ikiwiki/directive/pagecount.mdwn:10 ikiwiki/directive/pagestats.mdwn:15 ikiwiki/directive/pagetemplate.mdwn:15 ikiwiki/directive/paste.mdwn:3 ikiwiki/directive/ping.mdwn:18 ikiwiki/directive/poll.mdwn:25 ikiwiki/directive/polygen.mdwn:11 ikiwiki/directive/postsparkline.mdwn:45 ikiwiki/directive/progress.mdwn:18 ikiwiki/directive/shortcut.mdwn:9 ikiwiki/directive/sparkline.mdwn:52 ikiwiki/directive/table.mdwn:45 ikiwiki/directive/tag.mdwn:30 ikiwiki/directive/taglink.mdwn:3 ikiwiki/directive/template.mdwn:18 ikiwiki/directive/testpagespec.mdwn:24 ikiwiki/directive/teximg.mdwn:23 ikiwiki/directive/toc.mdwn:21 ikiwiki/directive/toggle.mdwn:34 ikiwiki/directive/toggleable.mdwn:3 ikiwiki/directive/version.mdwn:12
  131. #, no-wrap
  132. msgid "[[!meta robots=\"noindex, follow\"]]\n"
  133. msgstr ""
  134. # type: Plain text
  135. #: ikiwiki/directive/brokenlinks.mdwn:2
  136. msgid ""
  137. "The `brokenlinks` directive is supplied by the [[!iki plugins/brokenlinks "
  138. "desc=brokenlinks]] plugin."
  139. msgstr ""
  140. # type: Plain text
  141. #: ikiwiki/directive/brokenlinks.mdwn:6
  142. msgid ""
  143. "This directive generates a list of broken links on pages in the wiki. This "
  144. "is a useful way to find pages that still need to be written, or links that "
  145. "are written wrong."
  146. msgstr ""
  147. # type: Plain text
  148. #: ikiwiki/directive/brokenlinks.mdwn:9
  149. msgid ""
  150. "The optional parameter \"pages\" can be a [[ikiwiki/PageSpec]] specifying "
  151. "the pages to search for broken links, default is search them all."
  152. msgstr ""
  153. # type: Plain text
  154. #: ikiwiki/directive/brokenlinks.mdwn:11 ikiwiki/directive/inline.mdwn:7 ikiwiki/directive/template.mdwn:9
  155. msgid "Example:"
  156. msgstr ""
  157. # type: Plain text
  158. #: ikiwiki/directive/brokenlinks.mdwn:13
  159. #, no-wrap
  160. msgid "\t\\[[!brokenlinks pages=\"* and !recentchanges\"]]\n"
  161. msgstr ""
  162. # type: Plain text
  163. #: ikiwiki/directive/calendar.mdwn:3
  164. msgid ""
  165. "The `calendar` directive is supplied by the [[!iki plugins/calendar "
  166. "desc=calendar]] plugin. This plugin requires extra setup. See the plugin "
  167. "documentation for details."
  168. msgstr ""
  169. # type: Plain text
  170. #: ikiwiki/directive/calendar.mdwn:6
  171. msgid ""
  172. "This directive displays a calendar, similar to the typical calendars shown "
  173. "on some blogs."
  174. msgstr ""
  175. # type: Plain text
  176. #: ikiwiki/directive/calendar.mdwn:7 ikiwiki/directive/postsparkline.mdwn:6 ikiwiki/directive/sparkline.mdwn:7
  177. #, no-wrap
  178. msgid "# examples\n"
  179. msgstr ""
  180. # type: Plain text
  181. #: ikiwiki/directive/calendar.mdwn:10
  182. #, no-wrap
  183. msgid "\t\\[[!calendar ]]\n"
  184. msgstr ""
  185. # type: Plain text
  186. #: ikiwiki/directive/calendar.mdwn:12
  187. #, no-wrap
  188. msgid "\t\\[[!calendar type=\"month\" pages=\"blog/* and !*/Discussion\"]]\n"
  189. msgstr ""
  190. # type: Plain text
  191. #: ikiwiki/directive/calendar.mdwn:14
  192. #, no-wrap
  193. msgid ""
  194. "\t\\[[!calendar type=\"year\" year=\"2005\" pages=\"blog/* and "
  195. "!*/Discussion\"]]\n"
  196. msgstr ""
  197. # type: Plain text
  198. #: ikiwiki/directive/calendar.mdwn:18
  199. msgid ""
  200. "The calendar is essentially a fancy front end to archives of previous pages, "
  201. "usually used for blogs. It can produce a calendar for a given month, or a "
  202. "list of months for a given year."
  203. msgstr ""
  204. # type: Plain text
  205. #: ikiwiki/directive/calendar.mdwn:25
  206. msgid ""
  207. "The month format calendar simply links to any page posted on each day of the "
  208. "month. The year format calendar links to archive pages, with names like "
  209. "`archives/2007` (for all of 2007) and `archives/2007/01` (for January, "
  210. "2007). For this to work, you'll need to create these archive pages. They "
  211. "typically use [[inline]] to display or list pages created in the given time "
  212. "frame."
  213. msgstr ""
  214. # type: Bullet: '* '
  215. #: ikiwiki/directive/calendar.mdwn:45
  216. msgid ""
  217. "`type` - Used to specify the type of calendar wanted. Can be one of "
  218. "\"month\" or \"year\". The default is a month view calendar."
  219. msgstr ""
  220. # type: Bullet: '* '
  221. #: ikiwiki/directive/calendar.mdwn:45
  222. msgid ""
  223. "`pages` - Specifies the [[ikiwiki/PageSpec]] of pages to link to from the "
  224. "month calendar. Defaults to \"*\"."
  225. msgstr ""
  226. # type: Bullet: '* '
  227. #: ikiwiki/directive/calendar.mdwn:45
  228. msgid ""
  229. "`archivebase` - Configures the base of the archives hierarchy. The default "
  230. "is \"archives\". Note that this default can also be overridden for the whole "
  231. "wiki by setting `archivebase` in ikiwiki's setup file."
  232. msgstr ""
  233. # type: Bullet: '* '
  234. #: ikiwiki/directive/calendar.mdwn:45
  235. msgid ""
  236. "`year` - The year for which the calendar is requested. Defaults to the "
  237. "current year."
  238. msgstr ""
  239. # type: Bullet: '* '
  240. #: ikiwiki/directive/calendar.mdwn:45
  241. msgid ""
  242. "`month` - The numeric month for which the calendar is requested, in the "
  243. "range 1..12. Used only for the month view calendar, and defaults to the "
  244. "current month."
  245. msgstr ""
  246. # type: Bullet: '* '
  247. #: ikiwiki/directive/calendar.mdwn:45
  248. msgid ""
  249. "`week_start_day` - A number, in the range 0..6, which represents the day of "
  250. "the week that the month calendar starts with. 0 is Sunday, 1 is Monday, and "
  251. "so on. Defaults to 0, which is Sunday."
  252. msgstr ""
  253. # type: Bullet: '* '
  254. #: ikiwiki/directive/calendar.mdwn:45
  255. msgid ""
  256. "`months_per_row` - In the annual calendar, number of months to place in each "
  257. "row. Defaults to 3."
  258. msgstr ""
  259. # type: Plain text
  260. #: ikiwiki/directive/color.mdwn:2
  261. msgid ""
  262. "The `color` directive is supplied by the [[!iki plugins/color desc=color]] "
  263. "plugin."
  264. msgstr ""
  265. # type: Plain text
  266. #: ikiwiki/directive/color.mdwn:5
  267. msgid ""
  268. "This directive can be used to color a piece of text on a page. It can be "
  269. "used to set the foreground and/or background color of the text."
  270. msgstr ""
  271. # type: Plain text
  272. #: ikiwiki/directive/color.mdwn:8
  273. msgid ""
  274. "You can use a color name (e.g. `white`) or HTML code (e.g. `#ffffff`) to "
  275. "define colors."
  276. msgstr ""
  277. # type: Plain text
  278. #: ikiwiki/directive/color.mdwn:9 ikiwiki/directive/table.mdwn:6 ikiwiki/directive/teximg.mdwn:5
  279. #, no-wrap
  280. msgid "## examples\n"
  281. msgstr ""
  282. # type: Plain text
  283. #: ikiwiki/directive/color.mdwn:13
  284. msgid ""
  285. "Here the foreground color is defined as a word, while the background color "
  286. "is defined as a HTML color code:"
  287. msgstr ""
  288. # type: Plain text
  289. #: ikiwiki/directive/color.mdwn:15
  290. #, no-wrap
  291. msgid ""
  292. "\t\\[[!color foreground=white background=#ff0000 text=\"White text on red "
  293. "background\"]]\n"
  294. msgstr ""
  295. # type: Plain text
  296. #: ikiwiki/directive/color.mdwn:18
  297. msgid ""
  298. "The background color is missing, so the text is displayed on default "
  299. "background:"
  300. msgstr ""
  301. # type: Plain text
  302. #: ikiwiki/directive/color.mdwn:20
  303. #, no-wrap
  304. msgid ""
  305. "\t\\[[!color foreground=white text=\"White text on default color "
  306. "background\"]]\n"
  307. msgstr ""
  308. # type: Plain text
  309. #: ikiwiki/directive/color.mdwn:22
  310. msgid "The foreground is missing, so the text has the default foreground color:"
  311. msgstr ""
  312. # type: Plain text
  313. #: ikiwiki/directive/color.mdwn:24
  314. #, no-wrap
  315. msgid ""
  316. "\t\\[[!color background=#ff0000 text=\"Default color text on red "
  317. "background\"]]\n"
  318. msgstr ""
  319. # type: Plain text
  320. #: ikiwiki/directive/copy.mdwn:1 ikiwiki/directive/cut.mdwn:1 ikiwiki/directive/paste.mdwn:1
  321. #, no-wrap
  322. msgid "[[!meta redir=/ikiwiki/directive/cutpaste]]\n"
  323. msgstr ""
  324. # type: Plain text
  325. #: ikiwiki/directive/cutpaste.mdwn:3
  326. msgid ""
  327. "The `copy`, `cut` and `paste` directives are supplied by the [[!iki "
  328. "plugins/cutpaste desc=cutpaste]] plugin."
  329. msgstr ""
  330. # type: Plain text
  331. #: ikiwiki/directive/cutpaste.mdwn:5
  332. msgid "With these directives you can store and recall pieces of text in a page:"
  333. msgstr ""
  334. # type: Bullet: ' * '
  335. #: ikiwiki/directive/cutpaste.mdwn:11
  336. msgid ""
  337. "`\\[[!cut id=name text=\"text\"]]` memorizes the text allowing to recall it "
  338. "using the given ID. The text being cut is not included in the output."
  339. msgstr ""
  340. # type: Bullet: ' * '
  341. #: ikiwiki/directive/cutpaste.mdwn:11
  342. msgid ""
  343. "`\\[[!copy id=name text=\"text\"]]` memorizes the text allowing to recall it "
  344. "using the given ID. The text being cut *is* included in the output."
  345. msgstr ""
  346. # type: Bullet: ' * '
  347. #: ikiwiki/directive/cutpaste.mdwn:11
  348. msgid "`\\[[!paste id=name]]` is replaced by the previously memorized text."
  349. msgstr ""
  350. # type: Plain text
  351. #: ikiwiki/directive/cutpaste.mdwn:14
  352. msgid ""
  353. "The text being cut, copied and pasted can freely include wiki markup, "
  354. "including more calls to cut, copy and paste."
  355. msgstr ""
  356. # type: Plain text
  357. #: ikiwiki/directive/cutpaste.mdwn:19
  358. msgid ""
  359. "You do not need to memorize the text before using it: a cut directive can "
  360. "follow the paste directive that uses its text. In fact, this is quite "
  361. "useful to postpone big blocks of text like long annotations and have a more "
  362. "natural flow. For example:"
  363. msgstr ""
  364. # type: Plain text
  365. #: ikiwiki/directive/cutpaste.mdwn:23
  366. #, no-wrap
  367. msgid ""
  368. "\t\\[[!toggleable id=\"cut\" text=\"\\[[!paste id=cutlongdesc]]\"]]\n"
  369. "\t\\[[!toggleable id=\"copy\" text=\"\\[[!paste id=copylongdesc]]\"]]\n"
  370. "\t\\[[!toggleable id=\"paste\" text=\"\\[[!paste id=pastelongdesc]]\"]]\n"
  371. msgstr ""
  372. # type: Plain text
  373. #: ikiwiki/directive/cutpaste.mdwn:25
  374. #, no-wrap
  375. msgid "\t\\[...some time later...]\n"
  376. msgstr ""
  377. # type: Plain text
  378. #: ikiwiki/directive/cutpaste.mdwn:26
  379. #, no-wrap
  380. msgid "\t\\[[!cut id=cutlongdesc text=\"\"\"\n"
  381. msgstr ""
  382. # type: Plain text
  383. #: ikiwiki/directive/cutpaste.mdwn:28 ikiwiki/directive/cutpaste.mdwn:31 ikiwiki/directive/cutpaste.mdwn:34
  384. #, no-wrap
  385. msgid "\t blah blah blah\n"
  386. msgstr ""
  387. # type: Plain text
  388. #: ikiwiki/directive/cutpaste.mdwn:29
  389. #, no-wrap
  390. msgid "\t\\[[!cut id=copylongdesc text=\"\"\"\n"
  391. msgstr ""
  392. # type: Plain text
  393. #: ikiwiki/directive/cutpaste.mdwn:32
  394. #, no-wrap
  395. msgid "\t\\[[!cut id=pastelongdesc text=\"\"\"\n"
  396. msgstr ""
  397. # type: Plain text
  398. #: ikiwiki/directive/cutpaste.mdwn:38
  399. msgid ""
  400. "This can potentially be used to create loops, but ikiwiki is clever and "
  401. "breaks them."
  402. msgstr ""
  403. # type: Plain text
  404. #: ikiwiki/directive/cutpaste.mdwn:41
  405. msgid ""
  406. "Since you can paste without using double quotes, copy and paste can be used "
  407. "to nest directives that require multiline parameters inside each other:"
  408. msgstr ""
  409. # type: Plain text
  410. #: ikiwiki/directive/cutpaste.mdwn:42
  411. #, no-wrap
  412. msgid "\t\\[[!toggleable id=foo text=\"\"\"\n"
  413. msgstr ""
  414. # type: Plain text
  415. #: ikiwiki/directive/cutpaste.mdwn:44
  416. #, no-wrap
  417. msgid "\t \\[[!toggleable id=bar text=\"\\[[!paste id=baz]]\"]]\n"
  418. msgstr ""
  419. # type: Plain text
  420. #: ikiwiki/directive/cutpaste.mdwn:46
  421. #, no-wrap
  422. msgid "\t\\[[!cut id=baz text=\"\"\"\n"
  423. msgstr ""
  424. # type: Plain text
  425. #: ikiwiki/directive/cutpaste.mdwn:48
  426. #, no-wrap
  427. msgid "\tmultiline parameter!\n"
  428. msgstr ""
  429. # type: Plain text
  430. #: ikiwiki/directive/edittemplate.mdwn:2
  431. msgid ""
  432. "The `edittemplate` directive is supplied by the [[!iki plugins/edittemplate "
  433. "desc=edittemplate]] plugin."
  434. msgstr ""
  435. # type: Plain text
  436. #: ikiwiki/directive/edittemplate.mdwn:6
  437. msgid ""
  438. "This directive allows registering template pages, that provide default "
  439. "content for new pages created using the web frontend. To register a "
  440. "template, insert a [[ikiwiki/directive/template]] directive on some other "
  441. "page."
  442. msgstr ""
  443. # type: Plain text
  444. #: ikiwiki/directive/edittemplate.mdwn:8
  445. #, no-wrap
  446. msgid "\t\\[[!edittemplate template=\"bugtemplate\" match=\"bugs/*\"]]\n"
  447. msgstr ""
  448. # type: Plain text
  449. #: ikiwiki/directive/edittemplate.mdwn:13
  450. msgid ""
  451. "In the above example, the page named \"bugtemplate\" is registered as a "
  452. "template to be used when any page named \"bugs/*\" is created. To avoid the "
  453. "directive displaying a note about the template being registered, add "
  454. "\"silent=yes\"."
  455. msgstr ""
  456. # type: Plain text
  457. #: ikiwiki/directive/edittemplate.mdwn:17
  458. msgid ""
  459. "Often the template page contains a simple skeleton for a particular type of "
  460. "page. For the bug report pages in the above example, it might look something "
  461. "like:"
  462. msgstr ""
  463. # type: Plain text
  464. #: ikiwiki/directive/edittemplate.mdwn:22
  465. #, no-wrap
  466. msgid ""
  467. "\tPackage: \n"
  468. "\tVersion: \n"
  469. "\tReproducible: y/n\n"
  470. "\tDetails:\n"
  471. msgstr ""
  472. # type: Plain text
  473. #: ikiwiki/directive/edittemplate.mdwn:27
  474. #, no-wrap
  475. msgid ""
  476. "The template page can also contain [[!cpan HTML::Template]] directives,\n"
  477. "similar to other ikiwiki [[templates]]. Currently only one variable is\n"
  478. "set: `<TMPL_VAR name>` is replaced with the name of the page being\n"
  479. "created.\n"
  480. msgstr ""
  481. # type: Plain text
  482. #: ikiwiki/directive/edittemplate.mdwn:28
  483. #, no-wrap
  484. msgid "----\n"
  485. msgstr ""
  486. # type: Plain text
  487. #: ikiwiki/directive/edittemplate.mdwn:35
  488. msgid ""
  489. "It's generally not a good idea to put the `edittemplate` directive in the "
  490. "template page itself, since the directive would then be included as part of "
  491. "the template on new pages, which would then in turn be registered as "
  492. "templates. If multiple pages are registered as templates for a new page, an "
  493. "arbitrary one is chosen, so that could get confusing."
  494. msgstr ""
  495. # type: Plain text
  496. #: ikiwiki/directive/fortune.mdwn:2
  497. msgid ""
  498. "The `fortune` directive is supplied by the [[!iki plugins/fortune "
  499. "desc=fortune]] plugin."
  500. msgstr ""
  501. # type: Plain text
  502. #: ikiwiki/directive/fortune.mdwn:5
  503. msgid ""
  504. "This just uses the `fortune` program to insert a fortune cookie into the "
  505. "page. Usage:"
  506. msgstr ""
  507. # type: Plain text
  508. #: ikiwiki/directive/fortune.mdwn:7
  509. #, no-wrap
  510. msgid "\t\\[[!fortune ]]\n"
  511. msgstr ""
  512. # type: Plain text
  513. #: ikiwiki/directive/graph.mdwn:2
  514. msgid ""
  515. "The `graph` directive is supplied by the [[!iki plugins/graphviz "
  516. "desc=graphviz]] plugin."
  517. msgstr ""
  518. # type: Plain text
  519. #: ikiwiki/directive/graph.mdwn:5
  520. msgid ""
  521. "This directive allows embedding [graphviz](http://www.graphviz.org/) graphs "
  522. "in a page. Example usage:"
  523. msgstr ""
  524. # type: Plain text
  525. #: ikiwiki/directive/graph.mdwn:7
  526. #, no-wrap
  527. msgid "\t\\[[!graph src=\"a -> b -> c; a -> c;\"]]\n"
  528. msgstr ""
  529. # type: Plain text
  530. #: ikiwiki/directive/graph.mdwn:11
  531. msgid ""
  532. "Note that graphs will only show up in previews if your browser has "
  533. "[[!wikipedia data: URI]] support, or if the same graph already exists on "
  534. "that page."
  535. msgstr ""
  536. # type: Plain text
  537. #: ikiwiki/directive/graph.mdwn:13
  538. msgid "The `graph` directive supports the following parameters:"
  539. msgstr ""
  540. # type: Bullet: '- '
  541. #: ikiwiki/directive/graph.mdwn:22
  542. msgid "`src` - The graphviz source to render."
  543. msgstr ""
  544. # type: Bullet: '- '
  545. #: ikiwiki/directive/graph.mdwn:22
  546. msgid ""
  547. "`type` - The type of graph to render: `graph` or `digraph`. Defaults to "
  548. "`digraph`."
  549. msgstr ""
  550. # type: Bullet: '- '
  551. #: ikiwiki/directive/graph.mdwn:22
  552. msgid ""
  553. "`prog` - The graphviz program to render with: `dot`, `neato`, `fdp`, "
  554. "`twopi`, or `circo`. Defaults to `dot`."
  555. msgstr ""
  556. # type: Bullet: '- '
  557. #: ikiwiki/directive/graph.mdwn:22
  558. msgid ""
  559. "`height`, `width` - Limit the size of the graph to a given height and width, "
  560. "in inches. You must specify both to limit the size; otherwise, graphviz will "
  561. "choose a size, without any limit."
  562. msgstr ""
  563. # type: Plain text
  564. #: ikiwiki/directive/haiku.mdwn:2
  565. msgid ""
  566. "The `haiku` directive is supplied by the [[!iki plugins/haiku desc=haiku]] "
  567. "plugin."
  568. msgstr ""
  569. # type: Plain text
  570. #: ikiwiki/directive/haiku.mdwn:5
  571. msgid ""
  572. "This directive allows inserting a randomly generated haiku into a wiki "
  573. "page. Just type:"
  574. msgstr ""
  575. # type: Plain text
  576. #: ikiwiki/directive/haiku.mdwn:7
  577. #, no-wrap
  578. msgid "\t\\[[!haiku hint=\"argument\"]]\n"
  579. msgstr ""
  580. # type: Plain text
  581. #: ikiwiki/directive/haiku.mdwn:8
  582. #, no-wrap
  583. msgid "[[!haiku hint=\"argument test\"]]\n"
  584. msgstr ""
  585. # type: Plain text
  586. #: ikiwiki/directive/haiku.mdwn:14
  587. msgid ""
  588. "The hint parameter can be omitted, it only provides the generator a hint of "
  589. "what to write the haiku about. If no hint is given, it might base it on the "
  590. "page name. Since the vocabulary it knows is very small, many hints won't "
  591. "affect the result at all."
  592. msgstr ""
  593. # type: Plain text
  594. #: ikiwiki/directive/if.mdwn:2
  595. msgid ""
  596. "The `if` directive is supplied by the [[!iki plugins/conditional "
  597. "desc=conditional]] plugin."
  598. msgstr ""
  599. # type: Plain text
  600. #: ikiwiki/directive/if.mdwn:5
  601. msgid ""
  602. "With this directive, you can make text be conditionally displayed on a "
  603. "page. For example:"
  604. msgstr ""
  605. # type: Plain text
  606. #: ikiwiki/directive/if.mdwn:9
  607. #, no-wrap
  608. msgid ""
  609. "\t\\[[!if test=\"enabled(smiley)\"\n"
  610. "\t then=\"The smiley plugin is enabled :-)\"\n"
  611. "\t else=\"No smiley plugin here..\"]]\n"
  612. msgstr ""
  613. # type: Plain text
  614. #: ikiwiki/directive/if.mdwn:12
  615. msgid ""
  616. "If the specified `test` succeeds, the `then` text will be displayed, "
  617. "otherwise the `else` text will be displayed. The `else` part is optional."
  618. msgstr ""
  619. # type: Plain text
  620. #: ikiwiki/directive/if.mdwn:16
  621. msgid ""
  622. "The `then` and `else` values can include any markup that would be allowed in "
  623. "the wiki page outside the template. Triple-quoting the values even allows "
  624. "quotes to be included."
  625. msgstr ""
  626. # type: Plain text
  627. #: ikiwiki/directive/if.mdwn:21
  628. msgid ""
  629. "The `test` is a [[ikiwiki/PageSpec]]; if it matches any page in the wiki "
  630. "then it succeeds. So you can do things like testing for the existence of a "
  631. "page or pages, testing to see if any pages were created in a given month, "
  632. "and so on."
  633. msgstr ""
  634. # type: Plain text
  635. #: ikiwiki/directive/if.mdwn:25
  636. msgid ""
  637. "If you want the [[ikiwiki/PageSpec]] to only match against the page that "
  638. "contains the conditional, rather than matching against all pages in the "
  639. "wiki, set the \"all\" parameter to \"no\"."
  640. msgstr ""
  641. # type: Plain text
  642. #: ikiwiki/directive/if.mdwn:28
  643. msgid ""
  644. "In an `if` directive, the regular [[ikiwiki/PageSpec]] syntax is expanded "
  645. "with the following additional tests:"
  646. msgstr ""
  647. # type: Bullet: '* '
  648. #: ikiwiki/directive/if.mdwn:30
  649. msgid "enabled(plugin)"
  650. msgstr ""
  651. # type: Plain text
  652. #: ikiwiki/directive/if.mdwn:32
  653. #, no-wrap
  654. msgid " Tests whether the specified plugin is enabled.\n"
  655. msgstr ""
  656. # type: Bullet: '* '
  657. #: ikiwiki/directive/if.mdwn:34
  658. msgid "sourcepage(glob)"
  659. msgstr ""
  660. # type: Plain text
  661. #: ikiwiki/directive/if.mdwn:37
  662. #, no-wrap
  663. msgid ""
  664. " Tests whether the glob matches the name of the page that contains the\n"
  665. " conditional.\n"
  666. msgstr ""
  667. # type: Bullet: '* '
  668. #: ikiwiki/directive/if.mdwn:39
  669. msgid "destpage(glob)"
  670. msgstr ""
  671. # type: Plain text
  672. #: ikiwiki/directive/if.mdwn:43
  673. #, no-wrap
  674. msgid ""
  675. " Tests whether the glob matches the name of the page that is being built.\n"
  676. " That might be different than the name of the page that contains the\n"
  677. " conditional, if it's being inlined into another page.\n"
  678. msgstr ""
  679. # type: Bullet: '* '
  680. #: ikiwiki/directive/if.mdwn:45
  681. msgid "included()"
  682. msgstr ""
  683. # type: Plain text
  684. #: ikiwiki/directive/if.mdwn:47
  685. #, no-wrap
  686. msgid " Tests whether the page is being included onto another page.\n"
  687. msgstr ""
  688. # type: Plain text
  689. #: ikiwiki/directive/img.mdwn:2
  690. msgid "The `img` directive is supplied by the [[!iki plugins/img desc=img]] plugin."
  691. msgstr ""
  692. # type: Plain text
  693. #: ikiwiki/directive/img.mdwn:7
  694. msgid ""
  695. "This is an image handling directive. While ikiwiki supports inlining "
  696. "full-size images by making a [[ikiwiki/WikiLink]] that points to the image, "
  697. "using this directive you can easily scale down an image for inclusion onto a "
  698. "page, providing a link to a full-size version."
  699. msgstr ""
  700. # type: Plain text
  701. #: ikiwiki/directive/img.mdwn:11
  702. #, no-wrap
  703. msgid "\t\\[[!img image1.jpg size=\"200x200\" alt=\"clouds\"]]\n"
  704. msgstr ""
  705. # type: Plain text
  706. #: ikiwiki/directive/img.mdwn:14
  707. msgid ""
  708. "The image file will be searched for using the same rules as used to find the "
  709. "file pointed to by a [[ikiwiki/WikiLink]]."
  710. msgstr ""
  711. # type: Plain text
  712. #: ikiwiki/directive/img.mdwn:20
  713. msgid ""
  714. "The `size` parameter is optional, defaulting to full size. Note that the "
  715. "original image's aspect ratio is always preserved, even if this means making "
  716. "the image smaller than the specified size. You can also specify only the "
  717. "width or the height, and the other value will be calculated based on it: "
  718. "\"200x\", \"x200\""
  719. msgstr ""
  720. # type: Plain text
  721. #: ikiwiki/directive/img.mdwn:24
  722. msgid ""
  723. "You can also pass `alt`, `title`, `class` and `id` parameters. These are "
  724. "passed through unchanged to the html img tag. If you include a `caption` "
  725. "parameter, the caption will be displayed centered beneath the image."
  726. msgstr ""
  727. # type: Plain text
  728. #: ikiwiki/directive/img.mdwn:29
  729. msgid ""
  730. "The `link` parameter is used to control whether the scaled down image links "
  731. "to the full size version. By default it does; set \"link=somepage\" to link "
  732. "to another page instead, or \"link=no\" to disable the link, or "
  733. "\"link=http://url\" to link to a given url."
  734. msgstr ""
  735. # type: Plain text
  736. #: ikiwiki/directive/img.mdwn:32
  737. msgid ""
  738. "You can also set default values that will be applied to all later images on "
  739. "the page, unless overridden. Useful when including many images on a page."
  740. msgstr ""
  741. # type: Plain text
  742. #: ikiwiki/directive/img.mdwn:37
  743. #, no-wrap
  744. msgid ""
  745. "\t\\[[!img defaults size=200x200 alt=\"wedding photo\"]]\n"
  746. "\t\\[[!img photo1.jpg]]\n"
  747. "\t\\[[!img photo2.jpg]]\n"
  748. "\t\\[[!img photo3.jpg size=200x600]]\n"
  749. msgstr ""
  750. # type: Plain text
  751. #: ikiwiki/directive/inline.mdwn:2
  752. msgid ""
  753. "The `inline` directive is supplied by the [[!iki plugins/inline "
  754. "desc=inline]] plugin."
  755. msgstr ""
  756. # type: Plain text
  757. #: ikiwiki/directive/inline.mdwn:5
  758. msgid ""
  759. "This is a directive that allows including one wiki page inside another. The "
  760. "most common use of inlining is generating blogs and RSS or Atom feeds."
  761. msgstr ""
  762. # type: Plain text
  763. #: ikiwiki/directive/inline.mdwn:9
  764. #, no-wrap
  765. msgid ""
  766. "\t\\[[!inline pages=\"blog/* and !*/Discussion\" show=\"10\" "
  767. "rootpage=\"blog\"]]\n"
  768. msgstr ""
  769. # type: Plain text
  770. #: ikiwiki/directive/inline.mdwn:15
  771. msgid ""
  772. "Any pages that match the specified [[PageSpec]] (in the example, any "
  773. "[[SubPage]] of \"blog\") will be part of the blog, and the newest 10 of them "
  774. "will appear in the page. Note that if files that are not pages match the "
  775. "[[PageSpec]], they will be included in the feed using RSS enclosures, which "
  776. "is useful for podcasting."
  777. msgstr ""
  778. # type: Plain text
  779. #: ikiwiki/directive/inline.mdwn:19
  780. msgid ""
  781. "The optional `rootpage` parameter tells the wiki that new posts to this blog "
  782. "should default to being [[SubPages|SubPage]] of \"blog\", and enables a form "
  783. "at the top of the blog that can be used to add new items."
  784. msgstr ""
  785. # type: Plain text
  786. #: ikiwiki/directive/inline.mdwn:22
  787. msgid ""
  788. "If you want your blog to have an archive page listing every post ever made "
  789. "to it, you can accomplish that like this:"
  790. msgstr ""
  791. # type: Plain text
  792. #: ikiwiki/directive/inline.mdwn:24
  793. #, no-wrap
  794. msgid "\t\\[[!inline pages=\"blog/* and !*/Discussion\" archive=\"yes\"]]\n"
  795. msgstr ""
  796. # type: Plain text
  797. #: ikiwiki/directive/inline.mdwn:27
  798. msgid ""
  799. "You can even create an automatically generated list of all the pages on the "
  800. "wiki, with the most recently added at the top, like this:"
  801. msgstr ""
  802. # type: Plain text
  803. #: ikiwiki/directive/inline.mdwn:29
  804. #, no-wrap
  805. msgid "\t\\[[!inline pages=\"* and !*/Discussion\" archive=\"yes\"]]\n"
  806. msgstr ""
  807. # type: Plain text
  808. #: ikiwiki/directive/inline.mdwn:34
  809. msgid ""
  810. "If you want to be able to add pages to a given blog feed by tagging them, "
  811. "you can do that too. To tag a page, just make it link to a page or pages "
  812. "that represent its tags. Then use the special `link()` [[PageSpec]] to match "
  813. "all pages that have a given tag:"
  814. msgstr ""
  815. # type: Plain text
  816. #: ikiwiki/directive/inline.mdwn:36
  817. #, no-wrap
  818. msgid "\t\\[[!inline pages=\"link(life)\"]]\n"
  819. msgstr ""
  820. # type: Plain text
  821. #: ikiwiki/directive/inline.mdwn:38
  822. msgid "Or include some tags and exclude others:"
  823. msgstr ""
  824. # type: Plain text
  825. #: ikiwiki/directive/inline.mdwn:40
  826. #, no-wrap
  827. msgid "\t\\[[!inline pages=\"link(debian) and !link(social)\"]]\n"
  828. msgstr ""
  829. # type: Plain text
  830. #: ikiwiki/directive/inline.mdwn:45
  831. msgid ""
  832. "There are many parameters you can use with the `inline` directive. These are "
  833. "the commonly used ones:"
  834. msgstr ""
  835. # type: Bullet: '* '
  836. #: ikiwiki/directive/inline.mdwn:62
  837. msgid "`pages` - A [[PageSpec]] of the pages to inline."
  838. msgstr ""
  839. # type: Bullet: '* '
  840. #: ikiwiki/directive/inline.mdwn:62
  841. msgid ""
  842. "`show` - Specify the maximum number of matching pages to inline. Default is "
  843. "10, unless archiving, when the default is to show all. Set to 0 to show all "
  844. "matching pages."
  845. msgstr ""
  846. # type: Bullet: '* '
  847. #: ikiwiki/directive/inline.mdwn:62
  848. msgid ""
  849. "`archive` - If set to \"yes\", only list page titles and some metadata, not "
  850. "full contents."
  851. msgstr ""
  852. # type: Bullet: '* '
  853. #: ikiwiki/directive/inline.mdwn:62
  854. msgid ""
  855. "`description` - Sets the description of the rss feed if one is generated. "
  856. "Defaults to the name of the wiki."
  857. msgstr ""
  858. # type: Bullet: '* '
  859. #: ikiwiki/directive/inline.mdwn:62
  860. msgid ""
  861. "`skip` - Specify a number of pages to skip displaying. Can be useful to "
  862. "produce a feed that only shows archived pages."
  863. msgstr ""
  864. # type: Bullet: '* '
  865. #: ikiwiki/directive/inline.mdwn:62
  866. msgid "`postform` - Set to \"yes\" to enable a form to post new pages to a blog."
  867. msgstr ""
  868. # type: Bullet: '* '
  869. #: ikiwiki/directive/inline.mdwn:62
  870. msgid "`postformtext` - Set to specify text that is displayed in a postform."
  871. msgstr ""
  872. # type: Bullet: '* '
  873. #: ikiwiki/directive/inline.mdwn:62
  874. msgid ""
  875. "`rootpage` - Enable the postform, and allows controling where newly posted "
  876. "pages should go, by specifiying the page that they should be a [[SubPage]] "
  877. "of."
  878. msgstr ""
  879. # type: Plain text
  880. #: ikiwiki/directive/inline.mdwn:64
  881. msgid "Here are some less often needed parameters:"
  882. msgstr ""
  883. # type: Bullet: '* '
  884. #: ikiwiki/directive/inline.mdwn:105
  885. msgid ""
  886. "`actions` - If set to \"yes\" add links to the bottom of the inlined pages "
  887. "for editing and discussion (if they would be shown at the top of the page "
  888. "itself)."
  889. msgstr ""
  890. # type: Bullet: '* '
  891. #: ikiwiki/directive/inline.mdwn:105
  892. msgid ""
  893. "`rss` - controls generation of an rss feed. If the wiki is configured to "
  894. "generate rss feeds by default, set to \"no\" to disable. If the wiki is "
  895. "configured to `allowrss`, set to \"yes\" to enable."
  896. msgstr ""
  897. # type: Bullet: '* '
  898. #: ikiwiki/directive/inline.mdwn:105
  899. msgid ""
  900. "`atom` - controls generation of an atom feed. If the wiki is configured to "
  901. "generate atom feeds by default, set to \"no\" to disable. If the wiki is "
  902. "configured to `allowatom`, set to \"yes\" to enable."
  903. msgstr ""
  904. # type: Bullet: '* '
  905. #: ikiwiki/directive/inline.mdwn:105
  906. msgid ""
  907. "`feeds` - controls generation of all types of feeds. Set to \"no\" to "
  908. "disable generating any feeds."
  909. msgstr ""
  910. # type: Bullet: '* '
  911. #: ikiwiki/directive/inline.mdwn:105
  912. msgid ""
  913. "`template` - Specifies the template to fill out to display each inlined "
  914. "page. By default the `inlinepage` template is used, while the `archivepage` "
  915. "template is used for archives. Set this parameter to use some other, custom "
  916. "template, such as the `titlepage` template that only shows post titles. Note "
  917. "that you should still set `archive=yes` if your custom template does not "
  918. "include the page content."
  919. msgstr ""
  920. # type: Bullet: '* '
  921. #: ikiwiki/directive/inline.mdwn:105
  922. msgid ""
  923. "`raw` - Rather than the default behavior of creating a blog, if raw is set "
  924. "to \"yes\", the page will be included raw, without additional markup around "
  925. "it, as if it were a literal part of the source of the inlining page."
  926. msgstr ""
  927. # type: Bullet: '* '
  928. #: ikiwiki/directive/inline.mdwn:105
  929. msgid ""
  930. "`sort` - Controls how inlined pages are sorted. The default, \"age\" is to "
  931. "sort newest created pages first. Setting it to \"title\" will sort pages by "
  932. "title, and \"mtime\" sorts most recently modified pages first."
  933. msgstr ""
  934. # type: Bullet: '* '
  935. #: ikiwiki/directive/inline.mdwn:105
  936. msgid "`reverse` - If set to \"yes\", causes the sort order to be reversed."
  937. msgstr ""
  938. # type: Bullet: '* '
  939. #: ikiwiki/directive/inline.mdwn:105
  940. msgid ""
  941. "`feedshow` - Specify the maximum number of matching pages to include in the "
  942. "rss/atom feeds. The default is the same as the `show` value above."
  943. msgstr ""
  944. # type: Bullet: '* '
  945. #: ikiwiki/directive/inline.mdwn:105
  946. msgid ""
  947. "`feedonly` - Only generate the feed, do not display the pages inline on the "
  948. "page."
  949. msgstr ""
  950. # type: Bullet: '* '
  951. #: ikiwiki/directive/inline.mdwn:105
  952. msgid ""
  953. "`quick` - Build archives in quick mode, without reading page contents for "
  954. "metadata. By default, this also turns off generation of any feeds."
  955. msgstr ""
  956. # type: Bullet: '* '
  957. #: ikiwiki/directive/inline.mdwn:105
  958. msgid ""
  959. "`timeformat` - Use this to specify how to display the time or date for pages "
  960. "in the blog. The format string is passed to the strftime(3) function."
  961. msgstr ""
  962. # type: Bullet: '* '
  963. #: ikiwiki/directive/inline.mdwn:105
  964. msgid ""
  965. "`feedpages` - A [[PageSpec]] of inlined pages to include in the rss/atom "
  966. "feeds. The default is the same as the `pages` value above, and only pages "
  967. "matches by that value are included, but some of those can be excluded by "
  968. "specifying a tighter [[PageSpec]] here."
  969. msgstr ""
  970. # type: Bullet: '* '
  971. #: ikiwiki/directive/inline.mdwn:105
  972. msgid ""
  973. "`guid` - If a URI is given here (perhaps a UUID prefixed with `urn:uuid:`), "
  974. "the Atom feed will have this as its `<id>`. The default is to use the URL of "
  975. "the page containing the `inline` directive."
  976. msgstr ""
  977. # type: Plain text
  978. #: ikiwiki/directive/inline.mdwn:109
  979. msgid ""
  980. "A related directive is the [[ikiwiki/directive/edittemplate]] directive, "
  981. "which allows default text for a new page to be specified."
  982. msgstr ""
  983. # type: Plain text
  984. #: ikiwiki/directive/linkmap.mdwn:2
  985. msgid ""
  986. "The `linkmap` directive is supplied by the [[!iki plugins/linkmap "
  987. "desc=linkmap]] plugin."
  988. msgstr ""
  989. # type: Plain text
  990. #: ikiwiki/directive/linkmap.mdwn:5
  991. msgid ""
  992. "This directive uses [graphviz](http://www.graphviz.org/) to generate a graph "
  993. "showing the links between a set of pages in the wiki. Example usage:"
  994. msgstr ""
  995. # type: Plain text
  996. #: ikiwiki/directive/linkmap.mdwn:7
  997. #, no-wrap
  998. msgid "\t\\[[!linkmap pages=\"* and !blog/* and !*/Discussion\"]]\n"
  999. msgstr ""
  1000. # type: Plain text
  1001. #: ikiwiki/directive/linkmap.mdwn:15
  1002. msgid ""
  1003. "Only links between mapped pages will be shown; links pointing to or from "
  1004. "unmapped pages will be omitted. If the pages to include are not specified, "
  1005. "the links between all pages (and other files) in the wiki are mapped. For "
  1006. "best results, only a small set of pages should be mapped, since otherwise "
  1007. "the map can become very large, unweildy, and complicated. Also, the map is "
  1008. "rebuilt whenever one of the mapped pages is changed, which can make the wiki "
  1009. "a bit slow."
  1010. msgstr ""
  1011. # type: Plain text
  1012. #: ikiwiki/directive/linkmap.mdwn:18
  1013. msgid ""
  1014. "Here are descriptions of all the supported parameters to the `linkmap` "
  1015. "directive:"
  1016. msgstr ""
  1017. # type: Bullet: '* '
  1018. #: ikiwiki/directive/linkmap.mdwn:23
  1019. msgid "`pages` - A [[ikiwiki/PageSpec]] of the pages to map."
  1020. msgstr ""
  1021. # type: Bullet: '* '
  1022. #: ikiwiki/directive/linkmap.mdwn:23
  1023. msgid ""
  1024. "`height`, `width` - Limit the size of the map to a given height and width, "
  1025. "in inches. Both must be specified for the limiting to take effect, otherwise "
  1026. "the map's size is not limited."
  1027. msgstr ""
  1028. # type: Plain text
  1029. #: ikiwiki/directive/listdirectives.mdwn:2
  1030. msgid ""
  1031. "The `listdirectives` directive is supplied by the [[!iki "
  1032. "plugins/listdirectives desc=listdirectives]] plugin."
  1033. msgstr ""
  1034. # type: Plain text
  1035. #: ikiwiki/directive/listdirectives.mdwn:5
  1036. msgid ""
  1037. "This directive generates a list of available "
  1038. "[[directives|ikiwiki/directive]]."
  1039. msgstr ""
  1040. # type: Plain text
  1041. #: ikiwiki/directive/listdirectives.mdwn:7
  1042. #, no-wrap
  1043. msgid "\t\\[[!listdirectives]]\n"
  1044. msgstr ""
  1045. # type: Plain text
  1046. #: ikiwiki/directive/listdirectives.mdwn:14
  1047. msgid ""
  1048. "There is one optional keyword argument, `generated`. Normally the "
  1049. "`listdirectives` directive will list all built in directives and directives "
  1050. "directly registered by plugins. With this keyword, `listdirectives` will "
  1051. "also list directives generated later. For example, all [[shortcuts]] are "
  1052. "directives generated in turn by the `shortcut` directive. They will only be "
  1053. "listed if the `generated` argument is supplied."
  1054. msgstr ""
  1055. # type: Plain text
  1056. #: ikiwiki/directive/listdirectives.mdwn:16
  1057. #, no-wrap
  1058. msgid " \\[[!listdirectives generated]]\n"
  1059. msgstr ""
  1060. # type: Plain text
  1061. #: ikiwiki/directive/listdirectives.mdwn:19
  1062. msgid ""
  1063. "This extended list is often quite long, and often contains many undocumented "
  1064. "directives."
  1065. msgstr ""
  1066. # type: Plain text
  1067. #: ikiwiki/directive/map.mdwn:2
  1068. msgid "The `map` directive is supplied by the [[!iki plugins/map desc=map]] plugin."
  1069. msgstr ""
  1070. # type: Plain text
  1071. #: ikiwiki/directive/map.mdwn:4
  1072. msgid ""
  1073. "This directive generates a hierarchical page map for the wiki. Example "
  1074. "usage:"
  1075. msgstr ""
  1076. # type: Plain text
  1077. #: ikiwiki/directive/map.mdwn:6
  1078. #, no-wrap
  1079. msgid "\t\\[[!map pages=\"* and !blog/* and !*/Discussion\"]]\n"
  1080. msgstr ""
  1081. # type: Plain text
  1082. #: ikiwiki/directive/map.mdwn:9
  1083. msgid ""
  1084. "If the pages to include are not specified, all pages (and other files) in "
  1085. "the wiki are mapped."
  1086. msgstr ""
  1087. # type: Plain text
  1088. #: ikiwiki/directive/map.mdwn:13
  1089. msgid ""
  1090. "By default, the names of pages are shown in the map. The `show` parameter "
  1091. "can be used to show the titles or descriptions of pages instead (as set by "
  1092. "the [[meta]] directive). For example:"
  1093. msgstr ""
  1094. # type: Plain text
  1095. #: ikiwiki/directive/map.mdwn:15
  1096. #, no-wrap
  1097. msgid "\t\\[[!map pages=\"* and !blog/* and !*/Discussion\" show=title]]\n"
  1098. msgstr ""
  1099. # type: Plain text
  1100. #: ikiwiki/directive/map.mdwn:18
  1101. msgid ""
  1102. "Hint: To limit the map to displaying pages less than a certain level deep, "
  1103. "use a [[ikiwiki/PageSpec]] like this: `pages=\"* and !*/*/*\"`"
  1104. msgstr ""
  1105. # type: Plain text
  1106. #: ikiwiki/directive/meta.mdwn:2
  1107. msgid ""
  1108. "The `meta` directive is supplied by the [[!iki plugins/meta desc=meta]] "
  1109. "plugin."
  1110. msgstr ""
  1111. # type: Plain text
  1112. #: ikiwiki/directive/meta.mdwn:5
  1113. msgid ""
  1114. "This directive allows inserting arbitrary metadata into the source of a "
  1115. "page. Enter the metadata as follows:"
  1116. msgstr ""
  1117. # type: Plain text
  1118. #: ikiwiki/directive/meta.mdwn:8
  1119. #, no-wrap
  1120. msgid ""
  1121. "\t\\[[!meta field=\"value\"]]\n"
  1122. "\t\\[[!meta field=\"value\" param=\"value\" param=\"value\"]]\n"
  1123. msgstr ""
  1124. # type: Plain text
  1125. #: ikiwiki/directive/meta.mdwn:11
  1126. msgid ""
  1127. "The first form sets a given field to a given value, while the second form "
  1128. "also specifies some additional sub-parameters."
  1129. msgstr ""
  1130. # type: Plain text
  1131. #: ikiwiki/directive/meta.mdwn:14
  1132. msgid ""
  1133. "The field values are treated as HTML entity-escaped text, so you can include "
  1134. "a quote in the text by writing `&quot;` and so on."
  1135. msgstr ""
  1136. # type: Plain text
  1137. #: ikiwiki/directive/meta.mdwn:16
  1138. msgid "Supported fields:"
  1139. msgstr ""
  1140. # type: Bullet: '* '
  1141. #: ikiwiki/directive/meta.mdwn:18
  1142. msgid "title"
  1143. msgstr ""
  1144. # type: Plain text
  1145. #: ikiwiki/directive/meta.mdwn:21
  1146. #, no-wrap
  1147. msgid ""
  1148. " Overrides the title of the page, which is generally the same as the\n"
  1149. " page name.\n"
  1150. msgstr ""
  1151. # type: Plain text
  1152. #: ikiwiki/directive/meta.mdwn:25
  1153. #, no-wrap
  1154. msgid ""
  1155. " Note that if the title is overridden, a \"title_overridden\" variable "
  1156. "will\n"
  1157. " be set to a true value in the template; this can be used to format "
  1158. "things\n"
  1159. " differently in this case.\n"
  1160. msgstr ""
  1161. # type: Bullet: '* '
  1162. #: ikiwiki/directive/meta.mdwn:27
  1163. msgid "license"
  1164. msgstr ""
  1165. # type: Plain text
  1166. #: ikiwiki/directive/meta.mdwn:30
  1167. #, no-wrap
  1168. msgid ""
  1169. " Specifies a license for the page, for example, \"GPL\". Can contain\n"
  1170. " WikiLinks and arbitrary markup.\n"
  1171. msgstr ""
  1172. # type: Bullet: '* '
  1173. #: ikiwiki/directive/meta.mdwn:32
  1174. msgid "copyright"
  1175. msgstr ""
  1176. # type: Plain text
  1177. #: ikiwiki/directive/meta.mdwn:35
  1178. #, no-wrap
  1179. msgid ""
  1180. " Specifies the copyright of the page, for example, \"Copyright 2007 by\n"
  1181. " Joey Hess\". Can contain WikiLinks and arbitrary markup.\n"
  1182. msgstr ""
  1183. # type: Bullet: '* '
  1184. #: ikiwiki/directive/meta.mdwn:37
  1185. msgid "author"
  1186. msgstr ""
  1187. # type: Plain text
  1188. #: ikiwiki/directive/meta.mdwn:39
  1189. #, no-wrap
  1190. msgid " Specifies the author of a page.\n"
  1191. msgstr ""
  1192. # type: Bullet: '* '
  1193. #: ikiwiki/directive/meta.mdwn:41
  1194. msgid "authorurl"
  1195. msgstr ""
  1196. # type: Plain text
  1197. #: ikiwiki/directive/meta.mdwn:43
  1198. #, no-wrap
  1199. msgid " Specifies an url for the author of a page.\n"
  1200. msgstr ""
  1201. # type: Bullet: '* '
  1202. #: ikiwiki/directive/meta.mdwn:45
  1203. msgid "description"
  1204. msgstr ""
  1205. # type: Plain text
  1206. #: ikiwiki/directive/meta.mdwn:48
  1207. #, no-wrap
  1208. msgid ""
  1209. " Specifies a \"description\" of the page. You could use this to provide\n"
  1210. " a summary, for example, to be picked up by the [[map]] directive.\n"
  1211. msgstr ""
  1212. # type: Bullet: '* '
  1213. #: ikiwiki/directive/meta.mdwn:50
  1214. msgid "permalink"
  1215. msgstr ""
  1216. # type: Plain text
  1217. #: ikiwiki/directive/meta.mdwn:53
  1218. #, no-wrap
  1219. msgid ""
  1220. " Specifies a permanent link to the page, if different than the page\n"
  1221. " generated by ikiwiki.\n"
  1222. msgstr ""
  1223. # type: Bullet: '* '
  1224. #: ikiwiki/directive/meta.mdwn:55
  1225. msgid "date"
  1226. msgstr ""
  1227. # type: Plain text
  1228. #: ikiwiki/directive/meta.mdwn:58
  1229. #, no-wrap
  1230. msgid ""
  1231. " Specifies the creation date of the page. The date can be entered in\n"
  1232. " nearly any format, since it's parsed by [[!cpan TimeDate]].\n"
  1233. msgstr ""
  1234. # type: Bullet: '* '
  1235. #: ikiwiki/directive/meta.mdwn:60
  1236. msgid "stylesheet"
  1237. msgstr ""
  1238. # type: Plain text
  1239. #: ikiwiki/directive/meta.mdwn:64
  1240. #, no-wrap
  1241. msgid ""
  1242. " Adds a stylesheet to a page. The stylesheet is treated as a wiki link to\n"
  1243. " a `.css` file in the wiki, so it cannot be used to add links to external\n"
  1244. " stylesheets. Example:\n"
  1245. msgstr ""
  1246. # type: Plain text
  1247. #: ikiwiki/directive/meta.mdwn:67
  1248. #, no-wrap
  1249. msgid ""
  1250. "\t\\[[!meta stylesheet=somestyle rel=\"alternate stylesheet\"\n"
  1251. "\ttitle=\"somestyle\"]]\n"
  1252. msgstr ""
  1253. # type: Bullet: '* '
  1254. #: ikiwiki/directive/meta.mdwn:69
  1255. msgid "openid"
  1256. msgstr ""
  1257. # type: Plain text
  1258. #: ikiwiki/directive/meta.mdwn:74
  1259. #, no-wrap
  1260. msgid ""
  1261. " Adds html &lt;link&gt; tags to perform OpenID delegation to an external\n"
  1262. " OpenID server (for `openid` and `openid2`). An optional `xrds-location`\n"
  1263. " parameter lets you specify the location of any [eXtensible Resource\n"
  1264. " DescriptorS](http://www.windley.com/archives/2007/05/using_xrds.shtml).\n"
  1265. msgstr ""
  1266. # type: Plain text
  1267. #: ikiwiki/directive/meta.mdwn:76
  1268. #, no-wrap
  1269. msgid " This lets you use an ikiwiki page as your OpenID. Example:\n"
  1270. msgstr ""
  1271. # type: Plain text
  1272. #: ikiwiki/directive/meta.mdwn:80
  1273. #, no-wrap
  1274. msgid ""
  1275. "\t\\\\[[!meta openid=\"http://joeyh.myopenid.com/\"\n"
  1276. "\tserver=\"http://www.myopenid.com/server\"\n"
  1277. "\txrds-location=\"http://www.myopenid.com/xrds?username=joeyh.myopenid.com\"\"]]\n"
  1278. msgstr ""
  1279. # type: Bullet: '* '
  1280. #: ikiwiki/directive/meta.mdwn:82
  1281. msgid "link"
  1282. msgstr ""
  1283. # type: Plain text
  1284. #: ikiwiki/directive/meta.mdwn:86
  1285. #, no-wrap
  1286. msgid ""
  1287. " Specifies a link to another page. This can be used as a way to make the\n"
  1288. " wiki treat one page as linking to another without displaying a "
  1289. "user-visible\n"
  1290. " [[ikiwiki/WikiLink]]:\n"
  1291. msgstr ""
  1292. # type: Plain text
  1293. #: ikiwiki/directive/meta.mdwn:88
  1294. #, no-wrap
  1295. msgid " \\[[!meta link=otherpage]]\n"
  1296. msgstr ""
  1297. # type: Plain text
  1298. #: ikiwiki/directive/meta.mdwn:90
  1299. #, no-wrap
  1300. msgid " It can also be used to insert a html &lt;link&gt; tag. For example:\n"
  1301. msgstr ""
  1302. # type: Plain text
  1303. #: ikiwiki/directive/meta.mdwn:92
  1304. #, no-wrap
  1305. msgid ""
  1306. " \\[[!meta link=\"http://joeyh.myopenid.com/\" "
  1307. "rel=\"openid.delegate\"]]\n"
  1308. msgstr ""
  1309. # type: Plain text
  1310. #: ikiwiki/directive/meta.mdwn:96 ikiwiki/directive/meta.mdwn:113
  1311. #, no-wrap
  1312. msgid ""
  1313. " However, this latter syntax won't be allowed if the \n"
  1314. " [[!iki plugins/htmlscrubber desc=htmlscrubber]] plugin is enabled, since "
  1315. "it can be used to\n"
  1316. " insert unsafe content.\n"
  1317. msgstr ""
  1318. # type: Bullet: '* '
  1319. #: ikiwiki/directive/meta.mdwn:98
  1320. msgid "redir"
  1321. msgstr ""
  1322. # type: Plain text
  1323. #: ikiwiki/directive/meta.mdwn:100
  1324. #, no-wrap
  1325. msgid " Causes the page to redirect to another page in the wiki.\n"
  1326. msgstr ""
  1327. # type: Plain text
  1328. #: ikiwiki/directive/meta.mdwn:102
  1329. #, no-wrap
  1330. msgid " \t\\[[!meta redir=otherpage]]\n"
  1331. msgstr ""
  1332. # type: Plain text
  1333. #: ikiwiki/directive/meta.mdwn:105
  1334. #, no-wrap
  1335. msgid ""
  1336. " Optionally, a delay (in seconds) can be specified. The default is to\n"
  1337. " redirect without delay.\n"
  1338. msgstr ""
  1339. # type: Plain text
  1340. #: ikiwiki/directive/meta.mdwn:107
  1341. #, no-wrap
  1342. msgid " It can also be used to redirect to an external url. For example:\n"
  1343. msgstr ""
  1344. # type: Plain text
  1345. #: ikiwiki/directive/meta.mdwn:109
  1346. #, no-wrap
  1347. msgid " \t\\[[!meta redir=\"http://example.com/\"]]\n"
  1348. msgstr ""
  1349. # type: Plain text
  1350. #: ikiwiki/directive/meta.mdwn:116
  1351. #, no-wrap
  1352. msgid ""
  1353. " For both cases, an anchor to jump to inside the destination page may also "
  1354. "be\n"
  1355. " specified using the common `#ANCHOR` syntax.\n"
  1356. msgstr ""
  1357. # type: Bullet: '* '
  1358. #: ikiwiki/directive/meta.mdwn:118
  1359. msgid "robots"
  1360. msgstr ""
  1361. # type: Plain text
  1362. #: ikiwiki/directive/meta.mdwn:120
  1363. #, no-wrap
  1364. msgid " Causes the robots meta tag to be written:\n"
  1365. msgstr ""
  1366. # type: Plain text
  1367. #: ikiwiki/directive/meta.mdwn:122
  1368. #, no-wrap
  1369. msgid " \\[[!meta robots=\"index, nofollow\"]]\n"
  1370. msgstr ""
  1371. # type: Plain text
  1372. #: ikiwiki/directive/meta.mdwn:127
  1373. #, no-wrap
  1374. msgid ""
  1375. " Valid values for the attribute are: \"index\", \"noindex\", \"follow\", "
  1376. "and\n"
  1377. " \"nofollow\". Multiple comma-separated values are allowed, but obviously "
  1378. "only\n"
  1379. " some combinations make sense. If there is no robots meta tag, \"index,\n"
  1380. " follow\" is used as the default.\n"
  1381. msgstr ""
  1382. # type: Plain text
  1383. #: ikiwiki/directive/meta.mdwn:129
  1384. #, no-wrap
  1385. msgid " The value is escaped, but its contents are not otherwise checked.\n"
  1386. msgstr ""
  1387. # type: Bullet: '* '
  1388. #: ikiwiki/directive/meta.mdwn:131
  1389. msgid "guid"
  1390. msgstr ""
  1391. # type: Plain text
  1392. #: ikiwiki/directive/meta.mdwn:137
  1393. #, no-wrap
  1394. msgid ""
  1395. " Specifies a globally unique ID for a page. This guid should be a URI\n"
  1396. " (in particular, it can be `urn:uuid:` followed by a UUID, as per\n"
  1397. " [[!rfc 4122]]), and it will be used to identify the page's entry in RSS\n"
  1398. " and Atom feeds. If not given, the default is to use the page's URL as "
  1399. "its\n"
  1400. " guid.\n"
  1401. msgstr ""
  1402. # type: Plain text
  1403. #: ikiwiki/directive/meta.mdwn:141
  1404. #, no-wrap
  1405. msgid ""
  1406. " This is mostly useful when a page has moved, to keep the guids for\n"
  1407. " pages unchanged and avoid_flooding_aggregators\n"
  1408. " (see [[!iki tips/howto_avoid_flooding_aggregators]]).\n"
  1409. msgstr ""
  1410. # type: Plain text
  1411. #: ikiwiki/directive/meta.mdwn:146
  1412. msgid ""
  1413. "If the field is not one of the above predefined fields, the metadata will be "
  1414. "written to the generated html page as a &lt;meta&gt; header. However, this "
  1415. "won't be allowed if the [[!iki plugins/htmlscrubber desc=htmlscrubber]] "
  1416. "plugin is enabled, since it can be used to insert unsafe content."
  1417. msgstr ""
  1418. # type: Plain text
  1419. #: ikiwiki/directive/more.mdwn:2
  1420. msgid ""
  1421. "The `more` directive is supplied by the [[!iki plugins/more desc=more]] "
  1422. "plugin."
  1423. msgstr ""
  1424. # type: Plain text
  1425. #: ikiwiki/directive/more.mdwn:5
  1426. msgid ""
  1427. "This directive provides a way to have a \"more\" link on a post in a blog, "
  1428. "that leads to the full version of the page. Use it like this:"
  1429. msgstr ""
  1430. # type: Plain text
  1431. #: ikiwiki/directive/more.mdwn:6
  1432. #, no-wrap
  1433. msgid "\t\\[[!more linktext=\"click for more\" text=\"\"\"\n"
  1434. msgstr ""
  1435. # type: Plain text
  1436. #: ikiwiki/directive/more.mdwn:10
  1437. #, no-wrap
  1438. msgid ""
  1439. "\tThis is the rest of my post. Not intended for people catching up on\n"
  1440. "\ttheir blogs at 30,000 feet. Because I like to make things\n"
  1441. "\tdifficult.\n"
  1442. msgstr ""
  1443. # type: Plain text
  1444. #: ikiwiki/directive/more.mdwn:13
  1445. msgid "If the `linktext` parameter is omitted it defaults to just \"more\"."
  1446. msgstr ""
  1447. # type: Plain text
  1448. #: ikiwiki/directive/more.mdwn:15
  1449. msgid "Note that you can accomplish something similar using a [[toggle]] instead."
  1450. msgstr ""
  1451. # type: Plain text
  1452. #: ikiwiki/directive/orphans.mdwn:2
  1453. msgid ""
  1454. "The `orphans` directive is supplied by the [[!iki plugins/orphans "
  1455. "desc=orphans]] plugin."
  1456. msgstr ""
  1457. # type: Plain text
  1458. #: ikiwiki/directive/orphans.mdwn:5
  1459. msgid ""
  1460. "This directive generates a list of possibly orphaned pages -- pages that no "
  1461. "other page links to. Example:"
  1462. msgstr ""
  1463. # type: Plain text
  1464. #: ikiwiki/directive/orphans.mdwn:7
  1465. #, no-wrap
  1466. msgid "\t\\[[!orphans pages=\"* and !blog/*\"]]\n"
  1467. msgstr ""
  1468. # type: Plain text
  1469. #: ikiwiki/directive/orphans.mdwn:10
  1470. msgid ""
  1471. "The optional parameter \"pages\" can be a [[ikiwiki/PageSpec]] specifying "
  1472. "the pages to check for orphans, default is search them all."
  1473. msgstr ""
  1474. # type: Plain text
  1475. #: ikiwiki/directive/orphans.mdwn:14
  1476. msgid ""
  1477. "Note that it takes backlinks into account, but does not count inlining a "
  1478. "page as linking to it, so will generally count many blog-type pages as "
  1479. "orphans."
  1480. msgstr ""
  1481. # type: Plain text
  1482. #: ikiwiki/directive/pagecount.mdwn:2
  1483. msgid ""
  1484. "The `pagecount` directive is supplied by the [[!iki plugins/pagecount "
  1485. "desc=pagecount]] plugin."
  1486. msgstr ""
  1487. # type: Plain text
  1488. #: ikiwiki/directive/pagecount.mdwn:4
  1489. msgid "This directive counts pages currently in the wiki. Example:"
  1490. msgstr ""
  1491. # type: Plain text
  1492. #: ikiwiki/directive/pagecount.mdwn:6
  1493. #, no-wrap
  1494. msgid "\t\\[[!pagecount pages=\"*\"]]\n"
  1495. msgstr ""
  1496. # type: Plain text
  1497. #: ikiwiki/directive/pagecount.mdwn:9
  1498. msgid ""
  1499. "The optional parameter \"pages\" can be a [[ikiwiki/PageSpec]] specifying "
  1500. "the pages to count, default is to count them all."
  1501. msgstr ""
  1502. # type: Plain text
  1503. #: ikiwiki/directive/pagestats.mdwn:2
  1504. msgid ""
  1505. "The `pagestats` directive is supplied by the [[!iki plugins/pagestats "
  1506. "desc=pagestats]] plugin."
  1507. msgstr ""
  1508. # type: Plain text
  1509. #: ikiwiki/directive/pagestats.mdwn:6
  1510. msgid ""
  1511. "This directive can generate stats about how pages link to each other. It can "
  1512. "produce either a tag cloud, or a table counting the number of links to each "
  1513. "page."
  1514. msgstr ""
  1515. # type: Plain text
  1516. #: ikiwiki/directive/pagestats.mdwn:8
  1517. msgid "Here's how to use it to create a [[tag]] cloud:"
  1518. msgstr ""
  1519. # type: Plain text
  1520. #: ikiwiki/directive/pagestats.mdwn:10
  1521. #, no-wrap
  1522. msgid "\t\\[[!pagestats pages=\"tags/*\"]]\n"
  1523. msgstr ""
  1524. # type: Plain text
  1525. #: ikiwiki/directive/pagestats.mdwn:12
  1526. msgid "And here's how to create a table of all the pages on the wiki:"
  1527. msgstr ""
  1528. # type: Plain text
  1529. #: ikiwiki/directive/pagestats.mdwn:14
  1530. #, no-wrap
  1531. msgid "\t\\[[!pagestats style=\"table\"]]\n"
  1532. msgstr ""
  1533. # type: Plain text
  1534. #: ikiwiki/directive/pagetemplate.mdwn:2
  1535. msgid ""
  1536. "The `pagetemplate` directive is supplied by the [[!iki plugins/pagetemplate "
  1537. "desc=pagetemplate]] plugin."
  1538. msgstr ""
  1539. # type: Plain text
  1540. #: ikiwiki/directive/pagetemplate.mdwn:8
  1541. msgid ""
  1542. "This directive allows a page to be created using a different wikitemplates. "
  1543. "The page text is inserted into the template, so the template controls the "
  1544. "overall look and feel of the wiki page. This is in contrast to the "
  1545. "[[ikiwiki/directive/template]] directive, which allows inserting templates "
  1546. "_into_ the body of a page."
  1547. msgstr ""
  1548. # type: Plain text
  1549. #: ikiwiki/directive/pagetemplate.mdwn:12
  1550. msgid ""
  1551. "This directive can only reference templates that are already installed by "
  1552. "the system administrator, typically into the `/usr/share/ikiwiki/templates` "
  1553. "directory. Example:"
  1554. msgstr ""
  1555. # type: Plain text
  1556. #: ikiwiki/directive/pagetemplate.mdwn:14
  1557. #, no-wrap
  1558. msgid "\t\\[[!pagetemplate template=\"my_fancy.tmpl\"]]\n"
  1559. msgstr ""
  1560. # type: Plain text
  1561. #: ikiwiki/directive/ping.mdwn:2
  1562. msgid ""
  1563. "The `ping` directive is supplied by the [[!iki plugins/pinger desc=pinger]] "
  1564. "plugin."
  1565. msgstr ""
  1566. # type: Plain text
  1567. #: ikiwiki/directive/ping.mdwn:8
  1568. msgid ""
  1569. "This directive allows ikiwiki to be configured to hit a URL each time it "
  1570. "updates the wiki. One way to use this is in conjunction with the [[!iki "
  1571. "plugins/pingee desc=pingee]] plugin to set up a loosely coupled mirror "
  1572. "network, or a branched version of a wiki. By pinging the mirror or branch "
  1573. "each time the main wiki changes, it can be kept up-to-date."
  1574. msgstr ""
  1575. # type: Plain text
  1576. #: ikiwiki/directive/ping.mdwn:11
  1577. #, no-wrap
  1578. msgid ""
  1579. " \\[[!ping from=\"http://mywiki.com/\"\n"
  1580. " to=\"http://otherwiki.com/ikiwiki.cgi?do=ping\"]]\n"
  1581. msgstr ""
  1582. # type: Plain text
  1583. #: ikiwiki/directive/ping.mdwn:14
  1584. msgid ""
  1585. "The \"from\" parameter must be identical to the url of the wiki that is "
  1586. "doing the pinging. This is used to prevent ping loops."
  1587. msgstr ""
  1588. # type: Plain text
  1589. #: ikiwiki/directive/ping.mdwn:17
  1590. msgid ""
  1591. "The \"to\" parameter is the url to ping. The example shows how to ping "
  1592. "another ikiwiki instance."
  1593. msgstr ""
  1594. # type: Plain text
  1595. #: ikiwiki/directive/poll.mdwn:2
  1596. msgid ""
  1597. "The `poll` directive is supplied by the [[!iki plugins/poll desc=poll]] "
  1598. "plugin."
  1599. msgstr ""
  1600. # type: Plain text
  1601. #: ikiwiki/directive/poll.mdwn:5
  1602. msgid ""
  1603. "This directive allows you to create online polls in the wiki. Here's an "
  1604. "example use:"
  1605. msgstr ""
  1606. # type: Plain text
  1607. #: ikiwiki/directive/poll.mdwn:7
  1608. #, no-wrap
  1609. msgid "\t\\[[!poll 0 \"red\" 0 \"green\" 0 \"blue\"]]\n"
  1610. msgstr ""
  1611. # type: Plain text
  1612. #: ikiwiki/directive/poll.mdwn:11
  1613. msgid ""
  1614. "The numbers indicate how many users voted for that choice. When a user votes "
  1615. "for a choice in the poll, the page is modified and the number incremented."
  1616. msgstr ""
  1617. # type: Plain text
  1618. #: ikiwiki/directive/poll.mdwn:17
  1619. msgid ""
  1620. "While some basic precautions are taken to prevent users from accidentially "
  1621. "voting twice, this sort of poll should not be counted on to be very "
  1622. "accurate; all the usual concerns about web based polling apply. Unless the "
  1623. "page that the poll is in is locked, users can even edit the page and change "
  1624. "the numbers!"
  1625. msgstr ""
  1626. # type: Plain text
  1627. #: ikiwiki/directive/poll.mdwn:19
  1628. msgid "Parameters:"
  1629. msgstr ""
  1630. # type: Bullet: '* '
  1631. #: ikiwiki/directive/poll.mdwn:24
  1632. msgid ""
  1633. "`open` - Whether voting is still open. Set to \"no\" to close the poll to "
  1634. "voting."
  1635. msgstr ""
  1636. # type: Bullet: '* '
  1637. #: ikiwiki/directive/poll.mdwn:24
  1638. msgid "`total` - Show total number of votes at bottom of poll. Default is \"yes\"."
  1639. msgstr ""
  1640. # type: Bullet: '* '
  1641. #: ikiwiki/directive/poll.mdwn:24
  1642. msgid "`percent` - Whether to display percents. Default is \"yes\"."
  1643. msgstr ""
  1644. # type: Plain text
  1645. #: ikiwiki/directive/polygen.mdwn:2
  1646. msgid ""
  1647. "The `polygen` directive is supplied by the [[!iki plugins/polygen "
  1648. "desc=polygen]] plugin."
  1649. msgstr ""
  1650. # type: Plain text
  1651. #: ikiwiki/directive/polygen.mdwn:5
  1652. msgid ""
  1653. "This directive allows inserting text generated by polygen into a wiki page. "
  1654. "For example:"
  1655. msgstr ""
  1656. # type: Plain text
  1657. #: ikiwiki/directive/polygen.mdwn:7
  1658. #, no-wrap
  1659. msgid "\t\\[[!polygen grammar=\"genius\"]]\n"
  1660. msgstr ""
  1661. # type: Plain text
  1662. #: ikiwiki/directive/polygen.mdwn:10
  1663. msgid ""
  1664. "It's also possible to specify a starting nonterminal for the grammar by "
  1665. "including `symbol=\"text\"` in the directive."
  1666. msgstr ""
  1667. # type: Plain text
  1668. #: ikiwiki/directive/postsparkline.mdwn:2
  1669. msgid ""
  1670. "The `postsparkline` directive is supplied by the [[!iki "
  1671. "plugins/postsparkline desc=postsparkline]] plugin."
  1672. msgstr ""
  1673. # type: Plain text
  1674. #: ikiwiki/directive/postsparkline.mdwn:5
  1675. msgid ""
  1676. "This directive uses the [[!iki plugins/sparkline desc=sparkline]] plugin to "
  1677. "create a [[sparkline]] of statistics about a set of pages, such as posts to "
  1678. "a blog."
  1679. msgstr ""
  1680. # type: Plain text
  1681. #: ikiwiki/directive/postsparkline.mdwn:11
  1682. #, no-wrap
  1683. msgid ""
  1684. "\tPost interval: \n"
  1685. "\t\\[[!postsparkline pages=\"blog/* and !*/Discussion\" max=100\n"
  1686. "\tformula=interval style=bar barwidth=2 barspacing=1 height=13]]\n"
  1687. msgstr ""
  1688. # type: Plain text
  1689. #: ikiwiki/directive/postsparkline.mdwn:15
  1690. #, no-wrap
  1691. msgid ""
  1692. "\tPosts per month this year: \n"
  1693. "\t\\[[!postsparkline pages=\"blog/* and !*/Discussion\" max=12\n"
  1694. "\tformula=permonth style=bar barwidth=2 barspacing=1 height=13]]\n"
  1695. msgstr ""
  1696. # type: Plain text
  1697. #: ikiwiki/directive/postsparkline.mdwn:16 ikiwiki/directive/sparkline.mdwn:24
  1698. #, no-wrap
  1699. msgid "# usage\n"
  1700. msgstr ""
  1701. # type: Plain text
  1702. #: ikiwiki/directive/postsparkline.mdwn:20
  1703. msgid ""
  1704. "All options aside fron the `pages`, `max`, `formula`, `time`, and `color` "
  1705. "options are the same as in [[sparkline]] directive."
  1706. msgstr ""
  1707. # type: Plain text
  1708. #: ikiwiki/directive/postsparkline.mdwn:25
  1709. msgid ""
  1710. "You don't need to specify any data points (though you can if you want to). "
  1711. "Instead, data points are automatically generated based on the creation times "
  1712. "of pages matched by the specified `pages` [[ikiwiki/PageSpec]]. A maximum of "
  1713. "`max` data points will be generated."
  1714. msgstr ""
  1715. # type: Plain text
  1716. #: ikiwiki/directive/postsparkline.mdwn:28
  1717. msgid ""
  1718. "The `formula` parameter controls the formula used to generate data points. "
  1719. "Available forumlae:"
  1720. msgstr ""
  1721. # type: Bullet: '* '
  1722. #: ikiwiki/directive/postsparkline.mdwn:37
  1723. msgid ""
  1724. "`interval` - The height of each point represents how long it has been since "
  1725. "the previous post."
  1726. msgstr ""
  1727. # type: Bullet: '* '
  1728. #: ikiwiki/directive/postsparkline.mdwn:37
  1729. msgid ""
  1730. "`perday` - Each point represents a day; the height represents how many posts "
  1731. "were made that day."
  1732. msgstr ""
  1733. # type: Bullet: '* '
  1734. #: ikiwiki/directive/postsparkline.mdwn:37
  1735. msgid ""
  1736. "`permonth` - Each point represents a month; the height represents how many "
  1737. "posts were made that month."
  1738. msgstr ""
  1739. # type: Bullet: '* '
  1740. #: ikiwiki/directive/postsparkline.mdwn:37
  1741. msgid ""
  1742. "`peryear` - Each point represents a day; the height represents how many "
  1743. "posts were made that year."
  1744. msgstr ""
  1745. # type: Plain text
  1746. #: ikiwiki/directive/postsparkline.mdwn:41
  1747. msgid ""
  1748. "The `time` parameter has a default value of \"ctime\", since forumae use the "
  1749. "creation times of pages by default. If you instead want them to use the "
  1750. "modification times of pages, set it to \"mtime\"."
  1751. msgstr ""
  1752. # type: Plain text
  1753. #: ikiwiki/directive/postsparkline.mdwn:44
  1754. msgid ""
  1755. "To change the color used to draw the sparkline, use the `color` parameter. "
  1756. "For example, \"color=red\"."
  1757. msgstr ""
  1758. # type: Plain text
  1759. #: ikiwiki/directive/progress.mdwn:2
  1760. msgid ""
  1761. "The `progress` directive is supplied by the [[!iki plugins/progress "
  1762. "desc=progress]] plugin."
  1763. msgstr ""
  1764. # type: Plain text
  1765. #: ikiwiki/directive/progress.mdwn:4
  1766. msgid "This directive generates a progress bar."
  1767. msgstr ""
  1768. # type: Plain text
  1769. #: ikiwiki/directive/progress.mdwn:7
  1770. msgid ""
  1771. "There are two possible parameter sets. The first is a single parameter "
  1772. "\"percent\" which holds a percentage figure of how complete the progress bar "
  1773. "is."
  1774. msgstr ""
  1775. # type: Plain text
  1776. #: ikiwiki/directive/progress.mdwn:12
  1777. msgid ""
  1778. "The second possible set of parameters is a pair of [[ikiwiki/PageSpec]]s, "
  1779. "`totalpages` and `donepages`. The directive counts the number of pages in "
  1780. "each pagespec and shows the percentage of the total pages that are done."
  1781. msgstr ""
  1782. # type: Plain text
  1783. #: ikiwiki/directive/progress.mdwn:15
  1784. msgid "For example, to show what percentage of pages have discussion pages:"
  1785. msgstr ""
  1786. # type: Plain text
  1787. #: ikiwiki/directive/progress.mdwn:17
  1788. #, no-wrap
  1789. msgid ""
  1790. "\t\\[[!progress totalpages=\"* and !*/Discussion\" "
  1791. "donepages=\"*/Discussion\"]]\n"
  1792. msgstr ""
  1793. # type: Plain text
  1794. #: ikiwiki/directive/shortcut.mdwn:2
  1795. msgid ""
  1796. "The `shortcut` directive is supplied by the [[!iki plugins/shortcut "
  1797. "desc=shortcut]] plugin."
  1798. msgstr ""
  1799. # type: Plain text
  1800. #: ikiwiki/directive/shortcut.mdwn:5
  1801. msgid ""
  1802. "This directive allows external links to commonly linked to sites to be made "
  1803. "more easily using shortcuts."
  1804. msgstr ""
  1805. # type: Plain text
  1806. #: ikiwiki/directive/shortcut.mdwn:8
  1807. msgid ""
  1808. "The available shortcuts are defined on the [[shortcuts]] page in the "
  1809. "wiki. The `shortcut` directive can only be used on that page."
  1810. msgstr ""
  1811. # type: Plain text
  1812. #: ikiwiki/directive/sparkline.mdwn:2
  1813. msgid ""
  1814. "The `sparkline` directive is supplied by the [[!iki plugins/sparkline "
  1815. "desc=sparkline]] plugin."
  1816. msgstr ""
  1817. # type: Plain text
  1818. #: ikiwiki/directive/sparkline.mdwn:6
  1819. msgid ""
  1820. "This directive allows for embedding sparklines into wiki pages. A sparkline "
  1821. "is a small word-size graphic chart, that is designed to be displayes "
  1822. "alongside text."
  1823. msgstr ""
  1824. # type: Plain text
  1825. #: ikiwiki/directive/sparkline.mdwn:11
  1826. #, no-wrap
  1827. msgid ""
  1828. "\t\\[[!sparkline 1 3 5 -3 10 0 width=40 height=16\n"
  1829. "\tfeaturepoint=\"4,-3,red,3\" featurepoint=\"5,10,green,3\"]]\n"
  1830. msgstr ""
  1831. # type: Plain text
  1832. #: ikiwiki/directive/sparkline.mdwn:15
  1833. msgid ""
  1834. "This creates a simple line graph, graphing several points. It will be drawn "
  1835. "40 pixels wide and 16 pixels high. The high point in the line has a green "
  1836. "marker, and the low point has a red marker."
  1837. msgstr ""
  1838. # type: Plain text
  1839. #: ikiwiki/directive/sparkline.mdwn:18
  1840. #, no-wrap
  1841. msgid ""
  1842. "\t\\[[!sparkline 1 -1(red) 1 -1(red) 1 1 1 -1(red) -1(red) style=bar "
  1843. "barwidth=2\n"
  1844. "\tbarspacing=1 height=13]]\n"
  1845. msgstr ""
  1846. # type: Plain text
  1847. #: ikiwiki/directive/sparkline.mdwn:23
  1848. msgid ""
  1849. "This more complex example generates a bar graph. The bars are 2 pixels "
  1850. "wide, and separated by one pixel, and the graph is 13 pixels tall. Width is "
  1851. "determined automatically for bar graphs. The points with negative values are "
  1852. "colored red, instead of the default black."
  1853. msgstr ""
  1854. # type: Plain text
  1855. #: ikiwiki/directive/sparkline.mdwn:28
  1856. msgid ""
  1857. "The form for the data points is \"x,y\", or just \"y\" if the x values don't "
  1858. "matter. Bar graphs can also add \"(color)\" to specify a color for that bar."
  1859. msgstr ""
  1860. # type: Plain text
  1861. #: ikiwiki/directive/sparkline.mdwn:32
  1862. msgid ""
  1863. "The following named parameters are recognised. Most of these are the same as "
  1864. "those used by the underlying sparkline library, which is documented in more "
  1865. "detail in [its wiki](http://sparkline.wikispaces.com/usage)."
  1866. msgstr ""
  1867. # type: Bullet: '* '
  1868. #: ikiwiki/directive/sparkline.mdwn:44
  1869. msgid "`style` - Either \"line\" (the default) or \"bar\"."
  1870. msgstr ""
  1871. # type: Bullet: '* '
  1872. #: ikiwiki/directive/sparkline.mdwn:44
  1873. msgid "`width` - Width of the graph in pixels. Only needed for line graphs."
  1874. msgstr ""
  1875. # type: Bullet: '* '
  1876. #: ikiwiki/directive/sparkline.mdwn:44
  1877. msgid "`height` - Height of the graph in pixels. Defaults to 16."
  1878. msgstr ""
  1879. # type: Bullet: '* '
  1880. #: ikiwiki/directive/sparkline.mdwn:44
  1881. msgid "`barwidth` - Width of bars in a bar graph. Default is 1 pixel."
  1882. msgstr ""
  1883. # type: Bullet: '* '
  1884. #: ikiwiki/directive/sparkline.mdwn:44
  1885. msgid ""
  1886. "`barspacing` - Spacing between bars in a bar graph, in pixels. Default is 1 "
  1887. "pixel."
  1888. msgstr ""
  1889. # type: Bullet: '* '
  1890. #: ikiwiki/directive/sparkline.mdwn:44
  1891. msgid ""
  1892. "`ymin`, `ymax` - Minimum and maximum values for the Y axis. This is normally "
  1893. "calculated automatically, but can be explicitly specified to get the same "
  1894. "values for multiple related graphs."
  1895. msgstr ""
  1896. # type: Bullet: '* '
  1897. #: ikiwiki/directive/sparkline.mdwn:44
  1898. msgid ""
  1899. "`featurepoint` - Adds a circular marker to a line graph, with optional "
  1900. "text. This can be used to label significant points."
  1901. msgstr ""
  1902. # type: Plain text
  1903. #: ikiwiki/directive/sparkline.mdwn:48
  1904. #, no-wrap
  1905. msgid ""
  1906. " The value is a comma-delimited list of parameters specifying the feature\n"
  1907. " point: X value, Y value, color name, circle diameter, text (optional),\n"
  1908. " and text location (optional). Example: `featurepoint=\"3,5,blue,3\"`\n"
  1909. msgstr ""
  1910. # type: Plain text
  1911. #: ikiwiki/directive/sparkline.mdwn:51
  1912. #, no-wrap
  1913. msgid ""
  1914. " Available values for the text location are: \"top\", \"right\", "
  1915. "\"bottom\", and\n"
  1916. " \"left\".\n"
  1917. msgstr ""
  1918. # type: Plain text
  1919. #: ikiwiki/directive/table.mdwn:2
  1920. msgid ""
  1921. "The `table` directive is supplied by the [[!iki plugins/table desc=table]] "
  1922. "plugin."
  1923. msgstr ""
  1924. # type: Plain text
  1925. #: ikiwiki/directive/table.mdwn:5
  1926. msgid ""
  1927. "This directive can build HTML tables from data in CSV (comma-separated "
  1928. "values) or DSV (delimiter-separated values) format."
  1929. msgstr ""
  1930. # type: Plain text
  1931. #: ikiwiki/directive/table.mdwn:8 ikiwiki/directive/table.mdwn:26
  1932. #, no-wrap
  1933. msgid "\t\\[[!table data=\"\"\"\n"
  1934. msgstr ""
  1935. # type: Plain text
  1936. #: ikiwiki/directive/table.mdwn:13
  1937. #, no-wrap
  1938. msgid ""
  1939. "\tCustomer|Amount\n"
  1940. "\tFulanito|134,34\n"
  1941. "\tMenganito|234,56\n"
  1942. "\tMenganito|234,56\n"
  1943. msgstr ""
  1944. # type: Plain text
  1945. #: ikiwiki/directive/table.mdwn:16
  1946. #, no-wrap
  1947. msgid ""
  1948. "\t\\[[!table class=\"book_record\" format=csv "
  1949. "file=\"data/books/record1\"]]\n"
  1950. msgstr ""
  1951. # type: Plain text
  1952. #: ikiwiki/directive/table.mdwn:18
  1953. msgid "In this second example the `record1` page should be similar to:"
  1954. msgstr ""
  1955. # type: Plain text
  1956. #: ikiwiki/directive/table.mdwn:22
  1957. #, no-wrap
  1958. msgid ""
  1959. "\t\"Title\",\"Perl Best Practices\"\n"
  1960. "\t\"Author\",\"Damian Conway\"\n"
  1961. "\t\"Publisher\",\"O’Reilly\"\n"
  1962. msgstr ""
  1963. # type: Plain text
  1964. #: ikiwiki/directive/table.mdwn:25
  1965. msgid ""
  1966. "To make a cell span multiple columns, follow it with one or more empty "
  1967. "cells. For example:"
  1968. msgstr ""
  1969. # type: Plain text
  1970. #: ikiwiki/directive/table.mdwn:30
  1971. #, no-wrap
  1972. msgid ""
  1973. "\tleft||right|\n"
  1974. "\ta|b|c|d\n"
  1975. "\tthis cell spans 4 columns|||\n"
  1976. msgstr ""
  1977. # type: Bullet: '* '
  1978. #: ikiwiki/directive/table.mdwn:44
  1979. msgid "`data` - Values for the table."
  1980. msgstr ""
  1981. # type: Bullet: '* '
  1982. #: ikiwiki/directive/table.mdwn:44
  1983. msgid "`file` - A file in the wiki containing the data."
  1984. msgstr ""
  1985. # type: Bullet: '* '
  1986. #: ikiwiki/directive/table.mdwn:44
  1987. msgid ""
  1988. "`format` - The format of the data, either \"csv\", \"dsv\", or \"auto\" (the "
  1989. "default)."
  1990. msgstr ""
  1991. # type: Plain text
  1992. #: ikiwiki/directive/table.mdwn:44
  1993. #, no-wrap
  1994. msgid ""
  1995. "* `delimiter` - The character used to separate fields. By default,\n"
  1996. " DSV format uses a pipe (`|`), and CSV uses a comma (`,`).\n"
  1997. "* `class` - A CSS class for the table html element.\n"
  1998. "* `header` - By default, or if set to \"row\", the first data line is used\n"
  1999. " as the table header. Set it to \"no\" to make a table without a header, "
  2000. "or\n"
  2001. " \"column\" to make the first column be the header.\n"
  2002. msgstr ""
  2003. # type: Plain text
  2004. #: ikiwiki/directive/tag.mdwn:2
  2005. msgid ""
  2006. "The `tag` and `taglink` directives are supplied by the [[!iki plugins/tag "
  2007. "desc=tag]] plugin."
  2008. msgstr ""
  2009. # type: Plain text
  2010. #: ikiwiki/directive/tag.mdwn:4
  2011. msgid "These directives allow tagging pages. List tags as follows:"
  2012. msgstr ""
  2013. # type: Plain text
  2014. #: ikiwiki/directive/tag.mdwn:6
  2015. #, no-wrap
  2016. msgid "\t\\[[!tag tech life linux]]\n"
  2017. msgstr ""
  2018. # type: Plain text
  2019. #: ikiwiki/directive/tag.mdwn:12
  2020. msgid ""
  2021. "The tags work the same as if you had put a (hidden) [[ikiwiki/WikiLink]] on "
  2022. "the page for each tag, so you can use a [[ikiwiki/PageSpec]] match all pages "
  2023. "that are tagged with a given tag, for example. The tags will also show up on "
  2024. "blog entries and at the bottom of the tagged pages, as well as in RSS and "
  2025. "Atom feeds."
  2026. msgstr ""
  2027. # type: Plain text
  2028. #: ikiwiki/directive/tag.mdwn:15
  2029. msgid ""
  2030. "If you want a visible [[ikiwiki/WikiLink]] along with the tag, use taglink "
  2031. "instead:"
  2032. msgstr ""
  2033. # type: Plain text
  2034. #: ikiwiki/directive/tag.mdwn:18
  2035. #, no-wrap
  2036. msgid ""
  2037. "\t\\[[!taglink foo]]\n"
  2038. "\t\\[[!taglink tagged_as_foo|foo]]\n"
  2039. msgstr ""
  2040. # type: Plain text
  2041. #: ikiwiki/directive/tag.mdwn:23
  2042. msgid ""
  2043. "Note that if the wiki is configured to use a tagbase, then the tags will be "
  2044. "located under a base directory, such as \"tags/\". This is a useful way to "
  2045. "avoid having to write the full path to tags, if you want to keep them "
  2046. "grouped together out of the way."
  2047. msgstr ""
  2048. # type: Plain text
  2049. #: ikiwiki/directive/tag.mdwn:26
  2050. msgid ""
  2051. "If you want to override the tagbase for a particular tag, you can use "
  2052. "something like this:"
  2053. msgstr ""
  2054. # type: Plain text
  2055. #: ikiwiki/directive/tag.mdwn:29
  2056. #, no-wrap
  2057. msgid ""
  2058. "\t\\[[!tag ./foo]]\n"
  2059. "\t\\[[!taglink /foo]]\n"
  2060. msgstr ""
  2061. # type: Plain text
  2062. #: ikiwiki/directive/taglink.mdwn:1
  2063. #, no-wrap
  2064. msgid "[[!meta redir=/ikiwiki/directive/tag]]\n"
  2065. msgstr ""
  2066. # type: Plain text
  2067. #: ikiwiki/directive/template.mdwn:2
  2068. msgid ""
  2069. "The `template` directive is supplied by the [[!iki plugins/template "
  2070. "desc=template]] plugin."
  2071. msgstr ""
  2072. # type: Plain text
  2073. #: ikiwiki/directive/template.mdwn:7
  2074. msgid ""
  2075. "[[Templates]] are files that can be filled out and inserted into pages in "
  2076. "the wiki, by using the template directive. The directive has an `id` "
  2077. "parameter that identifies the template to use. The remaining parameters are "
  2078. "used to fill out the template."
  2079. msgstr ""
  2080. # type: Plain text
  2081. #: ikiwiki/directive/template.mdwn:11
  2082. #, no-wrap
  2083. msgid ""
  2084. "\t\\[[!template id=note text=\"\"\"Here is the text to insert into my "
  2085. "note.\"\"\"]]\n"
  2086. msgstr ""
  2087. # type: Plain text
  2088. #: ikiwiki/directive/template.mdwn:14
  2089. msgid ""
  2090. "This fills out the `note` template, filling in the `text` field with the "
  2091. "specified value, and inserts the result into the page."
  2092. msgstr ""
  2093. # type: Plain text
  2094. #: ikiwiki/directive/template.mdwn:17
  2095. msgid ""
  2096. "For a list of available templates, and details about how to create more, see "
  2097. "the [[templates]] page."
  2098. msgstr ""
  2099. # type: Plain text
  2100. #: ikiwiki/directive/testpagespec.mdwn:2
  2101. msgid ""
  2102. "The `testpagespec` directive is supplied by the [[!iki plugins/testpagespec "
  2103. "desc=testpagespec]] plugin."
  2104. msgstr ""
  2105. # type: Plain text
  2106. #: ikiwiki/directive/testpagespec.mdwn:5
  2107. msgid ""
  2108. "This directive allows testing a [[ikiwiki/PageSpec]] to see if it matches a "
  2109. "page, and to see the part that matches, or causes the match to fail."
  2110. msgstr ""
  2111. # type: Plain text
  2112. #: ikiwiki/directive/testpagespec.mdwn:7
  2113. msgid "Example uses:"
  2114. msgstr ""
  2115. # type: Plain text
  2116. #: ikiwiki/directive/testpagespec.mdwn:9
  2117. #, no-wrap
  2118. msgid "\t\\[[!testpagespec pagespec=\"foopage and barpage\" match=\"foopage\"]]\n"
  2119. msgstr ""
  2120. # type: Plain text
  2121. #: ikiwiki/directive/testpagespec.mdwn:13
  2122. msgid ""
  2123. "This will print out something like \"no match: barpage does not match "
  2124. "foopage\", highlighting which part of the [[ikiwiki/PageSpec]] is causing "
  2125. "the match to fail."
  2126. msgstr ""
  2127. # type: Plain text
  2128. #: ikiwiki/directive/testpagespec.mdwn:15
  2129. #, no-wrap
  2130. msgid "\t\\[[!testpagespec pagespec=\"foopage or !bar*\" match=\"barpage\"]]\n"
  2131. msgstr ""
  2132. # type: Plain text
  2133. #: ikiwiki/directive/testpagespec.mdwn:18
  2134. msgid ""
  2135. "This will print out something like \"no match: bar* matches barpage\", since "
  2136. "the part of the [[ikiwiki/PageSpec]] that fails is this negated match."
  2137. msgstr ""
  2138. # type: Plain text
  2139. #: ikiwiki/directive/testpagespec.mdwn:20
  2140. #, no-wrap
  2141. msgid "\t\\[[!testpagespec pagespec=\"foopage or barpage\" match=\"barpage\"]]\n"
  2142. msgstr ""
  2143. # type: Plain text
  2144. #: ikiwiki/directive/testpagespec.mdwn:23
  2145. msgid ""
  2146. "This will print out something like \"match: barpage matches barpage\", "
  2147. "indicating the part of the [[ikiwiki/PageSpec]] that caused it to match."
  2148. msgstr ""
  2149. # type: Plain text
  2150. #: ikiwiki/directive/teximg.mdwn:2
  2151. msgid ""
  2152. "The `teximg` directive is supplied by the [[!iki plugins/teximg "
  2153. "desc=teximg]] plugin."
  2154. msgstr ""
  2155. # type: Plain text
  2156. #: ikiwiki/directive/teximg.mdwn:4
  2157. msgid "This directive renders LaTeX formulas into images."
  2158. msgstr ""
  2159. # type: Plain text
  2160. #: ikiwiki/directive/teximg.mdwn:9
  2161. #, no-wrap
  2162. msgid ""
  2163. "\t\\[[!teximg code=\"\\frac{1}{2}\"]]\n"
  2164. "\t\\[[!teximg code=\"E = - \\frac{Z^2 \\cdot \\mu \\cdot e^4}{32\\pi^2 "
  2165. "\\epsilon_0^2 \\hbar^2 n^2}\" ]]\n"
  2166. msgstr ""
  2167. # type: Plain text
  2168. #: ikiwiki/directive/teximg.mdwn:11
  2169. msgid "To scale the image, use height=x:"
  2170. msgstr ""
  2171. # type: Plain text
  2172. #: ikiwiki/directive/teximg.mdwn:14
  2173. #, no-wrap
  2174. msgid ""
  2175. "\t\\[[!teximg code=\"\\frac{1}{2}\" height=\"17\"]]\n"
  2176. "\t\\[[!teximg code=\"\\frac{1}{2}\" height=\"8\"]]\n"
  2177. msgstr ""
  2178. # type: Plain text
  2179. #: ikiwiki/directive/teximg.mdwn:18
  2180. msgid ""
  2181. "If no height is choosen the default height 12 is used. Valid heights are: 8, "
  2182. "9, 10, 11, 12, 14, 17, 20. If another height is entered, the closest "
  2183. "available height is used."
  2184. msgstr ""
  2185. # type: Plain text
  2186. #: ikiwiki/directive/teximg.mdwn:20
  2187. msgid "To add an alt text to the image, use alt=\"text\":"
  2188. msgstr ""
  2189. # type: Plain text
  2190. #: ikiwiki/directive/teximg.mdwn:22
  2191. #, no-wrap
  2192. msgid "\t\\[[!teximg code=\"\\frac{1}{2}\" alt=\"1/2\"]]\n"
  2193. msgstr ""
  2194. # type: Plain text
  2195. #: ikiwiki/directive/toc.mdwn:2
  2196. msgid "The `toc` directive is supplied by the [[!iki plugins/toc desc=toc]] plugin."
  2197. msgstr ""
  2198. # type: Plain text
  2199. #: ikiwiki/directive/toc.mdwn:4
  2200. msgid "Add a table of contents to a page:"
  2201. msgstr ""
  2202. # type: Plain text
  2203. #: ikiwiki/directive/toc.mdwn:6
  2204. #, no-wrap
  2205. msgid "\t\\[[!toc ]]\n"
  2206. msgstr ""
  2207. # type: Plain text
  2208. #: ikiwiki/directive/toc.mdwn:11
  2209. msgid ""
  2210. "The table of contents will be automatically generated based on the headers "
  2211. "of the page. By default only the largest headers present on the page will be "
  2212. "shown; to control how many levels of headers are shown, use the `levels` "
  2213. "parameter:"
  2214. msgstr ""
  2215. # type: Plain text
  2216. #: ikiwiki/directive/toc.mdwn:13
  2217. #, no-wrap
  2218. msgid "\t\\[[!toc levels=2]]\n"
  2219. msgstr ""
  2220. # type: Plain text
  2221. #: ikiwiki/directive/toc.mdwn:16
  2222. msgid ""
  2223. "The toc directive will take the level of the first header as the topmost "
  2224. "level, even if there are higher levels seen later in the file."
  2225. msgstr ""
  2226. # type: Plain text
  2227. #: ikiwiki/directive/toc.mdwn:20
  2228. msgid ""
  2229. "The table of contents will be created as an ordered list. If you want an "
  2230. "unordered list instead, you can change the list-style in your local style "
  2231. "sheet."
  2232. msgstr ""
  2233. # type: Plain text
  2234. #: ikiwiki/directive/toggle.mdwn:2
  2235. msgid ""
  2236. "The `toggle` and `toggleable` directives are supplied by the [[!iki "
  2237. "plugins/toggle desc=toggle]] plugin."
  2238. msgstr ""
  2239. # type: Plain text
  2240. #: ikiwiki/directive/toggle.mdwn:5
  2241. msgid ""
  2242. "With these directives you can create links on pages that, when clicked, "
  2243. "toggle display of other parts of the page."
  2244. msgstr ""
  2245. # type: Plain text
  2246. #: ikiwiki/directive/toggle.mdwn:8
  2247. msgid ""
  2248. "It uses javascript to accomplish this; browsers without javascript will "
  2249. "always see the full page content."
  2250. msgstr ""
  2251. # type: Plain text
  2252. #: ikiwiki/directive/toggle.mdwn:10
  2253. msgid "Example use:"
  2254. msgstr ""
  2255. # type: Plain text
  2256. #: ikiwiki/directive/toggle.mdwn:12
  2257. #, no-wrap
  2258. msgid "\t\\[[!toggle id=\"ipsum\" text=\"show\"]]\n"
  2259. msgstr ""
  2260. # type: Plain text
  2261. #: ikiwiki/directive/toggle.mdwn:13
  2262. #, no-wrap
  2263. msgid "\t\\[[!toggleable id=\"ipsum\" text=\"\"\"\n"
  2264. msgstr ""
  2265. # type: Plain text
  2266. #: ikiwiki/directive/toggle.mdwn:18
  2267. #, no-wrap
  2268. msgid ""
  2269. "\tLorem ipsum dolor sit amet, consectetur adipisicing elit, sed do\n"
  2270. "\teiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim\n"
  2271. "\tad minim veniam, quis nostrud exercitation ullamco laboris nisi ut\n"
  2272. "\taliquip ex ea commodo consequat.\n"
  2273. msgstr ""
  2274. # type: Plain text
  2275. #: ikiwiki/directive/toggle.mdwn:19
  2276. #, no-wrap
  2277. msgid "\t[[!toggle id=\"ipsum\" text=\"hide\"]]\n"
  2278. msgstr ""
  2279. # type: Plain text
  2280. #: ikiwiki/directive/toggle.mdwn:24
  2281. msgid ""
  2282. "Note that you can include wiki markup in the toggleable text, including even "
  2283. "additional toggles, as shown in the above example."
  2284. msgstr ""
  2285. # type: Plain text
  2286. #: ikiwiki/directive/toggle.mdwn:28
  2287. msgid ""
  2288. "Also, the toggle and the togglable definitions do not need to be next to "
  2289. "each other, but can be located anywhere on the page. There can also be "
  2290. "mutiple toggles that all toggle a single togglable."
  2291. msgstr ""
  2292. # type: Plain text
  2293. #: ikiwiki/directive/toggle.mdwn:30
  2294. msgid ""
  2295. "The id has a default value of \"default\", so can be omitted in simple "
  2296. "cases."
  2297. msgstr ""
  2298. # type: Plain text
  2299. #: ikiwiki/directive/toggle.mdwn:33
  2300. msgid ""
  2301. "If you'd like a toggleable to be displayed by default, and toggle to hidden, "
  2302. "then pass a parameter \"open=yes\" when setting up the toggleable."
  2303. msgstr ""
  2304. # type: Plain text
  2305. #: ikiwiki/directive/toggleable.mdwn:1
  2306. #, no-wrap
  2307. msgid "[[!meta redir=/ikiwiki/directive/toggle]]\n"
  2308. msgstr ""
  2309. # type: Plain text
  2310. #: ikiwiki/directive/version.mdwn:2
  2311. msgid ""
  2312. "The `version` directive is supplied by the [[!iki plugins/version "
  2313. "desc=version]] plugin."
  2314. msgstr ""
  2315. # type: Plain text
  2316. #: ikiwiki/directive/version.mdwn:4
  2317. msgid "This directive allows inserting the version of ikiwiki onto a page."
  2318. msgstr ""
  2319. # type: Plain text
  2320. #: ikiwiki/directive/version.mdwn:7
  2321. msgid ""
  2322. "Whenever ikiwiki is upgraded to a new version, the page will be rebuilt, "
  2323. "updating the version number."
  2324. msgstr ""
  2325. # type: Plain text
  2326. #: ikiwiki/directive/version.mdwn:9
  2327. msgid "Use is simple:"
  2328. msgstr ""
  2329. # type: Plain text
  2330. #: ikiwiki/directive/version.mdwn:11
  2331. #, no-wrap
  2332. msgid "\t\\[[!version ]]\n"
  2333. msgstr ""