Help/HowToMakeTemplates

From Plastic Tub

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).

How To


1. Go to the page where your template will be saved: http://plastictub.vaporslave.com/index.php/Template:NameOfTemplate

2. Paste in some code from one of the examples below and alter your Header, Text, Bullet points, etc. Note that both the Text and Header of the template may be "wikified":

  • Create bullets (*) and numbered lists (#).
  • Insert lines (----).
  • Force line breaks (<br>).
  • Use italics (''italics'') and bold face ('''bf'''). (The Header will automatically be in bold face.)
  • Etc.

3. Once you've created your template, you can stick in other pages by using the "normal" code for calling up saved templates:

{{NameOfTemplate}} or {{Template:NameOfTemplate}})

Example # 1

This is the most common form of templates on the Tub (so far).


Template Page: http://plastictub.vaporslave.com/index.php/Template:Comics

Code on Template Page How To Display the Template Appearance

{{Sidebar | Associational Strips and Related Sequentialism |
* [[Balloonjaw]]
* [[Choco]]
* [[Lil' AA]]
* [[The Sunday Painters]]
}}

{{Template:Comics}}

Or

{{Comics}}

Associational Strips and Related Sequentialism

Example # 2

This example shows how to modify the Header.


Template Page: http://plastictub.vaporslave.com/index.php/Template:Augury

Code on Template Page How To Display the Template Appearance

{{Sidebar | '''[[Augury]]'''<br>''Removing the Accident'' |
* [[Ear Divining]]
* [[Geloscopy]]
* [[Geomachy]]
* [[Sacrifice]]
* [[Titor'd]]
* [[Zodiac]]
}}

{{Template:Augury}}

Or

{{Augury}}

Augury
Removing the Accident

Example # 3

This example shows how to place some extra information below a line on the bottom of the template.


Template Page: http://plastictub.vaporslave.com/index.php/Template:Places

Code on Template Page How To Display the Template Appearance

{{Sidebar | Notable Locations and Geomantic Loci |
* [[Lambda Land of Gar|Garland, Texas]]
* [[New Mexico]]
* [[New York City]]
* [[Minneapolis]]
* [[Tampa]]
* [[Toulouse]]
* [[TerraWee]]
* [[San Luis Potosi]]
* [[Wee-Wee]]
----
* [[Geomachy|Geomancy]]
}}

{{Template:Places}}

Or

{{Places}}

Notable Locations and Geomantic Loci


Example # 4

These generic examples may be helpful if you're feeling confused.


Here are a couple generic examples. Several specific examples from the tub are below.

General Code General Display Wikified Code Wikified Display

{{Sidebar | Your Header Goes Here|
Your Text Goes Here
}}

Your Header Goes Here

Your Text Goes Here


{{Sidebar | Your Header<br>Goes Here |
* First Bullet
* Second Bullet
* Third Bullet
----
More information
}}

Your Header
Goes Here

  • First Bullet
  • Second Bullet
  • Third Bullet

More Information

Notes


  • For those who care, these directions utilize 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.
  • The directions above explain how to make and save a template that will be used on multiple pages. If you want to create a template that will just be used on one page (e.g., you want to stick a bio chart onto a personage page), just put the template code (from the examples above) directly onto the page.