☰ Click for Table of Contents
BookWiki Documentation
Copyright 2026
Rance D. Necaise

Page Variables

Wiki page variables are used to store user defined data on a page for later use. Any number of page variables can be defined and used, but each can store a single value of either a string or numerical value. The same command is used to define and use page variables, but with different arguments.

 

wiki module
\pagevar{name}{value}       <--  define and initialize a page variable
\pagevar[page=path]{name}   <--  use a page variable from the same page or a specific page
Defines and initializes a page variable or uses a page variable.
   \pagevar{duedate}{Friday, August 31}
   \pagevar{duedate}
Arguments:
name

The name of the page variable, which must be unique on the given page. If the same name is used by a second definition command, the value of the variable is changed to the new value. When using a page variable, it must have been defined before it can be used.

value

The value that the page variable is set to. This should be either a string or a numerical value. It can be the result of a command, which would be executed before the variable is set.

Key:
page

To use a page variable from a different page, indicate the path to the specific page.

Plugin:  PageVariable
  August 21, 2026 at 05:08 PM