History of StencilsPackage
Stencils Package works exactly like MediaWiki's templates (e.g., at wikipedia.org).
---
A stencil prompts a user to enter information and can be very useful in situations where you want a standard appearance.
It is created with the layout and styling you want it to have when it is to be used in a page or wherever, and may contain a combination of text, attachments and prompted input areas.
The prompted input areas are surrounded by 3 parentheses:
~np~{{{ }}} ~/np~
Once saved, only the prompted areas are shown for each stencil preview (ie on the stencils tab behind a wiki page that you are editing).
A user can cut and paste a stencil to wherever they want to use it. When the page (or other content) is saved the stencil pulls all the layout and styling options into how this stencil looks.
!! Creation
In the Stencils drop-down menu, choose Create Stencil.
Enter a title, and description (optional) and then format your stencil.
eg
Title:Contact Details
Description:
~np~||{{{Name}}}|{{{Phone}}}~/np~
~np~{{{Address}}}||~/np~
Save.
!! Preview
~np~{{Contact Details|~/np~
~np~|Name=~/np~
~np~|Phone=~/np~
~np~|Address=~/np~
~np~}}~/np~
!! Appearance
||Joanne Bloggs|555 645 8967
4 Merry-go-round Way, On Your Horse, Fantasy Island||
!! Notes
* Stencils do not allow spaces between words inside the parentheses, so use an underscore instead.
* Presently stencils do not seems to support non-english language characters, so you will need to use an anglicized form, where one exists.
!! see also
* [http://en.wikipedia.org/wiki/Wikipedia:Template_documentation]
* [http://en.wikipedia.org/wiki/Template:US_state]
---
A stencil prompts a user to enter information and can be very useful in situations where you want a standard appearance.
It is created with the layout and styling you want it to have when it is to be used in a page or wherever, and may contain a combination of text, attachments and prompted input areas.
The prompted input areas are surrounded by 3 parentheses:
~np~{{{ }}} ~/np~
Once saved, only the prompted areas are shown for each stencil preview (ie on the stencils tab behind a wiki page that you are editing).
A user can cut and paste a stencil to wherever they want to use it. When the page (or other content) is saved the stencil pulls all the layout and styling options into how this stencil looks.
!! Creation
In the Stencils drop-down menu, choose Create Stencil.
Enter a title, and description (optional) and then format your stencil.
eg
Title:Contact Details
Description:
~np~||{{{Name}}}|{{{Phone}}}~/np~
~np~{{{Address}}}||~/np~
Save.
!! Preview
~np~{{Contact Details|~/np~
~np~|Name=~/np~
~np~|Phone=~/np~
~np~|Address=~/np~
~np~}}~/np~
!! Appearance
||Joanne Bloggs|555 645 8967
4 Merry-go-round Way, On Your Horse, Fantasy Island||
!! Notes
* Stencils do not allow spaces between words inside the parentheses, so use an underscore instead.
* Presently stencils do not seems to support non-english language characters, so you will need to use an anglicized form, where one exists.
!! see also
* [http://en.wikipedia.org/wiki/Wikipedia:Template_documentation]
* [http://en.wikipedia.org/wiki/Template:US_state]