Jump to content

Category:Templates: Difference between revisions

From AvatarWiki
DaveGarber1975 (talk | contribs)
mNo edit summary
Llanor (talk | contribs)
No edit summary
Line 1: Line 1:
Templates are provided here, both (1) to help users to create new categories/pages more quickly and easily and (2) to help both develop and promote consistent standards for category/page formats.  These standards may change somewhat over time as users gradually improve and "polish" them.  Please remember that these formats below are suggested, not mandatory, and that even poorly-formatted contibutions are preferable to none at all.
Templates are provided here, both (1) to help users to create new categories/pages more quickly and easily and (2) to help both develop and promote consistent standards for category/page formats.  These standards may change somewhat over time as users gradually improve and "polish" them.  Please remember that these formats below are suggested, not mandatory, and that even poorly-formatted contibutions are preferable to none at all.
==Templates with variables==
All templates that are named Template:'''TemplateName''' are those with variables in them. They can be called as follows:
Imagine the following template, named Template:Example
<nowiki>Once upon a time, {{{one}}} went for a walk in {{{two}}}. {{{one}}} thought his stay there was {{{three}}}.<br></nowiki>
<nowiki>{{{four}}} {{{five}}}</nowiki>
This template has 5 variables, named one, two, three, four and five. Here's now to assign values to these variables:
<nowiki>{{Example|</nowiki>
<nowiki>| one=Timmy</nowiki>
<nowiki>| two=the Big Woods</nowiki>
<nowiki>| three=a bit, you know, ''weird''</nowiki>
<nowiki>| four=</nowiki>
<nowiki>| five=Then monkeys came.<br>And flung poo at him.</nowiki>
<nowiki>|}</nowiki>
After that, the page look like this:
Once upon a time, Timmy went for a walk in the Big Woods. Timmy thought his stay there was a bit, you know, ''weird''.
Then monkeys came.<br>And flung poo at him.


[[Category: Wiki Stuff]]
[[Category: Wiki Stuff]]

Revision as of 23:29, 4 February 2007

Templates are provided here, both (1) to help users to create new categories/pages more quickly and easily and (2) to help both develop and promote consistent standards for category/page formats. These standards may change somewhat over time as users gradually improve and "polish" them. Please remember that these formats below are suggested, not mandatory, and that even poorly-formatted contibutions are preferable to none at all.

Templates with variables

All templates that are named Template:TemplateName are those with variables in them. They can be called as follows:

Imagine the following template, named Template:Example

Once upon a time, {{{one}}} went for a walk in {{{two}}}. {{{one}}} thought his stay there was {{{three}}}.<br>
{{{four}}} {{{five}}}

This template has 5 variables, named one, two, three, four and five. Here's now to assign values to these variables:

{{Example|
| one=Timmy
| two=the Big Woods
| three=a bit, you know, ''weird''
| four=
| five=Then monkeys came.<br>And flung poo at him.
|}

After that, the page look like this:

Once upon a time, Timmy went for a walk in the Big Woods. Timmy thought his stay there was a bit, you know, weird.
Then monkeys came.
And flung poo at him.

Subcategories

This category has the following 2 subcategories, out of 2 total.