Trac WikiTemplates Plugin
WikiTemplates is a Trac plugin. This plugin will provide you a way to include parts of other wiki pages, the templates, into our current wiki page.
NOTE: This plugin is not Trac 0.11 compatible, nor will it be untill someone submits a patch for it. My time is scarce, a lot has changed with Trac 0.11 and I simple don’t have the time to update this plugin.
Why This? You could have a template that makes the text red colored with a monospace font, and use the template instead of making multiple span’s,
Some Usage Examples
The template:
{{{
#!html
<span style="color: #339900; font-family: monospace;">{{1}}</span>
}}}
To use that template, one would put on the wiki page being edited:
[[T(GreenText|The Green Text Passed)]]
The HTML output:
<span style="color: rgb(51, 153, 0); font-family: monospace;">The Green Text Passed</span>
Another example would be:
The template:
{{{
#!html
<span style="color: #339900; font-family: monospace;">{{1}}</span> <span style="color: red;">{{2}}</span>
}}}
Wiki implementation:
[[T(GreenAndRedText|The Green Text Passed|And The Red Not Monospace Text)]]
The HTML Output(with line breaks for readability):
<span style="color: rgb(51, 153, 0); font-family: monospace;">The Green Text Passed</span> <span style="color: red;">And The Red Not Monospace Text</span>
Of course this isn’t that really usefull but just imagine the possibilities, too many to name here.
As of version >=0.3.0, WikiTemplates also supports inclusion of whole wiki pages(with no arguments parsing) and even off site pages. Examples:
Include a wiki page:
[[Include(WikiPageName)]]
Include an off-site page:
[[Include(http://the.url.to.site.com/page)]]
You can find more info on the WikiTemplates site where bugs and new feature requests should go to.
Download and Installation
WikiTemplates can be installed with Easy Install by typing:
> easy_install TracWikiTemplates
Metadata
Release files for TracWikiTemplates 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| TracWikiTemplates-0.3.0.zip | 60.2 kB | Without provenance | Details for TracWikiTemplates-0.3.0.zip | |
| TracWikiTemplates-0.3.0.tar.bz2 | 43.3 kB | Without provenance | Details for TracWikiTemplates-0.3.0.tar.bz2 |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| TracWikiTemplates-0.3.0-py2.5.egg | Legacy Egg format | - | - | Details for TracWikiTemplates-0.3.0-py2.5.egg |
Total release size: 185.8 kB
Release files / TracWikiTemplates-0.3.0.zip
| Download URL | TracWikiTemplates-0.3.0.zip |
|---|---|
| Size | 60.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4a48aac99c8cb425c08122d185a569bf7882062a347a53046528fd4b03286e3f
|
|
BLAKE2b-256 checksum How to use checksums |
16939283b413e62991d6f6ca9223874cbcf9956cf5581dac9f8058c36fd02fbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / TracWikiTemplates-0.3.0.tar.bz2
| Download URL | TracWikiTemplates-0.3.0.tar.bz2 |
|---|---|
| Size | 43.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7eedf4727b2ca044620fd9ddb4d50ee567750a646dee06974dc6fe31e33804b0
|
|
BLAKE2b-256 checksum How to use checksums |
b681911aad4491adb8c183ebf09cec240e0d231708ffcf452cdcddc341c3d2a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / TracWikiTemplates-0.3.0-py2.5.egg
| Download URL | TracWikiTemplates-0.3.0-py2.5.egg |
|---|---|
| Size | 82.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
000d9f0742787d6c9a92035c07d2233b84c7ca8e07cd232cfc54a79739655f24
|
|
BLAKE2b-256 checksum How to use checksums |
c3dc0baf0bf1e9665ef82a41d59348a56cc1265dbb36bad388240ece40d0ce90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for TracWikiTemplates 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.