Recent Changes - Search:

add Cookbook page

hide

Cookbook


hide

Topics


show

Changed

Visitor's book Site map pmwiki-2.2.139

Simple Recipe Template

Summary: A Simple Recipe Template to provided a framework for PmWiki recipes
Version: 2021-10-20
Prerequisites: PmWiki 2.2.130 (PHP 7.4 compatible)
Status: Always beta
Maintainer: skiwi
Licence: GPL3[1]
Categories: Images Includes PHP74
Users: (view? / edit)

Questions answered by this recipe

How do I write a PmWiki recipe? Is there a blueprint I can use? Are these any recipe examples?

Description

This recipe provides a simple recipe template The recipe provides a printable and hexadecimal character display of all text within the directive.

Installation

Usage

Place the directive, as described below, in your PmWiki page.

The recipe provides a page variable {$EmbedFacebookVersion} which contains the current version, and page variable $SimpleRecipeTemplate for a (:if enabled SimpleRecipeTemplate:) recipe installation check.

Configuration

(:simplerecipetemplate hex=true|false

float=left|right clear=both|right|left:)
  • hex= -- true or false
  • float= -- float to left, right
  • clear= -- clear to left, right, or both

Parameters are case-insensitive.

config.php settings

You can change the following in config.php. For example

$SimpleRecipeTemplateDebug = true; # results may vary

Change log / Release notes

2021-10-20 Initial version

See also

Contributors

Special thanks to

Comments

See discussion at SimpleRecipeTemplate-Talk?

Page last modified on 2021 Oct 16 12:48

Edit - History - Recent Changes - WikiHelp - Search - email page as link -> mailto:?Subject=KiwiWiki: Simple Recipe Template&Body=From KiwiWiki: Simple Recipe Template (//kiwiwiki [period] co [period] nz/pmwiki/pmwiki [period] php/Cookbook/SimpleRecipeTemplate) - A Simple Recipe Template to provided a framework for PmWiki recipes