Include
(:includeurl http://usdebtclock.org/index.html :)
... Cookbook/IncludeUrl
- See : Include Other Pages
(:include Group/PageName#start#end :)
(:include TemplateName basepage=BasePageName:)
...
Include TemplateName, but treat all relative links and page variables on TemplateName` as relative to BasePageName.
will retrieve the contents of TemplateName, treating any page variables and links as being relative to BasePageName.
In particular, the values for {$:Name}
and {$:Address}
will be taken from BasePageName, but things like {$Title}
and {$LastModifiedBy}
would also work here.
FRAMES
>>rframe font-size:smaller<<
[[#index]]
!! List of documented PHP variables
(:varindex:)
[[#indexend]]
>><<
Local Customisations
Page directives
- See : https://www.pmwiki.org/wiki/PmWiki/PageDirectives
(:attachlist:)
(:description text:)
... generates META
(:keywords word1, word2, ...:)
... generates META
(:linebreaks:), (:nolinebreaks:)
(:title text:)
(:spacewikiwords:), (:nospacewikiwords:)
(:noheader:), (:nofooter:), (:noleft:), (:noright:), (:notitle:)
(:nogroupheader:) (:nogroupfooter:)
(:noaction:)
(:redirect PageName#anchor status=301 from=name quiet=1:)
(:markup:) ... (:markupend:)
(: markup :) [=...=]
(:linkwikiwords:), (:nolinkwikiwords:)
(:messages:)
Wiki Trails
- See : PmWiki/WikiTrails
%right% <<|[[Trail Index Page(#trail#trailend)]]|>>
%right% <|[[Trail Index Page(#trail#trailend)]]|>
%right% <|[[Trail Index Page(#trail#trailend) | Alt middle text]]|>
%right% <|[[TrailIndexPage(#trail#trailend) | +]]|>
... Alt middle text is defined by (:Title XXX :)
of TrailIndexPage
%left% ^|[[TrailIndexPage(#trail#trailend)]]|^
... Breadcrumb style : "Trail Index Page | Trail Page"
DEFINITION of Trail Index Page
[[#trail]]
* [[Page Not To Be Included In Trail]] %item comment%
* [[Tips and Tricks]] - {TipsAndTricks$:Summary}
[[#trailend]]
Functions
- See : Markup Expressions
{(substr "{$:Summary}" 0 30)}
{(strlen "{$:Summary}")}
{(ftime fmt="%F %H:%M")}
... 2019-05-08 14:10
{(ftime %Y)}
... 2019
{(ftime fmt=%T)}
... 14:10:29
{(toupper "{$:Summary}")}
... PAGE SUMMARY
{(tolower "{$:Summary}")}
... page summary
{(ucfirst "{$:Summary}")}
... Page summary
{(ucwords "{$:Summary}")}
... Page Summary
Variables
- See : PageVariables
{*$PageVariablename}
... Prefixing the variable name with an asterisk (*) means the variable's value is related to the browsed page or main (body) page.
{PageName$variable}
... which returns the value of the variable for another page.
{PageName$:Summary}
... detto Page Text Variables
- Definition Lists
- See : Page Text Variables
- CREATE 1 :
":Name: Text to be defined"
.. without quotes
- CREATE 2 :
(:Name: Text to be defined :)
- USAGE :
{$:Name}
- USAGE FROM OTHER PAGES :
{Group/PageName$:Name}
- Custom page variables
- See : Page Variables
$FmtPV['$VarName'] = "'variable definition'";
... in local configuration file
$FmtPV['$CurrentSkin'] = '$GLOBALS["Skin"]';
... in local configuration file
Page specific variables
{$Action} | browse |
{$BaseName} | Site.SdvHelp |
{$DefaultGroup} | Main |
{$DefaultName} | HomePage |
{$Description} |
{$FullName} | Site.SdvHelp |
{$Group} | Site |
{$Groupspaced} | Site |
{$LastModified} | 2019-05-08 17:38 |
{$LastModifiedBy} |
{$LastModifiedHost} | 84.16.51.161 |
{$LastModifiedSummary} |
{$LastModifiedTime} | 1557329938 |
{$Name} | SdvHelp |
{$Namespaced} | Sdv Help |
{$PageUrl} | http://slavomir.com/sub/wiki/index.php?n=Site.SdvHelp |
{$PasswdRead} | (protected) |
{$PasswdEdit} | (protected) |
{$PasswdAttr} | (protected) |
{$RequestedPage} | Site.SdvHelp |
{$SiteGroup} | Site |
{$SiteAdminGroup} | SiteAdmin |
{$WikiTitle} | www.slavomir.com |
{$Title} | Sdv Help |
{$Titlespaced} | Sdv Help |
varindex
(:varindex:)
BasicVariables | {$AsSpacedFunction} |
| {$AuthId} |
| {$Author} |
| {$AuthorGroup} |
| {$AuthPw} |
| {$BaseName} | Site.SdvHelp |
| {$BaseNamePatterns} |
| {$CategoryGroup} |
| {$CookiePrefix} |
| {$DefaultGroup} | Main |
| {$DefaultName} | HomePage |
| {$DefaultPage} |
| {$EnableLocalConfig} |
| {$EnablePGCust} |
| {$EnableRedirect} |
| {$EnableRelativePageVars} |
| {$EnableStdConfig} |
| {$EnableWikiWords} |
| {$EnableWSPre} |
| {$FTimeFmt} |
| {$GroupPattern} |
| {$LinkWikiWords} |
| {$LogoutCookies} |
| {$LogoutRedirectFmt} |
| {$NamePattern} |
| {$pagename} |
| {$PagePathFmt} |
| {$SiteAdminGroup} | SiteAdmin |
| {$SiteGroup} | Site |
| {$Skin} |
| {$SpaceWikiWords} |
| {$TimeFmt} |
| {$Version} | pmwiki-2.2.97 |
| {$VersionNum} | 2002097 |
| {$WikiWordPattern} |
Blocklist | {$BlockedMessagesFmt} |
| {$BlocklistActions} |
| {$BlocklistDownload} |
| {$BlocklistDownloadFmt} |
| {$BlocklistDownloadRefresh} |
| {$BlocklistMessageFmt} |
| {$BlocklistPages} |
| {$EnableBlocklist} |
| {$EnableBlocklistImmediate} |
| {$EnableWhyBlocked} |
DebugVariables | {$AbortFunction} |
| {$EnableDiag} |
| {$EnableIMSCaching} |
| {$EnableMarkupDiag} |
| {$EnableStopWatch} |
EditVariables | {$AutoCreate} |
| {$DefaultPageTextFmt} |
| {$DeleteKeyPattern} |
| {$DiffKeepDays} |
| {$DiffKeepNum} |
| {$DraftActionsPattern} |
| {$DraftSuffix} |
| {$EditFunctions} |
| {$EditRedirectFmt} |
| {$EditTemplatesFmt} |
| {$EnableDraftAtomicDiff} |
| {$EnableDrafts} |
| {$EnableGUIButtons} |
| {$EnablePostAuthorRequired} |
| {$EnableRevUserAgent} |
| {$EnableROSEscape} |
| {$GUIButtons} |
| {$HandleEditFmt} |
| {$IsPagePosted} |
| {$PageEditFmt} |
| {$PageEditForm} |
| {$ROEPatterns} |
| {$ROSPatterns} |
I18nVariables | {$DefaultPageCharset} |
| {$EnableXLPageScriptLoad} |
| {$VarPagesFmt} |
| {$XLLangs} |
LayoutVariables | {$ActionSkin} |
| {$DraftRecentChangesFmt} |
| {$EnableDiffInline} |
| {$EnableFixedUrlRedirect} |
| {$EnablePageTitlePriority} |
| {$EnablePathInfo} |
| {$EnableTableAutoValignTop} |
| {$GroupFooterFmt} |
| {$GroupHeaderFmt} |
| {$GroupPrintFooterFmt} |
| {$GroupPrintHeaderFmt} |
| {$HTMLFooterFmt} |
| {$HTMLHeaderFmt} |
| {$HTMLPNewline} |
| {$HTMLStylesFmt} |
| {$HTMLTagAttr} |
| {$HTMLVSpace} |
| {$MaxIncludes} |
| {$MessagesFmt} |
| {$MetaRobots} |
| {$PageLogoUrl} |
| {$PageNotFoundHeaderFmt} |
| {$PageRedirectFmt} |
| {$RCLinesMax} |
| {$RecentChangesFmt} |
| {$RecentUploadsFmt} |
| {$SimpleTableDefaultClassName} |
| {$SkinLibDirs} |
| {$SkinTemplateIncludeLevel} |
| {$TableCellAlignFmt} |
| {$TableCellAttrFmt} |
| {$TableRowAttrFmt} |
| {$TableRowIndexMax} |
| {$WikiStyle} |
| {$WikiStyleApply} |
| {$WikiTitle} | www.slavomir.com |
LinkVariables | {$EnableLinkPageRelative} |
| {$EnableLinkPlusTitlespaced} |
| {$EnableRedirectQuiet} |
| {$IMapLinkFmt} |
| {$InterMapFiles} |
| {$LinkPageCreateFmt} |
| {$LinkPageCreateSpaceFmt} |
| {$LinkPageExistsFmt} |
| {$LinkPageSelfFmt} |
| {$MakePageNameFunction} |
| {$MakePageNamePatterns} |
| {$MakePageNameSplitPattern} |
| {$QualifyPatterns} |
| {$UrlLinkFmt} |
| {$WikiWordCount} |
| {$WikiWordCountMax} |
Notify | {$EnableNotify} |
| {$EnableNotifySubjectEncode} |
| {$MailFunction} |
| {$NotifyBodyFmt} |
| {$NotifyDelay} |
| {$NotifyFile} |
| {$NotifyFrom} |
| {$NotifyHeaders} |
| {$NotifyItemFmt} |
| {$NotifyList} |
| {$NotifyListPageFmt} |
| {$NotifyParameters} |
| {$NotifySquelch} |
| {$NotifySubjectFmt} |
| {$NotifyTimeFmt} |
OtherVariables | {$EnableInputDataAttr} |
| {$FmtP} |
| {$FmtPV} |
| {$FmtV} |
| {$MarkupMarkupLevel} |
| {$MaxPageTextVars} |
| {$PageCacheDir} |
PagelistVariables | {$EnablePageIndex} |
| {$EnablePageListProtect} |
| {$EnableUndefinedTemplateVars} |
| {$FPLTemplatePageFmt} |
| {$PageIndexFile} |
| {$PageListCacheDir} |
| {$PageListSortCmpFunction} |
| {$PageSearchForm} |
| {$SearchBoxInputType} |
| {$SearchBoxOpt} |
| {$SearchPatterns} |
PathVariables | {$FarmD} |
| {$FarmPubDirUrl} |
| {$LocalDir} |
| {$PageCSSListFmt} |
| {$PubDirUrl} |
| {$ScriptUrl} | http://slavomir.com/sub/wiki/index.php |
| {$SkinDir} |
| {$SkinDirUrl} |
| {$WikiDir} |
| {$WikiLibDirs} |
| {$WorkDir} |
SecurityVariables | {$AllowPassword} |
| {$AuthLDAPBindDN} |
| {$AuthLDAPBindPassword} |
| {$AuthLDAPReferrals} |
| {$DefaultPasswords} |
| {$DenyHtaccessContent} |
| {$EnableCookieHTTPOnly} |
| {$EnableCookieSecure} |
| {$EnablePageVarAuth} |
| {$EnablePostAttrClearSession} |
| {$EnablePublishAttr} |
| {$EnableRobotCloakActions} |
| {$EnableSessionPasswords} |
| {$HandleAuth} |
| {$PageAttributes} |
| {$RobotActions} |
| {$RobotPattern} |
| {$SessionDecode} |
| {$SessionEncode} |
UploadVariables | {$EnableDirectDownload} |
| {$EnableUpload} |
| {$EnableUploadGroupAuth} |
| {$EnableUploadOverwrite} |
| {$EnableUploadVersions} |
| {$LinkUploadCreateFmt} |
| {$MakeUploadNamePatterns} |
| {$UploadBlacklist} |
| {$UploadDir} |
| {$UploadDirQuota} |
| {$UploadExtSize} |
| {$UploadMaxSize} |
| {$UploadNameChars} |
| {$UploadPermAdd} |
| {$UploadPermSet} |
| {$UploadPrefixFmt} |
| {$UploadPrefixQuota} |
| {$UploadRedirectFunction} |
| {$UploadUrlFmt} |
__ _
_____/ /___ __ ______ ____ ___ (_)____ _________ ____ ___
/ ___/ / __ `/ | / / __ \/ __ `__ \/ / ___/ / ___/ __ \/ __ `__ \
(__ ) / /_/ /| |/ / /_/ / / / / / / / / _ / /__/ /_/ / / / / / /
/____/_/\__,_/ |___/\____/_/ /_/ /_/_/_/ (_) \___/\____/_/ /_/ /_/