Help/HowToMakeTemplates

From Plastic Tub

(Difference between revisions)

Revision as of 03:45, 2 Nov 2005

This page contains directions for creating a standardized template for the Tub. If you're looking for general information on creating templates, go to Wikipedia's Quick Guide to Templates (http://en.wikipedia.org/wiki/Help:A_quick_guide_to_templates).

A "generic" template is saved under Template:Sidebar. This template establishes a format and accepts two variables, one for the header and one for the text. You can use this generic template to create new templates that will all have a similar appearance. Here are some examples:

Code Appearance Code Appearance Code Appearance

{{Sidebar
| Header |
Text
}}

Header

Text

{{Sidebar
| Header |
* First Point
* Second Point
* Third Point
}}

Header

  • First Point
  • Second Point
  • Third Point

{{Sidebar
| Header |
* First Point
* Second Point
* Third Point
* Fourth Point
* Fifth Point
----
Related Info
}}

Header

  • First Point
  • Second Point
  • Third Point
  • Fourth Point
  • Fifth Point

Related Info

Note that the page for your new template will be: http://plastictub.vaporslave.com/index.php/Template:NameOfTemplate

For example: http://plastictub.vaporslave.com/index.php/Template:Comics