Difference between revisions of "Category:Templates"

From AvatarWiki
Jump to navigation Jump to search
m (Undo revision 39939 by Featherlight (Talk))
(Undo revision 36876 by MooNFisH (Talk))
Line 1: Line 1:
Just templates. Explanation on lowmort/hero wiki on usage.
+
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 that can be directly called into a Wiki page. 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]]

Revision as of 15:10, 3 February 2011

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 that can be directly called into a Wiki page. 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.