History of StencilsPackage

Comparing versions
Version 3Current version
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:
{{{ }}}

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:

||{{{Name}}}|{{{Phone}}}
{{{Address}}}||

Save.

Preview


{{Contact Details|
|Name=
|Phone=
|Address=
}}

Appearance


Joanne Bloggs555 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 foreign language characters, so you will need to use an anglicized form, where one exists.

see also

 
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:
{{{ }}}

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:

||{{{Name}}}|{{{Phone}}}
{{{Address}}}||

Save.

Preview


{{Contact Details|
|Name=
|Phone=
|Address=
}}

Appearance


Joanne Bloggs555 645 89674 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.
  • Neither do the user prompt inputs support non-english language characters, so you will need to use an anglicized form, where one exists.
  • Html character encoding also does not work (using FCKeditor).
  • Each input prompt needs to be unique within the stencil ie. only one {{{Name}}}, or one {{{Phone}}} (unless you want the same data filled in, in more than one place). ie For different {{{Name}}} prompts you could define {{{President_Name}}}, {{{Treasurer_Name}}} and {{{Secretary_Name}}}

see also

Page History
Date/CommentUserIPVersion
09 Jun 2010 (10:20 UTC)
Tochinet193.191.209.2448
Current • Source
kinderlehrer118.90.108.1087
View • Compare • Difference • Source
kinderlehrer118.90.108.1086
View • Compare • Difference • Source
kinderlehrer118.90.108.1085
View • Compare • Difference • Source
kinderlehrer118.90.108.1084
View • Compare • Difference • Source
kinderlehrer118.90.108.1083
View • Compare • Difference • Source
laetzer85.179.129.2112
View • Compare • Difference • Source
sikko82.171.211.21
View • Compare • Difference • Source