Difference between revisions of "Template:Help:Templates"
sc4e>JoeST |
sc4e>JoeST m (added sections and stuck in some helpy info) |
||
Line 1: | Line 1: | ||
A list of templates and reasons why you would use them, including appropriate locations, etc... | A list of templates and reasons why you would use them, including appropriate locations, etc... | ||
[[Category:Help]] | [[Category:Help]] | ||
+ | ==How to Use a Template== | ||
+ | To use a template in a document just include the code in the ''What you type'' column in the tables below. Or use the info under the Syntax heading on the template page itself. Remember to fill in all the parameters associated with the template, or it wont display properly. | ||
− | + | For example, to include the Language template (on a page with Dutch, French and Japanese translations): | |
− | <pre>{| | + | <pre>{{Languages|nl|fr|ja}}</pre> will look like this: |
− | + | {{Languages|nl|fr|ja}} | |
− | |||
− | |||
− | |||
− | |||
− | |}</pre> | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
− | ==Userpage Templates== | + | ==Curent Templates== |
+ | here is a list of current templates in sections of their useage | ||
+ | ===Userpage Templates=== | ||
*Infobox user: See [[#Infobox Templates]] | *Infobox user: See [[#Infobox Templates]] | ||
{| border="1" cellspacing="0" cellpadding="5" | {| border="1" cellspacing="0" cellpadding="5" | ||
Line 40: | Line 28: | ||
|} | |} | ||
− | ==Infobox Templates== | + | ===Infobox Templates=== |
{| border="1" cellspacing="0" cellpadding="5" | {| border="1" cellspacing="0" cellpadding="5" | ||
! style="background:#A0C0F0;"| Template Name | ! style="background:#A0C0F0;"| Template Name | ||
Line 94: | Line 82: | ||
|} | |} | ||
− | ==Request/Marking Templates== | + | ===Request/Marking Templates=== |
{{main|Help:Marking Articles}} | {{main|Help:Marking Articles}} | ||
*Check | *Check | ||
Line 105: | Line 93: | ||
*Wikify | *Wikify | ||
− | ==Language Templates== | + | ===Language Templates=== |
*Languages | *Languages | ||
*Languages/Lang | *Languages/Lang | ||
Line 130: | Line 118: | ||
| *'''lang''' (nultiple, optional) - the 2 character code of the language that there is a page for | | *'''lang''' (nultiple, optional) - the 2 character code of the language that there is a page for | ||
|} | |} | ||
− | ==Other Templates== | + | ===Other Templates=== |
*Download | *Download | ||
*Main | *Main | ||
+ | ==How to Make a Template== |
Revision as of 06:54, 30 July 2008
A list of templates and reasons why you would use them, including appropriate locations, etc...
Contents
How to Use a Template
To use a template in a document just include the code in the What you type column in the tables below. Or use the info under the Syntax heading on the template page itself. Remember to fill in all the parameters associated with the template, or it wont display properly.
For example, to include the Language template (on a page with Dutch, French and Japanese translations):
{{Languages|nl|fr|ja}}
will look like this:
Languages: |
English • Dutch (Nederlands) • French (français) • Japanese (日本語)
|
Curent Templates
here is a list of current templates in sections of their useage
Userpage Templates
- Infobox user: See #Infobox Templates
Template Name | What you type | What you see | Variables |
---|---|---|---|
SiteProfile | {{SiteProfile| site = | id = | name = }} |
Include wiki code here |
|
Infobox Templates
Template Name | What you type | What you see | Variables |
---|---|---|---|
Infobox TGI | {{Infobox TGI| name = | format =| type =| group =| instance =| comments = }} |
Include wiki code here |
|
Infobox file | {{infobox lot|type =|image1 =|image2 =|desc =|credits =|support =|download-site =|download-id =}} |
Include wiki code here |
Currently redirects to Template:Infobox lot |
Infobox grow | {{infobox grow|download-site =|download-id =|image1 =|image2 =|desc =|credits =|support =|size =|style =|type =|stage =|occupants =|worth =|bulldoze-cost =|construction-time =|fire =|power =|water =|air-mag =|air-spr =|water-mag =|water-spr =|garbage-mag =|garbage-spr =|depend =}} |
Include wiki code here |
[[See Template:Infobox_grow#Syntax for details |
Infobox lot | {{infobox lot|type =|image1 =|image2 =|desc =|credits =|support =|download-site =|download-id =}} |
Include wiki code here |
|
Infobox plop | {{infobox plop|download-site =|download-id =|image1 =|image2 =|desc =|credits =|support =|size =|menu =|jobs =|plop-cost =|monthly-cost =|bulldoze-cost |park-mag =|park-spr =|landmark-mag =|landmark-spr =|fire =|power =|water =|air-mag =|air-spr =|water-mag =|water-spr =|garbage-mag =|garbage-spr =|depend =}} |
Include wiki code here |
[[See Template:Infobox_plop#Syntax for details |
Request/Marking Templates
- Check
- Cleanup
- Complete
- Expand
- Inappropriate tone
- Remove
- Rename
- Wikify
Language Templates
- Languages
- Languages/Lang
Template Name | What you type | What you see | Variables | |||
---|---|---|---|---|---|---|
Language Bar | {{languages|lang|lang|lang}} |
|
*lang (nultiple, optional) - the 2 character code of the language that there is a page for |
Other Templates
- Download
- Main