Help/HowToMakeTemplates
From Plastic Tub
Revision as of 05:12, 2 Nov 2005 Payne (Talk | contribs) ← Go to previous diff |
Revision as of 14:50, 2 Nov 2005 Payne (Talk | contribs) 1 more ex. & clean up typos Go to next diff → |
||
Line 20: | Line 20: | ||
---- | ---- | ||
Template Page: http://plastictub.vaporslave.com/index.php/Template:Comics | Template Page: http://plastictub.vaporslave.com/index.php/Template:Comics | ||
- | {| border="1" cellpadding="2" cellspacing="0" | + | {| border="1" cellpadding="8" cellspacing="0" |
|- | |- | ||
! Code on Template Page | ! Code on Template Page | ||
Line 33: | Line 33: | ||
<nowiki>* [[The Sunday Painters]]</nowiki><br> | <nowiki>* [[The Sunday Painters]]</nowiki><br> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
- | }} | ||
| | | | ||
<nowiki>{{Template:Comics}}</nowiki><br><br> | <nowiki>{{Template:Comics}}</nowiki><br><br> | ||
Line 46: | Line 45: | ||
---- | ---- | ||
Template Page: http://plastictub.vaporslave.com/index.php/Template:Augury | Template Page: http://plastictub.vaporslave.com/index.php/Template:Augury | ||
- | {| border="1" cellpadding="2" cellspacing="0" | + | {| border="1" cellpadding="8" cellspacing="0" |
|- | |- | ||
! Code on Template Page | ! Code on Template Page | ||
Line 60: | Line 59: | ||
<nowiki>* [[Titor'd]]</nowiki><br> | <nowiki>* [[Titor'd]]</nowiki><br> | ||
<nowiki>* [[Zodiac]]</nowiki><br> | <nowiki>* [[Zodiac]]</nowiki><br> | ||
- | }} | + | <nowiki>}}</nowiki> |
| | | | ||
<nowiki>{{Template:Augury}}</nowiki><br><br> | <nowiki>{{Template:Augury}}</nowiki><br><br> | ||
Line 67: | Line 66: | ||
| | | | ||
{{Augury}} | {{Augury}} | ||
+ | |} | ||
+ | |||
+ | == Example # 3 == | ||
+ | |||
+ | ---- | ||
+ | Template Page: http://plastictub.vaporslave.com/index.php/Template:Places | ||
+ | {| border="1" cellpadding="8" cellspacing="0" | ||
+ | |- | ||
+ | ! Code on Template Page | ||
+ | ! How To Display the Template | ||
+ | ! Appearance | ||
+ | |- valign="top" | ||
+ | | | ||
+ | <nowiki>{{Sidebar | Notable Locations and Geomantic Loci |</nowiki><br> | ||
+ | <nowiki>* [[Lambda Land of Gar|Garland, Texas]]</nowiki><br> | ||
+ | <nowiki>* [[New Mexico]]</nowiki><br> | ||
+ | <nowiki>* [[New York City]]</nowiki><br> | ||
+ | <nowiki>* [[Minneapolis]]</nowiki><br> | ||
+ | <nowiki>* [[Tampa]]</nowiki><br> | ||
+ | <nowiki>* [[Toulouse]]</nowiki><br> | ||
+ | <nowiki>* [[TerraWee]]</nowiki><br> | ||
+ | <nowiki>* [[San Luis Potosi]]</nowiki><br> | ||
+ | <nowiki>* [[Wee-Wee]]</nowiki><br> | ||
+ | <nowiki>----</nowiki><br> | ||
+ | <nowiki>* [[Geomachy|Geomancy]]</nowiki><br> | ||
+ | <nowiki>}}</nowiki> | ||
+ | | | ||
+ | <nowiki>{{Template:Places}}</nowiki><br><br> | ||
+ | Or<br><br> | ||
+ | <nowiki>{{Places}}</nowiki> | ||
+ | | | ||
+ | {{Places}} | ||
|} | |} | ||
Revision as of 14:50, 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).
How To
1. Go to the page where your template will be saved (i.e., http://plastictub.vaporslave.com/index.php/Template:NameOfTemplate).
2. Paste in some code from one of the examples below. Alter your Header, text, bullet points, etc.
3. Once you've created your template, you can stick in other pages (i.e., add the code{{NameOfTemplate}} or {{Template:NameOfTemplate}}).
Here are some examples:
Example # 1
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 | |
{{Template:Comics}} |
|
Example # 2
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'' | |
{{Template:Augury}} |
|
Example # 3
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 | |
{{Template:Places}} |
|
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.