1# Danish translation of directives/ikiwiki/directive/edittemplate page for ikiwiki. 2# Copyright (C) 2008-2009 Jonas Smedegaard <dr@jones.dk> 3# This file is distributed under the same license as the ikiwiki package. 4# Jonas Smedegaard <dr@jones.dk>, 2008. 5# 6msgid "" 7msgstr "" 8"Project-Id-Version: ikiwiki 3.15\n" 9"Report-Msgid-Bugs-To: \n" 10"POT-Creation-Date: 2010-07-18 22:29+0000\n" 11"PO-Revision-Date: 2009-07-23 00:06+0200\n" 12"Last-Translator: Jonas Smedegaard <dr@jones.dk>\n" 13"Language-Team: None\n" 14"Language: \n" 15"MIME-Version: 1.0\n" 16"Content-Type: text/plain; charset=UTF-8\n" 17"Content-Transfer-Encoding: 8bit\n" 18"Plural-Forms: nplurals=2; plural=(n != 1);\n" 19"X-Poedit-Language: Danish\n" 20"X-Poedit-Country: DENMARK\n" 21"X-Poedit-SourceCharset: utf-8\n" 22 23#. type: Plain text 24msgid "" 25"The `edittemplate` directive is supplied by the [[!iki plugins/edittemplate " 26"desc=edittemplate]] plugin." 27msgstr "" 28 29#. type: Plain text 30msgid "" 31"This directive allows registering template pages, that provide default " 32"content for new pages created using the web frontend. To register a " 33"template, insert a [[ikiwiki/directive/template]] directive on some other " 34"page." 35msgstr "" 36 37#. type: Plain text 38#, no-wrap 39msgid "\t\\[[!edittemplate template=\"bugtemplate\" match=\"bugs/*\"]]\n" 40msgstr "\t\\[[!edittemplate template=\"bugtemplate\" match=\"bugs/*\"]]\n" 41 42#. type: Plain text 43msgid "" 44"In the above example, the page named \"bugtemplate\" is registered as a " 45"template to be used when any page named \"bugs/*\" is created. To avoid the " 46"directive displaying a note about the template being registered, add " 47"\"silent=yes\"." 48msgstr "" 49 50#. type: Plain text 51msgid "" 52"Often the template page contains a simple skeleton for a particular type of " 53"page. For the bug report pages in the above example, it might look something " 54"like:" 55msgstr "" 56 57#. type: Plain text 58#, no-wrap 59msgid "" 60"\tPackage: \n" 61"\tVersion: \n" 62"\tReproducible: y/n\n" 63"\tDetails:\n" 64msgstr "" 65"\tPackage: \n" 66"\tVersion: \n" 67"\tReproducible: y/n\n" 68"\tDetails:\n" 69 70#. type: Plain text 71#, no-wrap 72msgid "" 73"The template page can also contain [[!cpan HTML::Template]] directives,\n" 74"like other ikiwiki [[templates]]. Currently only one variable is\n" 75"set: `<TMPL_VAR name>` is replaced with the name of the page being\n" 76"created.\n" 77msgstr "" 78 79#. type: Plain text 80msgid "" 81"It's generally not a good idea to put the `edittemplate` directive in the " 82"template page itself, since the directive would then be included as part of " 83"the template on new pages, which would then in turn be registered as " 84"templates. If multiple pages are registered as templates for a new page, an " 85"arbitrary one is chosen, so that could get confusing." 86msgstr "" 87 88#. type: Plain text 89#, no-wrap 90msgid "[[!meta robots=\"noindex, follow\"]]\n" 91msgstr "[[!meta robots=\"noindex, follow\"]]\n" 92