u8hodt1 1l6e3rcn4 <a href="http://mtcg.snu.ac.kr/index.php?mid=sphmsg&document_srl=9525#">maglie calcio poco prezzo</a> zw8hd0bag 4wlapzc5x\n 1o8xnzej aklmrgf <a href="http://steelcongress.ru/matthias-fodboldtrojer-med-tryk-susannah/">billige fodboldtrøjer</a> wu0onr c5pw24\n uzcfo7p louvx0nfkr <a href="http://www.robotous.com/index.php?mid=photo&document_srl=5422#">maglie calcio bambino</a> 6p81a49ju0 4knlajd6h\n |
(:Summary:Contains the 'action' links (like Browse, Edit, History, etc.), placed at the top of the page, see site page actions:) (:comment This page can be somewhat complex to figure out the first time you see it. Its contents are documented at PmWiki.SitePageActions if you need help. :) * View * Edit * History * Print (:comment delete if and ifend to enable backlinks:) PmWiki /
PageTextVariables(:Summary: PmWiki group header. Includes styles and trail.:) (:comment please leave the multiple style definitions concatenated as a single line. Linebreaks do appear in the output when the wiki is configured with linebreaks enabled -- thanks!:) (:comment included in PmWiki localisation headers and footers :) >>rframe font-size:smaller noprint clear=right<< Table of contents* Defining page text variables * Usage ** On the same page ** From other pages ** On included pages ** With pagelists ** In templates ** With conditionals ** Within code >><< Page text variables are string variables created in the wiki text of a page, and can be automatically made available for inclusion in other pages. Defining Page Text VariablesThere are three ways to define automated Page Text Variables (more patterns can be defined if needed) : * use a definition list - the normal pmwiki markup for a definition list will create a page text variable
{$:Name} (becomes: "Crisses") in the page.
* use a simple colon delimiter in normal text
{$:Address} variable (variable markup becomes: "1313 Mockingbird Lane") in the page.
* hidden directive form - PmWiki markup that doesn't render on the page, but defines the variable
{$:Country} variable (variable markup becomes: "Transylvania ") in the page.
UsageUsage on the same pageOn the same page you can resolve page text variables through the Usage in headers and footers: special referencesIf you want a GroupHeader, GroupFooter, SideBar, etc to call on page text variable in the main page, you need to include special reference information.
To explicitly reference the page text variable from the page being displayed add an asterisk to the page text variable's markup:
Usage from other pagesIf you want to pull the data from another page, use the
Usage from included pagesPage text variables are never included from their source page. See Usage from other pages above to refer to a page text variable on another page. Usage with pagelistsPage lists can also access the page text variables:
And to create pagelist formats (such as those documented at Site.Page List Templates, Page Lists, Page List Templates, Page Variables. Store custom pagelists at Site.Local Templates?). Page lists can also use page text variables to select pages :
* When using page text variables for selection or ordering, don't put the curly braces around the variable name. The curly forms do a replacement before the pagelist command is evaluated.
* Link markup within the contents of a hidden page text variable directive (as opposed to other ways of specifying PTVs) will not be cached as a link on the page and thus won't be seen by pagelist's link= option. If you want the link to be found by link=, you need to specify the PTV using non-directive markup, or else put the link on the page even if it's hidden within a false conditional: Testing if set or not set
Tip :
Use page text variable in a templateDisplay pages by Audience page text variable.
Use page text variables in conditional markupPage text variables will be assigned/evaluated '''before''' any conditional markup is evaluated. This effectively means that you cannot declare a PTV within an if...else condition; and also that a PTV will have a value even if it is set within a Usage - from within code (developers only)The standard @@PageVar($pagename,$varname)@@ function can return page text variables, but remember to include the dollar and colon like this: ->@@$var=PageVar($pagename,'$:City')@@ It works by caching all page (text) variables it finds in a page (in @@$PCache@@) and returns the one requested.(:nl:)(:Summary:Trail and talk page links:) (:comment included in PmWiki localisation headers and footers :) <<? >>bgcolor=#ffe border-top="1px solid black" font-size=.8em<< This page may have a more recent version on pmwiki.org: PmWiki:PageTextVariables, and a talk page: PmWiki:PageTextVariables-Talk. >><< |