Cookbook
Topics |
Simple Recipe TemplateSimpleRecipe version 2022-04-24 Summary: A Simple Recipe Template to provide a framework for PmWiki recipes
Version: 2022-04-24
Prerequisites: PmWiki 2.3.2; PHP 7.4
Status: Always beta
Maintainer: skiwi
Discussion: SimpleRecipeTemplate-Talk
Questions answered by this recipeHow do I write a PmWiki recipe? Is there a blueprint I can use? Are there any recipe examples? DescriptionThis recipe provides a simple recipe template that illustrates and implements some PmWiki recipe concepts. The recipe provides a multiline directive with parameters that implements a printable and hexadecimal character display of all text within the directive. The form of such a directive is (:directivename optional parameters:) optional lines of text (:directivenameend:) .
It also provides a singleline directive that implements a display of some internal PmWiki variables. The form of such a directive is (:directivename optional parameters:) .
PmWiki DevelopersThis recipe illustrates some simple features of PmWiki recipes.
The recipe uses the following PHP features:
Installation
UsagePlace the directive, as described below, in your PmWiki page. The recipe provides a page variable Configuration
Parameters are case-insensitive. A second example is
|
Page last modified on 2022 May 08 13:12
Edit - History - Recent Changes - WikiHelp - Search - email page as link -> mailto:?Subject=KiwiWiki: Simple Recipe Template&Body=From KiwiWiki: Simple Recipe Template (https://kiwiwiki [period] nz/pmwiki/pmwiki [period] php/Cookbook/SimpleRecipeTemplate) - A Simple Recipe Template to provide a framework for PmWiki recipes