Difference between revisions of "Category:Templates"

From AvatarWiki
Jump to navigation Jump to search
m (typo)
 
(11 intermediate revisions by 4 users not shown)
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==
+
== Templates with Variables ==
All templates that are named Template:'''TemplateName''' are those with variables in them. They can be called as follows:
+
 
 +
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
 
Imagine the following template, named Template:Example
Line 17: Line 18:
 
  <nowiki>| four=</nowiki>
 
  <nowiki>| four=</nowiki>
 
  <nowiki>| five=Then monkeys came.<br>And flung poo at him.</nowiki>
 
  <nowiki>| five=Then monkeys came.<br>And flung poo at him.</nowiki>
  <nowiki>|}</nowiki>
+
  <nowiki>|}}</nowiki>
  
 
After that, the page look like this:
 
After that, the page look like this:
Line 24: Line 25:
 
  Then monkeys came.<br>And flung poo at him.
 
  Then monkeys came.<br>And flung poo at him.
  
[[Category: Wiki Stuff]]
+
[[Category: Wiki Stuff|Templates]]

Latest revision as of 16:06, 2 January 2012

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.