version=pmwiki-2.1.11 ordered=1 urlencoded=1
agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.5) Gecko/20060719 Firefox/1.5.0.5
author=TeganDowling
csum=clearer lead-in to cases
host=69.131.28.243
name=PmWiki.PageDirectives
rev=36
targets=PmWiki.GroupHeaders,PmWiki.Skins,PmWiki.IncludeOtherPages,PmWiki.DocumentationIndex,PmWiki.PerGroupCustomizations
text=PmWiki uses a number of directives to specify page titles, descriptions, page keywords, and control the display of various components.%0a%0a[[#attachlist]]%0a:[@(:attachlist:)@]:%0a->Shows a list of attachments of the current group or page, depending on whether attachments are organised per group or per page. The attachlist is displayed at the foot of the uploads page form.%0a%0a->Options: [@(:attachlist NAME:)@] shows a list of attachments of the group or page NAME. [@(:attachlist ext=xxx:)@] specifies an extension for filtering by type of file. %0a%0a[[#description]]%0a:[@(:description text:)@]:Descriptive text associated with the page.  (Generates a [@%3cmeta name='description' content='...' />@] element in the page output.)%0a%0a[[#keywords]]%0a:[@(:keywords word1, word2, ...:)@]:Identifies keywords associated with the page.  These are not displayed anywhere, but are useful to help search engines locate the page.  (Essentially, this generates a [@%3cmeta name='keywords' content='...' />@] element in the output.)%0a%0a[[#linebreaks]]%0a:[@(:linebreaks:)@], [@(:nolinebreaks:)@]: Honors any newlines in the markup; i.e., text entered on separate lines in the markup will appear as separate lines in the output.  Use [@(:nolinebreaks:)@] to cause text lines to automatically join again.%0a%0a[[#linkwikiwords]]%0a:[@(:linkwikiwords:), (:nolinkwikiwords:)@]: Enables/disables WikiWord links in text.%0a%0a[[#markup]]%0a:[@(:markup:) ... (:markupend:)@]: Can be used for markup examples, showing first the markup and then the result of the markup.  %0a->Options: [@(:markupend:)@] is not required when using [@(:markup:)@] [@[=...=]@].%0a->Arguments: [@(:markup class=horiz:)@] and [@(:markup caption='...':)@]%0a%0a[[#nogroupheader]]%0a:[@(:nogroupheader:)@]:%0a:[@(:nogroupfooter:)@]: Turns off any groupheader or groupfooter for the page.  (See [[GroupHeaders]].)%0a%0a[[#noheader]]%0a:[@(:noheader:), (:nofooter:)@]: %0a:[@(:noleft:), (:noright:), (:notitle:)@]: If supported by the [[skin(s)]], each of these turns off the corresponding portion of the page.%0a%0a[[#redirect]]%0a:[@(:redirect PageName:)@]:%0a:[@(:redirect PageName status=301 from=name:)@]:Redirects the browser to another page, along with a redirect message.  For security reasons this only redirects to other pages within the wiki and does not redirect to external urls.  The [@status=@] option can be used to return a different HTTP status code as part of the redirect.  The [@from=@] option limits redirects to occuring only on pages matching the wildcarded ''name'' (helpful when [@(:redirect:)@] is in [[include other pages|another page]]).%0a%0a[[#spacewikiwords]]%0a:[@(:spacewikiwords:), (:nospacewikiwords:)@]:%0a->Enables/disables automatic spacing of WikiWords in text.%0a%0a[[#title]]%0a:[@(:title text:)@]: Sets a page's title to be something other than the page's name.  The title text can contain apostrophes and other special characters.  If there are multiple titles in a page, the last one encountered wins.%0a%0a%25trail%25%3c%3c|[[Documentation Index]]|>>%0a%0a>>faq%3c%3c [[#faq]]%0aQ: Can I get [@(:redirect:)@] to return a "moved permanently" (HTTP 301) status code?%0aA: Use [@(:redirect PageName status=301:)@].%0a%0aQ: Is there any way to prevent the "redirected from" message from showing at the top of the target page when I use [@(:redirect:)@]?%0aA: If you want to suppress the message...%0a* in all cases, add add [@$PageRedirectFmt = '';@] in your local/config.php%0a* based on the destination/target of the redirect, add [@$PageRedirectFmt = '';@] to a local/group.page.php or local/group.php file (see [[PmWiki.PerGroupCustomizations]]).%0a* based on the origin/source of the redirect, add the following to your local/config.php%0a[@%0a   if (@$_GET['from']) {%0a     $group = PageVar($_GET['from'], '$Group');%0a     if ($group == 'SomeGroup') $PageRedirectFmt = '';%0a   }%0a@]%0a->Example application: Replace 'SomeGroup' with 'Profiles'
time=1154107670
