wiki:ParameterizedIncludeMacro

Include wiki pages in each other with parameter substitution

Description

This macro allows you to write a template wiki page with placeholders, then include that wiki page in one or more other wiki pages (potentially even more than once on a single page), substituting different values for each placeholder on each inclusion.

Bugs/Feature Requests

Existing bugs and feature requests for ParameterizedIncludeMacro are here.

If you have any issues, create a new ticket.

defect

1 / 1

Download

Download the zipped source from here.

Source

You can check out ParameterizedIncludeMacro from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page. This macro is a single-.py-file, so it is installed by dropping it directly into the plugins directory.

Recent Changes

17655 by rjollos on 2020-01-11 07:53:24
Make compatible with Trac 1.4+

Add Rev to svn:keywords

Fixes #13724.

17350 by chead on 2019-03-04 21:37:24
Bump version number
17349 by chead on 2019-03-04 21:36:34
Allow escaping characters using backslashes

A backslash can be inserted in order to escape a character in the macro
parameters and give it its literal meaning. Typically this would be a comma (to
include the comma in the substitution rather than using it to separate multiple
parameters). Backslashes themselves can be escaped with more backslashes.

(more)

Author/Contributors

Author: chead
Maintainer: Christopher Head
Contributors:

Last modified 9 years ago Last modified on Dec 15, 2015, 3:49:42 AM