1 [[template id=plugin name=meta author="[[Joey]]"]]
4 This plugin allows inserting arbitrary metadata into the source of a page.
5 Enter the metadata as follows:
7 \[[meta field="value"]]
8 \[[meta field="value" param="value" param="value"]]
10 The first form sets a given field to a given value, while the second form
11 also specifies some additional sub-parameters.
13 You can use any field names you like, but here are some predefined ones:
17 Specifies a link to another page. This is used to generate a html
18 <link> tag, and also as a way to make the wiki treat one page as
19 linking to another without displaying a user-visible link. The latter
20 can be useful when using links to categorise pages. A html link tag
23 \[[meta link="foo.css" rel="stylesheet" type="text/css"]]
25 A non-user-visible [[WikiLink]] would instead look like this:
27 \[[meta link=otherpage]]
31 Overrides the title of the page, which is generally the same as the
34 Note that if the title is overridden, a "title_overridden" variable will
35 be set to a true value in the template; this can be used to format things
36 differently in this case.
40 Specifies a copyright license for the page, for example, "GPL".
44 Specifies the author of a page.
48 Specifies a permanent link to the page, if different than the page
53 Specifies the creation date of the page. The date can be entered in
54 nearly any format, since it's parsed by [[cpan TimeDate]].
56 If the field is not treated specially (as the link and title fields are),
57 the metadata will be written to the generated html page as a <meta>
60 The field value is treated as HTML entity-escaped text, so you can include
61 a quote in the text by writing `"` and so on.