version=pmwiki-2.0.beta21
newline=˛
text=->%note% TODO: This page needs to be cleaned up for 2.0 release.˛˛See also the MarkupMasterIndex.˛˛PmWiki uses the markup sequence [@(:directive ...:)@] for a number of directives and text substitutions. Many of these replace the "double-bracket" directives that were used in PmWiki 1.0 and earlier versions. Here's a brief description of each.˛˛[[#title]][@(:title text:)@]˛->Sets a page's title to be something other than the name of the page. For example, the markup˛˛ [=(:title Patrick's home page:)=]˛˛->uses "Patrick's home page" as the title of the page in the browser title bar (HTML
tag) and the title area of the page ($PageTitle variable). Note that apostrophes and other special characters can be used here.˛˛[[#keywords]][@(:keywords word, ...:)@]˛->Sets page keywords in an HTML @@@@ tag.˛˛[[#description]][@(:description A page about ...:)@]˛->Sets page description in an HTML @@@@ tag.˛˛[[#include]][@(:include PageName:)@] and [@(:include PageName#start#end:)@]˛->Includes the contents of another page into the text of the current page. The second form of the include is used to include only the portion of the page between the #start and #end anchors. #start and #end can be numeric, in which case they refer to line numbers within the page, so that [@(:include RecentChanges#1#10:)@] grabs only the first ten lines of the RecentChanges file. ˛->See IncludeOtherPages˛˛->In PmWiki 2, one can specify a range of lines to be used in the˛->[@(:include:)@] directive, thus:˛˛->(from Pm email)˛˛->[@(:include SomePage :)@] - include all of `SomePage\\˛[@(:include SomePage lines=10 :)@] - include lines 1-10 of `SomePage\\˛[@(:include SomePage lines=1..10 :)@] - include lines 1-10 of `SomePage\\˛[@(:include SomePage lines=6..10 :)@] - include lines 6-10 of `SomePage\\˛[@(:include SomePage lines=6.. :)@] - include lines 6 to end of `SomePage\\˛[@(:include SomePage lines=6..6:)@] - include only line 6 of `SomePage˛˛˛[[#noheader]][@(:noheader:)@],˛[[#nofooter]][@(:nofooter:)@], ˛[[#notitle]][@(:notitle:)@],˛[[#nogroupheader]][@(:nogroupheader:)@],˛[[#nofootheader]][@(:nofootheader:)@],˛etc.˛->These directives disable the header, footer, and page title portions of a page's layout (if the page's skin allows it).˛˛[[#spacewikiwords]][@(:(no)spacewikiwords:)@]˛->Turns on (off) automatic spacing of bare WikiWords within the page text. When on, `WikiWord will be displayed as "Wiki Word".˛˛[[#linkwikiwords]][@(:(no)linkwikiwords:)@]˛->Turns on (off) automatic linking of bare WikiWords to pages of the same name.˛˛[[#if]][@(:if cond param:)@]˛->The [@(:if cond param:)@] syntax allows portions of the markup text to be conditionally processed (up to the next [@(:if:)@]) depending on administrator-defined conditions. The predefined conditions are "true", "false", "group", and "name". For example, ˛-->[@(:if group PmWiki:)This text displays only in the PmWiki group(:if:)@]˛->For more details, see [[ConditionalMarkup]]. ˛˛[[#pagelist]][@(:pagelist group=xxx fmt=yyy list=zzz:)@]˛->The [@(:pagelist ..:)@] syntax allows to include a bulleted list of pagenames which are within the specified group. The group and pagenames are displayed as links.˛˛:::[@group=xxx@]: optional, xxx = name of group, which pages should be included in the list˛˛--->%green%Q: can you specify pages as well, e.g via regex or matching name-prefix: Group\.PREF.* = all pages of group "Group" starting with "PREF" ˛--->A:%Pm% No, just groups and not pages. There may be a new option added at some point that allows specifying fullnames by regex. Plus there's always the [@list=zzz@] option below which ''does'' allow arbitrary lists.˛˛:::[@fmt=yyy@]: optional, yyy = ˛:::::[@bygroup@]:default, level 1 list entries for each group with level 2 list entries for each page of a group˛:::::[@simple@]:one line per page, using full pagename: "* groupname.pagename", no group headers˛:::::see also: Cookbook:DictIndex˛˛:::[@list=zzz@]: optional, zzz = ˛:::::[@normal@]:don't include special pages like [@RecentChanges@], [@GroupHeader@] and [@GroupFooter@] in the list˛˛->You can do ˛-->[@(:pagelist:)@] to get a list of all pages, ˛-->[@(:pagelist group=PmWiki:)@] to get a list of all pages in the PmWiki group,˛-->[@(:pagelist group={$Group}:)@] to get a list of all pages in the current group˛-->[@(:pagelist group={$Group} list=normal:)@] to get a list of all pages in the current group except [@GroupHeader, GroupFooter, RecentChanges @] etc˛˛->from mailings:˛˛-->For `RecentPages, I just put the following in my local/config.php:˛-->(There must be two spaces between the wikilink and the following text -> Copy&Paste from the source, not html view.)˛˛--->[@$RCTime = strftime('%b %d %H:%M',$Now);@]˛--->[@$RecentChangesFmt['Main.RecentPages'] = ':[[$FullName]]: $RCTime';@]˛˛˛->see also:Cookbook:SearchResults˛˛[[#searchbox]][@(:searchbox:)@]˛->Shows a search box at this position.˛˛[[#searchresult]][@(:searchresults group=xxx fmt=yyy list=zzz text:)@]˛˛->see also:Cookbook.SearchResults˛˛[[#markup]][@(:markup:) [=...=]@]˛->Can be used for markup examples, showing first the markup and then the result of the markup. see PmWiki.TextFormattingRules for examples.˛˛%trail%<<|PmWiki.DocumentationIndex|>>
time=1108827642
name=PmWiki.Directives
host=81.56.237.30
agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.5) Gecko/20041108 Firefox/1.0
rev=41
targets=PmWiki.MarkupMasterIndex,PmWiki.PmWiki,PmWiki.RecentChanges,PmWiki.IncludeOtherPages,PmWiki.WikiWords,PmWiki.ConditionalMarkup,Cookbook.SearchResults,PmWiki.TextFormattingRules,PmWiki.InterMap,PmWiki.SpecialMarkups,PmWiki.DocumentationIndex
author=noe