Difference between revisions of "Help:Templates"
Jump to navigation
Jump to search
sc4e>Freedo50 |
sc4e>Freedo50 |
||
Line 41: | Line 41: | ||
| [[Template:infobox TGI|Infobox TGI]] | | [[Template:infobox TGI|Infobox TGI]] | ||
| <nowiki>{{Infobox TGI| name = | format =| type =| group =| instance =| comments = }}</nowiki> | | <nowiki>{{Infobox TGI| name = | format =| type =| group =| instance =| comments = }}</nowiki> | ||
− | | See [[Template:Infobox_TGI# | + | | See [[Template:Infobox_TGI#Example| the template description]] for details |
| | | | ||
*'''name''' - The name of the TGI. | *'''name''' - The name of the TGI. | ||
Line 52: | Line 52: | ||
| [[Template:infobox lot|Infobox lot]] | | [[Template:infobox lot|Infobox lot]] | ||
| <nowiki>{{infobox lot|type =|image1 =|image2 =|desc =|credits =|support =|download-site =|download-id =}}</nowiki> | | <nowiki>{{infobox lot|type =|image1 =|image2 =|desc =|credits =|support =|download-site =|download-id =}}</nowiki> | ||
− | | See [[Template:Infobox_lot# | + | | See [[Template:Infobox_lot#Example| the template description]] for details |
| | | | ||
*'''type''' - the type of lot it is (either plop or grow). | *'''type''' - the type of lot it is (either plop or grow). | ||
Line 65: | Line 65: | ||
| [[Template:infobox grow|Infobox grow]] | | [[Template:infobox grow|Infobox grow]] | ||
| <nowiki>{{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 =}}</nowiki> | | <nowiki>{{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 =}}</nowiki> | ||
− | | See [[Template:Infobox_grow# | + | | See [[Template:Infobox_grow#Example| the template description]] for details |
| See [[Template:Infobox_grow#Syntax]] for details | | See [[Template:Infobox_grow#Syntax]] for details | ||
|- | |- | ||
| [[Template:infobox plop|Infobox plop]] | | [[Template:infobox plop|Infobox plop]] | ||
| <nowiki>{{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 =}}</nowiki> | | <nowiki>{{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 =}}</nowiki> | ||
− | | See [[Template:Infobox_plop# | + | | See [[Template:Infobox_plop#Example| the template description]] for details |
| See [[Template:Infobox_plop#Syntax]] for details | | See [[Template:Infobox_plop#Syntax]] for details | ||
|} | |} |
Revision as of 07:53, 31 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
♠
Template Name | What you type | What you see | Variables | ||
---|---|---|---|---|---|
SiteProfile | {{SiteProfile| site = | id = | name = }} | Include wiki code here |
| ||
Userbox | {{Userbox| site = | id = | name = }} |
|
For details of the userbox syntax, see the template decription page. |
Infobox Templates
Template Name | What you type | What you see | Variables |
---|---|---|---|
Infobox TGI | {{Infobox TGI| name = | format =| type =| group =| instance =| comments = }} | See the template description for details |
|
Infobox lot | {{infobox lot|type =|image1 =|image2 =|desc =|credits =|support =|download-site =|download-id =}} | See the template description for details |
|
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 =}} | See the template description for details | See Template:Infobox_grow#Syntax for details |
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 =}} | See the template description for details | See Template:Infobox_plop#Syntax for details |
Request/Marking Templates
Main article: Help:Marking Articles
- 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